Template:Country label/N: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary Tag: Reverted |
||
Line 26: | Line 26: | ||
|New York (state)={{#switch:{{{parameter|}}}|cont1=North America|locmap=New York in United States.svg|partof=United States|partofindex=state|status=current|type=constituent}} |
|New York (state)={{#switch:{{{parameter|}}}|cont1=North America|locmap=New York in United States.svg|partof=United States|partofindex=state|status=current|type=constituent}} |
||
|New York City={{#switch:{{{parameter|}}}|cont1=North America|country=United States|countryflag=New York (state)|partof=New York (state)|partofindex=city|status=current|type=city|subtype=city}} |
|New York City={{#switch:{{{parameter|}}}|cont1=North America|country=United States|countryflag=New York (state)|partof=New York (state)|partofindex=city|status=current|type=city|subtype=city}} |
||
|New York metropolitan area={{#switch:{{{parameter|}}}|art=the|cont1=North America|country=United States|partof=New York (state)|partofindex=region|partof2=New Jersey|partof2index=region|partof3=Connecticut|partof3index=region|partof4=Pennsylvania|partof4index=region|status=current|type |
|New York metropolitan area={{#switch:{{{parameter|}}}|art=the|cont1=North America|country=United States|partof=New York (state)|partofindex=region|partof2=New Jersey|partof2index=region|partof3=Connecticut|partof3index=region|partof4=Pennsylvania|partof4index=region|status=current|type=metro}} |
||
|New Zealand={{#switch:{{{parameter|}}}|cat=New Zealand|cont1=Oceania|region1=Australasia|region2=Polynesia|region3=Insular Oceania|status=current|type=country}} |
|New Zealand={{#switch:{{{parameter|}}}|cat=New Zealand|cont1=Oceania|region1=Australasia|region2=Polynesia|region3=Insular Oceania|status=current|type=country}} |
||
|Newfoundland and Labrador={{#switch:{{{parameter|}}}|cont1=North America|partof=Canada|partofindex=province|status=current|type=constituent}} |
|Newfoundland and Labrador={{#switch:{{{parameter|}}}|cont1=North America|partof=Canada|partofindex=province|status=current|type=constituent}} |
Revision as of 04:42, 18 June 2024
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
country 1 | name of the country (must be recognized) | empty | required | |
parameter 2 | name of the parameter to return | empty | required | |
default 3 | value to be returned if no match is found for country | empty | optional |
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