Template:Nationality: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
No edit summary
Line 87: Line 87:
# 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==
<pre>
*{{Nationality|GBR}}
*{{Nationality|CHE}}
*{{Nationality|SCT}}
*{{Nationality}}
*{{Nationality|USA}}
</pre>
*{{Nationality|GBR}}
*{{Nationality|CHE}}
*{{Nationality|SCT}}
*{{Nationality}}
*{{Nationality|USA}}
[[Category:Flags]]
[[Category:Flags]]
[[Category:Flags]]
</noinclude>
</noinclude>

Revision as of 02:11, 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 "No Nationality".

Examples

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