Template:Nation: Difference between revisions
mNo edit summary |
(Add documentation.) |
||
Line 35: | Line 35: | ||
{{#if:{{{footnotes|}}}|<div style="text-align:center;"><strong>Footnotes</strong><br />{{{footnotes}}}</div>}} | {{#if:{{{footnotes|}}}|<div style="text-align:center;"><strong>Footnotes</strong><br />{{{footnotes}}}</div>}} | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "The common name of the nation. For 'The United Kingdom of Great Britain and Ireland', this might be 'The UK' or 'The United Kingdom'.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"long_name": { | |||
"description": "The full name of the nation. For the UK, this might be 'The United Kingdom of Great Britain and Ireland'.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"description": "Usually a map indicating the location of the nation. Use the name of the image, not the full File link.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"description": "A caption for the map.", | |||
"type": "string" | |||
}, | |||
"national_motto": { | |||
"label": "Motto", | |||
"description": "The nation's motto, if it has one. If this is in a local language, please also provide an English translation.", | |||
"type": "string" | |||
}, | |||
"national_anthem": { | |||
"label": "Anthem", | |||
"description": "The name of the nation's anthem, if it has one.", | |||
"type": "string" | |||
}, | |||
"flag": { | |||
"label": "Symbol", | |||
"description": "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", | |||
"type": "string" | |||
}, | |||
"capital": {}, | |||
"official_languages": { | |||
"label": "Language(s)", | |||
"description": "The official language or languages of this nation. If a page exists for the language, consider linking to it.", | |||
"type": "string" | |||
}, | |||
"ethnic_groups": { | |||
"label": "Ethnic groups", | |||
"description": "Races present in this nation, in order of population density. You may include approximate percentages.", | |||
"type": "string" | |||
}, | |||
"government_type": { | |||
"label": "Government", | |||
"description": "The type of government this nation has. For example: Monarchy, Republic, Oligarchy, etc.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"population": { | |||
"label": "Population", | |||
"description": "The approximate population of the nation", | |||
"type": "number" | |||
}, | |||
"currency": { | |||
"label": "Currency", | |||
"description": "The name of and possibly symbol for the currency used in this nation.", | |||
"type": "string" | |||
}, | |||
"footnotes": { | |||
"label": "Footnotes", | |||
"description": "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.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 03:02, 17 June 2015
No description.
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 | no description | Unknown | 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 |