Template:Nation: Difference between revisions
(Add documentation.) |
mNo edit summary |
||
Line 12: | Line 12: | ||
|{{{national_anthem}}} | |{{{national_anthem}}} | ||
{{#if:{{{flag|}}}|{{!}}-}} | {{#if:{{{flag|}}}|{{!}}-}} | ||
|{{#if:{{{flag|}}}|<strong> | |{{#if:{{{flag|}}}|<strong>Symbol</strong>}} | ||
|{{#if:{{{flag|}}}|[[File:{{{flag}}}|220px|center}}]]}} | |{{#if:{{{flag|}}}|[[File:{{{flag}}}|220px|center}}]]}} | ||
|- | |- | ||
Line 74: | Line 74: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"capital": {}, | "capital": { | ||
"label": "Capital", | |||
"description": "The name of the capital of the nation. If this place has a Place page, link it.", | |||
"type": "string" | |||
}, | |||
"official_languages": { | "official_languages": { | ||
"label": "Language(s)", | "label": "Language(s)", | ||
Line 106: | Line 110: | ||
"type": "string" | "type": "string" | ||
} | } | ||
} | }, | ||
"description": "Use this template to describe nations. If you are looking to describe a non-nation place, try [[Template:Place]], instead." | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 03:19, 17 June 2015
Use this template to describe nations. If you are looking to describe a non-nation place, try [[Template:Place]], instead.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The common name of the nation. For 'The United Kingdom of Great Britain and Ireland', this might be 'The UK' or 'The United Kingdom'. | String | required |
long_name | long_name | The full name of the nation. For the UK, this might be 'The United Kingdom of Great Britain and Ireland'. | String | suggested |
image | image | Usually a map indicating the location of the nation. Use the name of the image, not the full File link. | String | suggested |
caption | caption | A caption for the map. | String | optional |
Motto | national_motto | The nation's motto, if it has one. If this is in a local language, please also provide an English translation. | String | optional |
Anthem | national_anthem | The name of the nation's anthem, if it has one. | String | optional |
Symbol | flag | The flag or symbol of the nation. This should be an image filename. Do not include the entire File tag, just the name. Ex: party.jpg | String | optional |
Capital | capital | The name of the capital of the nation. If this place has a Place page, link it. | String | optional |
Language(s) | official_languages | The official language or languages of this nation. If a page exists for the language, consider linking to it. | String | optional |
Ethnic groups | ethnic_groups | Races present in this nation, in order of population density. You may include approximate percentages. | String | optional |
Government | government_type | The type of government this nation has. For example: Monarchy, Republic, Oligarchy, etc. | String | suggested |
Population | population | The approximate population of the nation | Number | optional |
Currency | currency | The name of and possibly symbol for the currency used in this nation. | String | optional |
Footnotes | footnotes | Further notes that may be of at-a-glance importance. Keep in mind this is a page for the nation, though, so don't load this box up with the entire article. | String | optional |