Difference between revisions of "Template:Globalize/name"

From blackwiki
Jump to navigation Jump to search
imported>Trialpears
(Added docs)
imported>Trialpears
(Remove whitespace)
Line 22: Line 22:
 
|ca=Canada
 
|ca=Canada
 
|germany
 
|germany
german
+
|german
 
|de=Germany
 
|de=Germany
 
|hong kong=Hong Kong
 
|hong kong=Hong Kong
Line 76: Line 76:
 
|the north
 
|the north
 
|the northern hemisphere=Northern
 
|the northern hemisphere=Northern
|{{{1|}}} <!--If name is not on list return the original-->}}|}}
+
|{{{1|}}} <!--If name is not on list return the original-->}}|}}{{#ifeq: {{{2|name}}}|name||
 
 
{{#ifeq: {{{2|name}}}|name||
 
 
{{#switch: {{{1|}}}<!--Add countries with different display names and category names here -->
 
{{#switch: {{{1|}}}<!--Add countries with different display names and category names here -->
 
|USA=the United States
 
|USA=the United States

Revision as of 19:55, 6 September 2019

Template documentation

This sub-template is intended to simplify the code of the main template by moving the alternative name logic.