Template:Gen: Difference between revisions

From Medapedia
Jump to navigationJump to search
m (How'd that get in there.)
(Added green N's for neutral.)
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> | }} }} }} }} <noinclude>
{{#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 and <span style="color:crimson;">F</span>'s used for marking male and female Medarots in templates.
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}} or {{gen|F}}</nowiki>. If you give it something besides an M 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>

Revision as of 18:52, 21 September 2012

Description

This template is a shortcut for the colored M's, F's and N's used for marking male, female, and neutral Medarots in templates and lists.

To use it, simply type {{gen|M}}, {{gen|F}}, or {{gen|N}}. If you give it something besides an M, N, or F it won't show anything.