Template:Country label/N: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 154: Line 154:
|Republic of Artsakh={{#switch:{{{parameter|}}}|art=the|cont1=Asia|cont2=Europe|flag=Flag of Artsakh.svg|present1=Azerbaijan|sort=Artsakh|status=former|type=country}}
|Republic of Artsakh={{#switch:{{{parameter|}}}|art=the|cont1=Asia|cont2=Europe|flag=Flag of Artsakh.svg|present1=Azerbaijan|sort=Artsakh|status=former|type=country}}
|Republic of China={{Country label/T|country=Taiwan|parameter={{{parameter|}}}}}
|Republic of China={{Country label/T|country=Taiwan|parameter={{{parameter|}}}}}
|Republic of China (1912–1949)={{#switch:{{{parameter|}}}|art=the|cat=Republic of China (1912–1949)|cont1=Asia|flag=Flag of the Republic of China.svg|present1=China|sort=China|status=former|type=country}}
|Republic of China (1912–1949)={{#switch:{{{parameter|}}}|art=the|cat=Republic of China (1912–1949)|cont1=Asia|flag=Flags of the Republic of China.svg|present1=China|sort=China|status=former|type=country}}
|Republic of Crimea={{#switch:{{{parameter|}}}|art=the|partof=Russia|partofindex=federal subject|status=current|sort=Crimea|type=constituent}}
|Republic of Crimea={{#switch:{{{parameter|}}}|art=the|partof=Russia|partofindex=federal subject|status=current|sort=Crimea|type=constituent}}
|Republic of Geneva={{#switch:{{{parameter|}}}|art=the|cont1=Europe|sort=Geneva|status=former|type=country}}
|Republic of Geneva={{#switch:{{{parameter|}}}|art=the|cont1=Europe|sort=Geneva|status=former|type=country}}

Revision as of 05:11, 12 June 2024

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Country label/doc.

return standard naming elements to use in Commons category names

Usage

{{Country label/N |country= |parameter= |default= }}

Template parameters

ParameterDescriptionDefaultStatus
country
1
name of the country (must be recognized)emptyrequired
parameter
2
name of the parameter to returnemptyrequired
default
3
value to be returned if no match is found for countryemptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: no user group specified

Placement:

inline