Editing Template:Gen
From Medapedia
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{#ifeq: {{{1}}} | M | <span style="color:blue;">M</span> | {{#ifeq: {{{1}}} | m | <span style="color:blue;">M</span> | {{#ifeq: {{{1}}} | F | <span style="color:crimson;">F</span> | {{#ifeq: {{{1}}} | f | <span style="color:crimson;">F</span> | {{#ifeq: {{{1}}} | N | <span style="color: | {{#ifeq: {{{1}}} | M | <span style="color:blue;">M</span> | {{#ifeq: {{{1}}} | m | <span style="color:blue;">M</span> | {{#ifeq: {{{1}}} | F | <span style="color:crimson;">F</span> | {{#ifeq: {{{1}}} | f | <span style="color:crimson;">F</span> | {{#ifeq: {{{1}}} | N | <span style="color:green;">N</span> | {{#ifeq: {{{1}}} | n | <span style="color:green;">N</span> | }} }} }} }} }} }} <noinclude> | ||
== Description == | == Description == | ||
This template is a shortcut for the colored <span style="color:blue;">M</span>'s, <span style="color:crimson;">F</span>'s and <span style="color: | This template is a shortcut for the colored <span style="color:blue;">M</span>'s, <span style="color:crimson;">F</span>'s and <span style="color:green;">N</span>'s used for marking male, female, and neutral Medarots in templates and lists. | ||
To use it, simply type <nowiki>{{gen|M}}, {{gen|F}}, or {{gen|N}}</nowiki>. If you give it something besides an M, N, or F it won't show anything. | To use it, simply type <nowiki>{{gen|M}}, {{gen|F}}, or {{gen|N}}</nowiki>. If you give it something besides an M, N, or F it won't show anything. | ||
[[Category:Shortcut templates]]</noinclude> | [[Category:Shortcut templates]]</noinclude> |