Template:Nation: Difference between revisions
No edit summary |
mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <templatestyles src="Nation/styles.css" /> |
||
+ | |||
<includeonly>{{Infobox/begin}} |
<includeonly>{{Infobox/begin}} |
||
{{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}} |
{{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}} |
||
− | {{Infobox/Illustration|file={{{flag}}}|caption={{{flagdesc|}}}}} |
+ | {{Infobox/Illustration|file=[[File:{{{flag}}}]]|caption={{{flagdesc|}}}}} |
{{Infobox/Item|key=Motto|value={{{motto|}}}}} |
{{Infobox/Item|key=Motto|value={{{motto|}}}}} |
||
{{Infobox/Item|key=Full name|value={{{full_name}}}}} |
{{Infobox/Item|key=Full name|value={{{full_name}}}}} |
||
{{Infobox/Item|key=Anthem|value={{{anthem|}}}}} |
{{Infobox/Item|key=Anthem|value={{{anthem|}}}}} |
||
− | {{Infobox/Illustration|file={{{map}}}|caption={{{mapdesc|}}}}} |
+ | {{Infobox/Illustration|file=[[File:{{{map}}}|400px]]|caption={{{mapdesc|}}}}} |
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}} |
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}} |
||
{{Infobox/Item|key=Official languages|value={{{languages}}}}} |
{{Infobox/Item|key=Official languages|value={{{languages}}}}} |
||
⚫ | |||
{{Infobox/SectionHeader|section=Politics}} |
{{Infobox/SectionHeader|section=Politics}} |
||
⚫ | |||
{{Infobox/Item|key=Government|value={{{government}}}}} |
{{Infobox/Item|key=Government|value={{{government}}}}} |
||
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
||
Line 19: | Line 23: | ||
{{Infobox/Item|key=Population|value={{{population}}}}} |
{{Infobox/Item|key=Population|value={{{population}}}}} |
||
{{Infobox/Item|key=Area|value={{{area|}}}}} |
{{Infobox/Item|key=Area|value={{{area|}}}}} |
||
⚫ | |||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
Line 33: | Line 36: | ||
{{Infobox/Item|key=Official languages|value={{{languages}}}}} |
{{Infobox/Item|key=Official languages|value={{{languages}}}}} |
||
{{Infobox/SectionHeader|section=Politics}} |
{{Infobox/SectionHeader|section=Politics}} |
||
+ | {{Infobox/Item|key=Capital City|value={{{capital}}}}} |
||
{{Infobox/Item|key=Government|value={{{government}}}}} |
{{Infobox/Item|key=Government|value={{{government}}}}} |
||
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
{{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
||
Line 43: | Line 47: | ||
{{Infobox/Item|key=Population|value={{{population}}}}} |
{{Infobox/Item|key=Population|value={{{population}}}}} |
||
{{Infobox/Item|key=Area|value={{{area}}}}} |
{{Infobox/Item|key=Area|value={{{area}}}}} |
||
⚫ | |||
{{Infobox/end}} |
{{Infobox/end}} |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
Line 53: | Line 56: | ||
"label": "Nation name", |
"label": "Nation name", |
||
"type": "string", |
"type": "string", |
||
− | "required": true |
+ | "required": true, |
+ | "autovalue": "{{PAGENAME}}" |
||
}, |
}, |
||
"localized_name": { |
"localized_name": { |
||
Line 110: | Line 114: | ||
"label": "Official languages", |
"label": "Official languages", |
||
"description": "Languages spoken in the nation", |
"description": "Languages spoken in the nation", |
||
+ | "type": "string", |
||
⚫ | |||
+ | }, |
||
+ | "currency": { |
||
+ | "label": "National Currency", |
||
+ | "description": "Name of the currency used in the nation", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true |
||
Line 124: | Line 134: | ||
"description": "The current leader in place", |
"description": "The current leader in place", |
||
"type": "string", |
"type": "string", |
||
− | "autovalue": "" |
+ | "autovalue": "" |
⚫ | |||
}, |
}, |
||
"pm_title": { |
"pm_title": { |
||
Line 166: | Line 175: | ||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
− | " |
+ | "capital": { |
− | "label": " |
+ | "label": "Capital City", |
− | "description": " |
+ | "description": "The Nations seat(s) of government", |
"type": "string" |
"type": "string" |
||
}, |
}, |
||
Line 184: | Line 193: | ||
} |
} |
||
}, |
}, |
||
− | "description": "Infobox for |
+ | "description": "Infobox for Nations", |
"format": "block", |
"format": "block", |
||
"paramOrder": [ |
"paramOrder": [ |
||
Line 198: | Line 207: | ||
"denonym", |
"denonym", |
||
"languages", |
"languages", |
||
+ | "currency", |
||
+ | "capital", |
||
"government", |
"government", |
||
"foundation", |
"foundation", |
||
Line 208: | Line 219: | ||
"ethnicity", |
"ethnicity", |
||
"population", |
"population", |
||
− | "area" |
+ | "area" |
− | "main_cities" |
||
] |
] |
||
} |
} |
Revision as of 04:57, 20 July 2021
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 |