Difference between revisions of "Template:Rg"
Dinoguy1000 (talk | contribs) (add Oceanic English) |
(add an lc mode) |
||
Line 1: | Line 1: | ||
{{ | {{ | ||
− | #switch: {{lc: {{{1}}} }} | + | #if: {{{2|}}} |
− | + | | {{ lc: {{ln|{{{1}}}}} }} | |
− | + | | {{ | |
− | + | #switch: {{lc: {{{1}}} }} | |
− | + | | en | ew | english | worldwide english | worldwide = EN | |
− | + | | na | north american english | north american = NA | |
− | + | | e | eu | european english | european = EU | |
− | + | | a | at | au | australian english | australian = AU | |
− | + | | oc | oceanic english | oceanic = OC | |
− | + | | ae | asian-english | asian english = AE | |
− | + | | j | ja | jp | jap | japanese = JP | |
− | + | | ch | chinese = CH | |
− | + | | f | fr | french = FR | |
− | + | | d | de | german = DE | |
− | + | | c | fc | french-canadian | canadian = FC | |
− | + | | i | it | italian = IT | |
+ | | k | kr | korean = KR | ||
+ | | p | pt | portuguese = PT | ||
+ | | s | sp | spanish = SP | ||
+ | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:20, 23 August 2012
Usage
{{rg}} is a template which returns the standardized two-letter abbreviation for a given region of the card game. The input can be one of several variants of the abbreviation or full name; case is ignored. For instance, {{rg|ae}}
, {{rg|AE}}
, {{rg|Asian-english}}
, and {{rg|asian English}}
all give AE.