Template:Country: Difference between revisions

From YATA Wiki
Jump to navigationJump to search
(Redirected page to Template:Infobox country)
Tag: New redirect
 
(Removed redirect to Template:Infobox country)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:Infobox country]]
<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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

no description

Stringrequired
image1image1

no description

Filesuggested
image2image2

no description

Stringsuggested
official nameofficial name

no description

Stringsuggested
common namecommon name

no description

Stringsuggested
mottomotto

no description

Stringsuggested
capitalcapital

no description

Stringsuggested
demonymdemonym

no description

Stringsuggested
anthemanthem

no description

Stringsuggested
governmentgovernment

no description

Stringsuggested
ideologyideology

no description

Stringsuggested
head of statehead of state

no description

Stringsuggested
head of governmenthead of government

no description

Stringsuggested
legislaturelegislature

no description

Stringsuggested
ruling partyruling party

no description

Stringsuggested
official languagesofficial languages

no description

Stringsuggested
state religionstate religion

no description

Stringsuggested
currencycurrency

no description

Stringsuggested
populationpopulation

no description

Stringsuggested
speciesspecies

no description

Stringsuggested
ethnic groupsethnic groups

no description

Stringsuggested
major languagesmajor languages

no description

Stringsuggested
minority languagesminority languages

no description

Stringsuggested
major religionsmajor religions

no description

Stringsuggested
major citiesmajor cities

no description

Stringsuggested
gdpgdp

no description

Stringsuggested
soldier countsoldier count

no description

Stringsuggested
spacefleetspacefleet

no description

Stringsuggested
maritime fleetmaritime fleet

no description

Stringsuggested
airforcesairforces

no description

Stringsuggested
nuclear arsenalnuclear arsenal

no description

Stringsuggested
other assetsother assets

no description

Stringsuggested
planetplanet

no description

Stringsuggested
continentcontinent

no description

Stringsuggested
regionregion

no description

Stringsuggested
irl locationirl location

no description

Stringsuggested
foundedfounded

no description

Stringsuggested
dissolveddissolved

no description

Stringsuggested
preceded bypreceded by

no description

Stringsuggested
succeeded bysucceeded by

no description

Stringsuggested