Template:Gen: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Added green N's for neutral.)
(Changed N's to be yellow instead of green, since that's what the games use.)
 
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:green;">N</span> | {{#ifeq: {{{1}}} | n | <span style="color:green;">N</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, <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.
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}}, {{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>

Latest revision as of 01: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.