Template:Country: Difference between revisions
AlexChillOut (talk | contribs) (Redirected page to Template:Infobox country) Tag: New redirect |
(Removed redirect to Template:Infobox country) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
<includeonly> | |||
{{infobox | |||
|templatestyles = Template:Infobox country/styles.css | |||
| bodyclass = ib-country vcard | |||
| aboveclass = adr | |||
| subheader = {{#if:{{{life_span|}}} | {{{life_span}}} | {{#if:{{{year_start|}}}|{{{year_start}}}{{#if:{{{year_end|}}}|–{{{year_end}}} }} }} }} | |||
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | |||
| header2 = General Info | |||
| label3 = Official Name | |||
| data3 = {{{official name|{{{official_name}}}}}} | |||
| label4 = Common Name | |||
| data4 = {{{common name|{{{common_name}}}}}} | |||
| label5 = Motto | |||
| data5 = {{{motto|{{{motto}}}}}} | |||
| label6 = Capital | |||
| data6 = {{{capital|{{{capital}}}}}} | |||
| label7 = Demonym | |||
| data7 = {{{demonym|{{{demonym}}}}}} | |||
| label8 = Anthem | |||
| data8 = {{{anthem|{{{anthem}}}}}} | |||
| header9 = Politics | |||
| label10 = Government | |||
| data10 = {{{government|{{{government}}}}}} | |||
| label11 = Ideology | |||
| data11 = {{{ideology|{{{ideology}}}}}} | |||
| label12 = Head of State | |||
| data12 = {{{head of state|{{{head_of_state}}}}}} | |||
| label13 = Head of Government | |||
| data13 = {{{head of government|{{{head_of_government}}}}}} | |||
| label14 = Legislature | |||
| data14 = {{{legislature|{{{legislature}}}}}} | |||
| label15 = Ruling Party | |||
| data15 = {{{ruling party|{{{ruling_party}}}}}} | |||
| label16 = Official Language(s) | |||
| data16 = {{{official languages|{{{official_languages}}}}}} | |||
| label17 = State Religion | |||
| data17 = {{{state religion|{{{state_religion}}}}}} | |||
| label18 = Currency | |||
| data18 = {{{currency|{{{currency}}}}}} | |||
| header19 = Demographics | |||
| label20 = Population | |||
| data20 = {{{population|{{{population}}}}}} | |||
| label21 = Species | |||
| data21 = {{{species|{{{species}}}}}} | |||
| label22 = Ethnic Groups | |||
| data22 = {{{ethnic groups|{{{ethnic_groups}}}}}} | |||
| label23 = Major Languages | |||
| data23 = {{{major languages|{{{major_languages}}}}}} | |||
| label24 = Minority Languages | |||
| data24 = {{{minority languages|{{{minority_languages}}}}}} | |||
| label25 = Major Religions | |||
| data25 = {{{major religions|{{{major_religions}}}}}} | |||
| label26 = Major Cities | |||
| data26 = {{{major cities|{{{major_cities}}}}}} | |||
| header27 = Assets | |||
| label28 = GDP | |||
| data28 = {{{gdp|{{{gdp}}}}}} | |||
| label29 = Soldier Count | |||
| data29 = {{{soldier count|{{{soldier_count}}}}}} | |||
| label30 = Spacefleet | |||
| data30 = {{{spacefleet|{{{spacefleet}}}}}} | |||
| label31 = Maritime fleet | |||
| data31 = {{{maritime fleet|{{{maritime_fleet}}}}}} | |||
| label32 = Airforces | |||
| data32 = {{{airforces|{{{airforces}}}}}} | |||
| label33 = Nuclear Arsenal | |||
| data33 = {{{nuclear arsenal|{{{nuclear_arsenal}}}}}} | |||
| label34 = Other Assets | |||
| data34 = {{{other assets|{{{other_assets}}}}}} | |||
| header35 = Geography | |||
| label36 = Planet | |||
| data36 = {{{planet|{{{planet}}}}}} | |||
| label37 = Continent | |||
| data37 = {{{continent|{{{continent}}}}}} | |||
| label38 = Region | |||
| data38 = {{{region|{{{region}}}}}} | |||
| label39 = Real-Life Location | |||
| data39 = {{{irl location|{{{irl_location}}}}}} | |||
| header40 = Historical Info | |||
| label41 = Founded | |||
| data41 = {{{founded|{{{founded}}}}}} | |||
| label42 = Dissolved | |||
| data42 = {{{dissolved|{{{dissolved}}}}}} | |||
| label43 = Preceded by | |||
| data43 = {{{preceded by|{{{preceded_by}}}}}} | |||
| label44 = Succeeded by | |||
| data44 = {{{succeeded by|{{{succeeded_by}}}}}} | |||
| belowclass = mergedtoprow noprint | |||
| below = {{#if:{{{navbar|}}}| {{navbar|{{{navbar|}}}}} }} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
{{documentation}} | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"image1": { | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"image2": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"official name": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"common name": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"motto": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"capital": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"demonym": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"anthem": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"government": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"ideology": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"head of state": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"head of government": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"legislature": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"ruling party": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"official languages": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"state religion": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"currency": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"population": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"species": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"ethnic groups": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"major languages": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"minority languages": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"major cities": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"gdp": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"soldier count": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"spacefleet": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"maritime fleet": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"airforces": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"nuclear arsenal": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"other assets": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"planet": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"continent": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"region": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"irl location": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"founded": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"dissolved": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"preceded by": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"succeeded by": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"major religions": { | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image1", | |||
"image2", | |||
"official name", | |||
"common name", | |||
"motto", | |||
"capital", | |||
"demonym", | |||
"anthem", | |||
"government", | |||
"ideology", | |||
"head of state", | |||
"head of government", | |||
"legislature", | |||
"ruling party", | |||
"official languages", | |||
"state religion", | |||
"currency", | |||
"population", | |||
"species", | |||
"ethnic groups", | |||
"major languages", | |||
"minority languages", | |||
"major religions", | |||
"major cities", | |||
"gdp", | |||
"soldier count", | |||
"spacefleet", | |||
"maritime fleet", | |||
"airforces", | |||
"nuclear arsenal", | |||
"other assets", | |||
"planet", | |||
"continent", | |||
"region", | |||
"irl location", | |||
"founded", | |||
"dissolved", | |||
"preceded by", | |||
"succeeded by" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 20:36, 24 April 2024
}}} | image =
| header2 = General Info
| label3 = Official Name | data3 = {{{official_name}}}
| label4 = Common Name | data4 = {{{common_name}}}
| label5 = Motto | data5 = {{{motto}}}
| label6 = Capital | data6 = {{{capital}}}
| label7 = Demonym | data7 = {{{demonym}}}
| label8 = Anthem | data8 = {{{anthem}}}
| header9 = Politics
| label10 = Government | data10 = {{{government}}}
| label11 = Ideology | data11 = {{{ideology}}}
| label12 = Head of State | data12 = {{{head_of_state}}}
| label13 = Head of Government | data13 = {{{head_of_government}}}
| label14 = Legislature | data14 = {{{legislature}}}
| label15 = Ruling Party | data15 = {{{ruling_party}}}
| label16 = Official Language(s) | data16 = {{{official_languages}}}
| label17 = State Religion | data17 = {{{state_religion}}}
| label18 = Currency | data18 = {{{currency}}}
| header19 = Demographics
| label20 = Population | data20 = {{{population}}}
| label21 = Species | data21 = {{{species}}}
| label22 = Ethnic Groups | data22 = {{{ethnic_groups}}}
| label23 = Major Languages | data23 = {{{major_languages}}}
| label24 = Minority Languages | data24 = {{{minority_languages}}}
| label25 = Major Religions | data25 = {{{major_religions}}}
| label26 = Major Cities | data26 = {{{major_cities}}}
| header27 = Assets
| label28 = GDP | data28 = {{{gdp}}}
| label29 = Soldier Count | data29 = {{{soldier_count}}}
| label30 = Spacefleet | data30 = {{{spacefleet}}}
| label31 = Maritime fleet | data31 = {{{maritime_fleet}}}
| label32 = Airforces | data32 = {{{airforces}}}
| label33 = Nuclear Arsenal | data33 = {{{nuclear_arsenal}}}
| label34 = Other Assets | data34 = {{{other_assets}}}
| header35 = Geography
| label36 = Planet | data36 = {{{planet}}}
| label37 = Continent | data37 = {{{continent}}}
| label38 = Region | data38 = {{{region}}}
| label39 = Real-Life Location | data39 = {{{irl_location}}}
| header40 = Historical Info
| label41 = Founded | data41 = {{{founded}}}
| label42 = Dissolved | data42 = {{{dissolved}}}
| label43 = Preceded by | data43 = {{{preceded_by}}}
| label44 = Succeeded by | data44 = {{{succeeded_by}}}
| belowclass = mergedtoprow noprint | below = }} </includeonly>
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | required |
image1 | image1 | no description | File | suggested |
image2 | image2 | no description | String | suggested |
official name | official name | no description | String | suggested |
common name | common name | no description | String | suggested |
motto | motto | no description | String | suggested |
capital | capital | no description | String | suggested |
demonym | demonym | no description | String | suggested |
anthem | anthem | no description | String | suggested |
government | government | no description | String | suggested |
ideology | ideology | no description | String | suggested |
head of state | head of state | no description | String | suggested |
head of government | head of government | no description | String | suggested |
legislature | legislature | no description | String | suggested |
ruling party | ruling party | no description | String | suggested |
official languages | official languages | no description | String | suggested |
state religion | state religion | no description | String | suggested |
currency | currency | no description | String | suggested |
population | population | no description | String | suggested |
species | species | no description | String | suggested |
ethnic groups | ethnic groups | no description | String | suggested |
major languages | major languages | no description | String | suggested |
minority languages | minority languages | no description | String | suggested |
major religions | major religions | no description | String | suggested |
major cities | major cities | no description | String | suggested |
gdp | gdp | no description | String | suggested |
soldier count | soldier count | no description | String | suggested |
spacefleet | spacefleet | no description | String | suggested |
maritime fleet | maritime fleet | no description | String | suggested |
airforces | airforces | no description | String | suggested |
nuclear arsenal | nuclear arsenal | no description | String | suggested |
other assets | other assets | no description | String | suggested |
planet | planet | no description | String | suggested |
continent | continent | no description | String | suggested |
region | region | no description | String | suggested |
irl location | irl location | no description | String | suggested |
founded | founded | no description | String | suggested |
dissolved | dissolved | no description | String | suggested |
preceded by | preceded by | no description | String | suggested |
succeeded by | succeeded by | no description | String | suggested |