Template:Nation: Difference between revisions
(Simplification of the default values for most parameters.) Tag: Reverted |
Tag: Rollback |
||
Line 2: | Line 2: | ||
<includeonly>{{Infobox/begin}} |
<includeonly>{{Infobox/begin}} |
||
− | {{Infobox/Header|title={{{ |
+ | {{Infobox/Header|title={{#if:{{{full_name|}}}|{{{full_name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{localized_name|}}}|{{{localized_name|}}}|}}}} |
{{Infobox/Illustration|file={{#if:{{{flag|}}}|[[File:{{{flag}}}]]|}}|caption={{{flagdesc|}}}}} |
{{Infobox/Illustration|file={{#if:{{{flag|}}}|[[File:{{{flag}}}]]|}}|caption={{{flagdesc|}}}}} |
||
{{Infobox/Item|key=Motto|value={{{motto|}}}}} |
{{Infobox/Item|key=Motto|value={{{motto|}}}}} |
||
Line 15: | Line 15: | ||
{{Infobox/Item|key=Government|value={{{government|}}}}} |
{{Infobox/Item|key=Government|value={{{government|}}}}} |
||
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
||
− | {{Infobox/Item|key={{{leader_title| |
+ | {{Infobox/Item|key={{#if:={{{leader_title|}}}|{{{leader_title|}}}|Leader}}|value={{{leader|}}}}} |
{{Infobox/Item|key=Preceded by|value={{{predecessor|}}}}} |
{{Infobox/Item|key=Preceded by|value={{{predecessor|}}}}} |
||
{{Infobox/Item|key=Followed by|value={{{successor|}}}}} |
{{Infobox/Item|key=Followed by|value={{{successor|}}}}} |
||
Line 143: | Line 143: | ||
"type": "string", |
"type": "string", |
||
"default": "Prime Minister", |
"default": "Prime Minister", |
||
− | "autovalue": "Prime Minister" |
+ | "autovalue": "Prime Minister" |
− | "deprecated": "Removed" |
||
}, |
}, |
||
"pm_name": { |
"pm_name": { |
||
Line 150: | Line 149: | ||
"description": "The secondary leader's (Prime Minister) name", |
"description": "The secondary leader's (Prime Minister) name", |
||
"type": "string", |
"type": "string", |
||
− | "autovalue": "" |
+ | "autovalue": "" |
− | "deprecated": "Removed" |
||
}, |
}, |
||
"predecessor": { |
"predecessor": { |
||
Line 195: | Line 193: | ||
"type": "date", |
"type": "date", |
||
"required": true |
"required": true |
||
− | } |
+ | } |
− | "subtitle": {} |
||
}, |
}, |
||
"description": "Infobox for Nations", |
"description": "Infobox for Nations", |
||
Line 224: | Line 221: | ||
"ethnicity", |
"ethnicity", |
||
"population", |
"population", |
||
− | "area" |
+ | "area" |
− | "subtitle" |
||
] |
] |
||
} |
} |
Revision as of 12:17, 8 February 2023
Nation
|
|||||
---|---|---|---|---|---|
Politics | |||||
Capital | {{{capital}}} | ||||
Foundation | {{{foundation}}} | ||||
Demography |
[full_name]
[localized_name]
|
|||||
---|---|---|---|---|---|
[flagdesc] | |||||
Motto | "[motto]" | ||||
Common Name | Nation | ||||
Anthem | [anthem] | ||||
[mapdesc] | |||||
Denonym | [word used in reference to populace] | ||||
Official languages | [languages spoken] | ||||
Currency | [currency] | ||||
Politics | |||||
Capital | [capital city] | ||||
Government | [government_type] | ||||
Foundation | [foundation(year)] | ||||
[leader_title] | [leader] | ||||
Preceded by | [predecessor] | ||||
Followed by | [successor] | ||||
Demography | |||||
Ethnicities | [ethnicity %] | ||||
Population | [population] | ||||
Area | [area] km² |
Infobox for Nations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Nation name | nation | no description
| String | required |
Localized name | localized_name | The nation's name in its main language | String | suggested |
Flag | flag | no description | File | required |
Flag description | flagdesc | A short description of the flag's features | String | suggested |
Motto | motto | The nation's motto, if any | String | suggested |
Full name | full_name | The full version of the nation's name | String | required |
Anthem | anthem | The nation's current anthem, if any | String | suggested |
Map | map | A map of the nation with its main features | File | required |
Map description | mapdesc | An optional commentary about the map | String | suggested |
Denonym | denonym | The qualificative used to refer to inhabitants of this nation | String | optional |
Official languages | languages | Languages spoken in the nation | String | required |
National Currency | currency | Name of the currency used in the nation | String | required |
Capital City | capital | The Nations seat(s) of government | String | optional |
Government | government | The current type of government in place | String | required |
Foundation | foundation | When the nation was founded | Date | required |
Leader title | leader_title | The title used for the nation's leader (eg, President)
| String | optional |
Leader | leader | The current leader in place
| String | optional |
Secondary leader title | pm_title | The nation's secondary leader's title, eg, Prime Minister
| String | optional |
Secondary leader's name | pm_name | The secondary leader's (Prime Minister) name
| String | optional |
Predecessor | predecessor | The nation(s) which preceded the current one, either by inheritance or by area. | String | optional |
Successor | successor | The nation(s) which succeeded to this one, if any. | Unknown | optional |
Ethnicity | ethnicity | The main ethnicities represented in the nation's population | String | required |
Population | population | The current population figure | Number | required |
Area | area | The area of all territorial possessions owned by the nation | Number | optional |