Template:Gen: Difference between revisions

From Medapedia
Jump to navigationJump to search
(New)
 
(No bold)
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:red;">'''F'''</span> | {{#ifeq: {{{1}}} | f | <span style="color:red;">'''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:red;">F</span> | {{#ifeq: {{{1}}} | f | <span style="color:red;">F</span> | }} }} }} }} <noinclude>
== Description ==  
== Description ==  


This template is a shortcut for colored <span style="color:blue;">'''M'''</span>'s and <span style="color:red;">'''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 and <span style="color:red;">F</span>'s used for marking male and female Medarots in templates.


To use it, simply type <nowiki>{{gen|M}} or {{gen|F}}</nowiki>. If you give it something besides and M or F it won't show anything.
To use it, simply type <nowiki>{{gen|M}} or {{gen|F}}</nowiki>. If you give it something besides and M or F it won't show anything.


[[Category:Shortcut templates]]</noinclude>
[[Category:Shortcut templates]]</noinclude>

Revision as of 15:06, 24 February 2012

Description

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

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