Template:Nationality: Difference between revisions
Jump to navigation
Jump to search
>Sene No edit summary |
>Neoheart No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 44: | Line 44: | ||
|JPN=Japanese | |JPN=Japanese | ||
|KOR=South Korean | |KOR=South Korean | ||
|LBN=Lebanese | |||
|LTU=Lithuanian | |LTU=Lithuanian | ||
|LUX=Luxembourgian | |LUX=Luxembourgian | ||
Line 78: | 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 | 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 | 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== |
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:
- 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