Template:Nationality: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Neoheart
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:
|COL=Colombian
|COL=Colombian
|CRI=Costa Rican
|CRI=Costa Rican
|CYP=Cypriot
|CZE=Czech
|CZE=Czech
|DEU=German
|DEU=German
Line 32: Line 33:
|GRC=Greek
|GRC=Greek
|GTM=Guatemalan
|GTM=Guatemalan
|HKG=Hongkonger
|HKG=Hongkongese
|HND=Honduran
|HND=Honduran
|HRV=Croatian
|HRV=Croatian
Line 43: Line 44:
|JPN=Japanese
|JPN=Japanese
|KOR=South Korean
|KOR=South Korean
|LBN=Lebanese
|LTU=Lithuanian
|LTU=Lithuanian
|LUX=Luxembourger
|LUX=Luxembourgian
|LVA=Latvian
|LVA=Latvian
|MAC=Macanese
|MAC=Macanese
Line 53: Line 55:
|NLD=Dutch
|NLD=Dutch
|NOR=Norwegian
|NOR=Norwegian
|NZL=New Zealander
|NZL=New Zealandic
|PAN=Panamanian
|PAN=Panamanian
|PER=Peruvian
|PER=Peruvian
Line 77: Line 79:
|VEN=Venezuelan
|VEN=Venezuelan
|VNM=Vietnamese
|VNM=Vietnamese
|XXX=No Nationality
|ZAF=South African
|ZAF=South African
|NONATION=No Nationality
|NONATION=No Nationality
|#default=[[Category:Unknown Country Code]]
|#default=[[Category:Unknown country code]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template returns the [[wikipedia:demonym|demonym]] associated with the three letter code, or flags it as "Unknown Country Code" if the 3-letter code is not known.
This template returns the country adjective associated with the three-letter code, or flags it as "unknown country code" if the 3-letter code is not known.


==Parameter==
==Parameter==
This template has one unnamed paramter:
This template has one unnamed parameter:
# The three [[wikipedia:ISO 3166-1 alpha-3|ISO letter country code]] of the respective nation. Additionally the four [[wikipedia:ISO 3166-2:GB|UK subdivision codes]] are allowed, and the leading "GB-" may be omitted. Can also left blank to display "No Nationality".
# The three [[wikipedia:ISO 3166-1 alpha-3|ISO letter country code]] of the respective nation. Additionally, the four [[wikipedia:ISO 3166-2:GB|UK subdivision codes]] are allowed, and the leading "GB-" may be omitted. Can also left blank to display "No Nationality".


==Examples==
==Examples==
Line 101: Line 104:
*{{Nationality}}  
*{{Nationality}}  
*{{Nationality|USA}}  
*{{Nationality|USA}}  
[[Category:Flags]]
 
[[Category:Flags]]
[[Category:Flags]]
</noinclude>
</noinclude>

Latest revision as of 13:27, 1 July 2024

This template returns the country adjective associated with the three-letter code, or flags it as "unknown country code" if the 3-letter code is not known.

Parameter

This template has one unnamed parameter:

  1. The three ISO letter country code of the respective nation. Additionally, the four UK subdivision codes are allowed, and the leading "GB-" may be omitted. Can also left blank to display "No Nationality".

Examples

*{{Nationality|GBR}}
*{{Nationality|CHE}}
*{{Nationality|SCT}}
*{{Nationality}} 
*{{Nationality|USA}}
  • British
  • Swiss
  • Scottish
  • No Nationality
  • American