From WikiTemp, the GBAtemp wiki
(Template to translate region code to flag icon)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{region|CHN}}}}}
+
{{#switch:{{lc:{{{1}}}}}
 
|jap=<span style="display:none">Japan</span><span title="Japan">[[File:Flag of Japan.png|21px|alt=JAP|link=|Japan]]</span>
 
|jap=<span style="display:none">Japan</span><span title="Japan">[[File:Flag of Japan.png|21px|alt=JAP|link=|Japan]]</span>
 
|usa=<span style="display:none">USA</span><span title="USA">[[File:Flag of USA.png|21px|alt=USA|link=|USA]]</span>
 
|usa=<span style="display:none">USA</span><span title="USA">[[File:Flag of USA.png|21px|alt=USA|link=|USA]]</span>
Line 10: Line 10:
 
|chn=<span style="display:none">China</span><span title="China">[[File:Flag of China.png|21px|alt=CHN|link=|China]]</span>
 
|chn=<span style="display:none">China</span><span title="China">[[File:Flag of China.png|21px|alt=CHN|link=|China]]</span>
 
|{{{region}}}
 
|{{{region}}}
}}
+
}}<noinclude>
 +
 
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 16:19, 15 June 2019

{{{region}}}

↑ Template Documentation ↓ [EditReload]

This template translates a region code to the corresponding flag.

Currently supported:

Region Code Flag
Japan JAP JapanJAP
United States of America USA USAUSA
Europe EUR EuropeEUR
Germany GER GermanyGER
France FRN FranceFRN
Spain SPN SpainSPN
Italy ITL Italyitl
Netherlands DUT NetherlandsDUT
China CHN ChinaCHN


The above documentation was Transcluded from the /doc subpage