Template:MinorNation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <templatestyles src="MinorNation/styles.css" /> |
||
+ | |||
+ | |||
<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={{{flag}}}|caption={{{flagdesc|}}}}} |
+ | {{Infobox/Illustration|file={{#if:{{{flag|}}}|[[File:{{{flag}}}]]|}}|caption={{{flagdesc|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Common Name|value={{{nation|}}}}} |
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}} |
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}} |
||
− | {{Infobox/Illustration|file={{{map}}}|caption={{{mapdesc|}}}}} |
+ | {{Infobox/Illustration|file={{#if:{{{map|}}}|[[File:{{{map}}}]]|}}|caption={{{mapdesc|}}}}} |
{{Infobox/SectionHeader|section=Politics}} |
{{Infobox/SectionHeader|section=Politics}} |
||
− | {{Infobox/Item|key=Capital|value={{{capital |
+ | {{Infobox/Item|key=Capital|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}}}}} |
||
{{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|}}}}} |
||
{{Infobox/SectionHeader|section=Demography}} |
{{Infobox/SectionHeader|section=Demography}} |
||
− | {{Infobox/Item|key=Population|value={{{population}}}}} |
+ | {{Infobox/Item|key=Population|value={{{population|}}}}} |
− | {{Infobox/Item|key=Area|value={{{area|}}}}} |
+ | {{Infobox/Item|key=Area|value={{#if:{{{area|}}}|{{{area}}} km²|}}}} |
− | {{Infobox/end}} |
+ | {{Infobox/end}} |
+ | </includeonly> |
||
<noinclude> |
<noinclude> |
||
− | {{ |
+ | {{MinorNation}} |
+ | |||
− | {{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}} |
||
+ | {{MinorNation |
||
− | {{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{flagdesc}}}}} |
||
+ | |nation = [name]|localized_name = [localized_name] |
||
− | {{Infobox/Item|key=Full name|value={{{full_name}}}}} |
||
+ | |flag = KP dark.png |
||
− | {{Infobox/Item|key=Denonym|value={{{denonym}}}}} |
||
+ | |flagdesc = [flagdesc] |
||
− | {{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{mapdesc}}}}} |
||
+ | |full_name = [full_name] |
||
− | {{Infobox/SectionHeader|section=Politics}} |
||
+ | |denonym = [word used in reference to populace] |
||
− | {{Infobox/Item|key=Capital City|value={{{capital}}}}} |
||
+ | |map = KP dark.png |
||
− | {{Infobox/Item|key=Government|value={{{government}}}}} |
||
+ | |mapdesc = [mapdesc] |
||
− | {{Infobox/Item|key=Foundation|value={{{foundation}}}}} |
||
+ | |capital = [capital] |
||
− | {{Infobox/Item|key=Preceded by|value={{{predecessor}}}}} |
||
+ | |government = [government_type] |
||
− | {{Infobox/Item|key=Followed by|value={{{successor}}}}} |
||
+ | |foundation = [foundation(year)] |
||
− | {{Infobox/SectionHeader|section=Demography}} |
||
+ | |predecessor = [predecessor] |
||
− | {{Infobox/Item|key=Population|value={{{population}}}}} |
||
+ | |successor = [successor] |
||
− | {{Infobox/Item|key=Area|value={{{area}}}}} |
||
+ | |population = [population] |
||
− | {{Infobox/end}} |
||
+ | |area = [area] |
||
+ | }} |
||
+ | |||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
Line 41: | Line 48: | ||
"label": "Nation name", |
"label": "Nation name", |
||
"type": "string", |
"type": "string", |
||
− | "required": true |
+ | "required": true, |
+ | "autovalue": "{{PAGENAME}}", |
||
+ | "default": "{{PAGENAME}}" |
||
}, |
}, |
||
"localized_name": { |
"localized_name": { |
Latest revision as of 02:34, 3 November 2022
MinorNation
|
|||||
---|---|---|---|---|---|
Politics | |||||
Capital | {{{capital}}} | ||||
Foundation | {{{foundation}}} | ||||
Demography |
Infobox for Minor 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 |
Full name | full_name | The full version of the nation's name | String | required |
Denonym | denonym | The qualificative used to refer to inhabitants of this nation | String | optional |
Map | map | A map of the nation with its main features | File | required |
Map description | mapdesc | An optional commentary about the map | String | suggested |
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 |
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 |
Population | population | The current population figure | Number | required |
Area | area | The area of all territorial possessions owned by the nation | Number | optional |