Template:Gen: Difference between revisions

From Medapedia
Jump to navigationJump to search
m (slight color change)
(Changed N's to be yellow instead of green, since that's what the games use.)
 
(2 intermediate revisions by the same user not shown)
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:goldenrod;">N</span> | {{#ifeq: {{{1}}} | n | <span style="color:goldenrod;">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. [[User:Kimbles]]
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:goldenrod;">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>

Latest revision as of 00:20, 16 March 2020

Description[edit]

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.