Difference between revisions of "Template:FlagNationality"

From MTG Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
==Parameter==
 
==Parameter==
 
This template has one unnamed paramter:
 
This template has one unnamed paramter:
# 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 whitespace in the size of a flag.
+
# 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 whitespace in the size of a flag and "No Nationality".
   
 
==Examples==
 
==Examples==

Revision as of 02:10, 17 August 2018

This template returns the 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:

  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 whitespace in the size of a flag and "No Nationality".

Examples

*{{FlagNationality|GBR}}
*{{FlagNationality|CHE}}
*{{FlagNationality|SCT}}
*{{FlagNationality}} 
*{{FlagNationality|USA}}