Difference between revisions of "Template:FlagNationality"
Line 1: | Line 1: | ||
<includeonly>{{flagicon|{{{1|NOFLAG}}}}} {{Nationality|{{{1|NONATION}}}}}</includeonly><noinclude> |
<includeonly>{{flagicon|{{{1|NOFLAG}}}}} {{Nationality|{{{1|NONATION}}}}}</includeonly><noinclude> |
||
− | This template returns the [[wikipedia:demonym|demonym]] associated with the three letter code, or flags it as " |
+ | This template returns the flag and [[wikipedia:demonym|demonym]] associated with the three letter code, or flags it as "unknown country code" if the 3-letter code is not known. |
==Parameter== |
==Parameter== |
Revision as of 02:33, 17 August 2018
This template returns the flag and demonym 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 paramter:
- 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 whitespace in the size of a flag and "No Nationality".
Examples
*{{FlagNationality|GBR}} *{{FlagNationality|CHE}} *{{FlagNationality|SCT}} *{{FlagNationality}} *{{FlagNationality|USA}}
- Template:Flagicon British
- Template:Flagicon Swiss
- Template:Flagicon Scottish
- Template:Flagicon No Nationality
- Template:Flagicon American