Template:Infobox subcountry: Difference between revisions
Template page
More actions
Content deleted Content added
Added descriptions to template data |
Making things optional |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:Template wrapper|wrap|_template = Infobox settlement |
|||
{{#invoke:infobox|infoboxTemplate |
|||
| _exclude = mother_country, hist_founded, hist_joined, demonym, leader, preceded_by, largest_city |
|||
| _reuse = native_name, capital, image, caption |
|||
<!-- location --> |
|||
|above = {{PAGENAME}} |
|||
| subdivision_type = Country |
|||
| subdivision_name = {{{mother_country|}}} |
|||
| |
| government_type = {{{gov_type|}}} |
||
| leader_title = {{{leader_title|}}} |
|||
| leader_name = {{{leader|}}} |
|||
| |
| population_est = {{{population|}}} |
||
| |
| population_demonym = {{{demonym|}}} |
||
| established_title1 = {{#if:{{{hist_founded|}}}|Founded}} |
|||
|label2 = Part of |
|||
| |
| established_date1 = {{{hist_founded|}}} |
||
|label3 = Capital |
|||
|data3 = {{{capital|}}} |
|||
|label4 = Leader |
|||
|data4 = {{{leader_title|}}} {{{leader}}} |
|||
|label5 = Government Type |
|||
|data5 = {{{gov_type|}}} |
|||
|label7 = Demonym |
|||
|data7 = {{{demonym|}}} |
|||
|label8 = Largest City |
|||
|data8 = {{{largest_city|}}} |
|||
|label9 = Populaton |
|||
|data9 = {{{population|}}} |
|||
|label10 = Area |
|||
|data10 = {{{area|}}} |
|||
|data11 = {{#invoke:infobox|infoboxTemplate|child=yes|decat=yes |
|||
|headerstyle = background:lavender;line-height:normal;padding:0.2em; |
|||
|header1 = History |
|||
|label2 = Founded |
|||
|data2 = {{{hist_founded}}} |
|||
|label3 = Joined {{{mother_country}}} |
|||
|data3 = {{{hist_joined|}}} |
|||
|label4 = Preceded by |
|||
|data4 = {{{preceded_by|}}} |
|||
|label5 = Succeeded by |
|||
|data5 = {{{succeeded_by|}}} |
|||
}} |
|||
}} |
}} |
||
<noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"native_name": { |
|||
"aliases": [ |
|||
"native" |
|||
], |
|||
"description": "Name of the subcountry in its native tongue", |
|||
"type": "string" |
|||
}, |
|||
"capital": { |
|||
"description": "Capital city of the subcountry, if applicable" |
|||
}, |
|||
"leader": { |
|||
"description": "Current leader of the subcountry" |
|||
}, |
|||
"population": { |
|||
"description": "Population of the subcountry" |
|||
}, |
|||
"leader_title": { |
|||
"description": "Title of the leader", |
|||
"example": "Duke, Duchess, Countess" |
|||
}, |
|||
"gov_type": { |
|||
"description": "Type of government used in the subcountry" |
|||
}, |
|||
"currency": { |
|||
"description": "Type of currency used in the subcountry" |
|||
}, |
|||
"largest_city": { |
|||
"description": "The most populous city in the subcountry" |
|||
}, |
|||
"hist_founded": { |
|||
"description": "When the subcountry was founded" |
|||
}, |
|||
"hist_joined": { |
|||
"aliases": [ |
|||
"joined" |
|||
], |
|||
"description": "When the subcountry joined the mother country" |
|||
}, |
|||
"image": {}, |
|||
"caption": {}, |
|||
"mother_country": { |
|||
"description": "The country that the subcountry is a part of" |
|||
}, |
|||
"demonym": { |
|||
"aliases": [ |
|||
"denonym" |
|||
], |
|||
"description": "Term used to refer to the people in the subcountry" |
|||
}, |
|||
"preceded_by": { |
|||
"description": "What the subcountry was preceded by" |
|||
}, |
|||
"area": { |
|||
"description": "Area of the subcountry" |
|||
}, |
|||
"succeeded_by": { |
|||
"description": "What the subcountry was succeeded by" |
|||
} |
|||
}, |
|||
"description": "For a constituent part of a country", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
|||
Latest revision as of 04:22, 25 November 2026
Infobox subcountry |
|---|