Difference between revisions of "Template:FlagNationality"

From MTG Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{flagicon|{{{1|NOFLAG}}}}} {{Nationality|{{{1|NONATION}}}}}</includeonly><noinclude>
+
<includeonly>{{flag|{{{1|NOFLAG}}}}} {{Nationality|{{{1|NONATION}}}}}</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 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==

Latest revision as of 14:04, 22 March 2019

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:

  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}}
  • {GBR} British
  • {CHE} Swiss
  • {GB-SCT} Scottish
  • {NOFLAG} No Nationality
  • {USA} American