Template:Nationality
From OpenMedia
[edit]
Documentation
Provides adjective form of region or country name in user's preferred language. Used for regions and present or historical countries not covered by {{CountryAdjective}} template.
Contents
Usage
{{Nationality|1=|2=|3=|lang=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | Nationality. Can be:
|
empty | required |
parameter #2 (2) | Gender. Possible values:
Languages not needing n or s options should default to m. |
m | required |
parameter #3 (3) | this parameter tells the template whether to use the indefinite article (a/an) at the beginning or not (set to any non-empty value to add an article) | empty | optional |
lang | language code (only needs to be provided if the language shall be fixed and independant from the user's preferences) | empty | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
{{CountryAdjective}}, {{NationAndOccupation}}
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx=Your translation" (xx being the code of your language)
Region names and historical nationalities
Nationality | Output |
---|---|
arab | Arab |
alexandrian | Alexandrian |
australasian | Australasian |
austro–hungarian | Austro-Hungarian |
bohemian | Bohemian |
byzantine | Byzantine |
catalan | Catalan |
northern netherlandish | Dutch |
english | English |
flemish | Flemish |
illyrian | Illyrian |
inuit | Inuit |
javanese | Javanese |
jewish | Jewish |
korean | Korean |
low german | Low German |
ottoman | Ottoman |
persian | Persian |
phoenician | Phoenician |
roman | Roman |
silesian | Silesian |
scottish | Scottish |
southern netherlandish | Southern Netherlandish |
soviet | Soviet |
tibetan | Tibetan |
transylvanian saxon | Transylvanian Saxon |
venetian | Venetian |
walloon | Walloon |
welsh | Welsh |
yugoslavian | Yugoslavian |
Examples
Code | Output | Notes |
---|---|---|
{{Nationality|US|m}} | American | Short notation - English output |
{{Nationality|French|female}} | Французская | Long notation - Russian output |
{{Nationality|French|female}} | Vlaams | Non-country name - Dutch output |