Template:Infobox country/doc

From TNOpediA

Documentation

If a conflict does not have the required parameter, leave the parameter blank. It will not show up in the page once left blank.

{{Infobox country
| name             = 
| nativename       = 
| flag             = 
| flagsize         = 
| flaglabel        = 
| coa              = 
| coasize          = 
| coalabel         = 
| tag              = 
| capital          = 
| ideologyiconfile = 
| rulingparty      = 
| electiondate     = 
| hos              = 
| hog              = 
| defactoleader    = 
| sphere           = 
| alignment        = 
| gdp              = 
| credit           = 
| creditstyle      = 
| econtype         = 
}}

How to use each parameter:

name = country name
nativename = country name in local language/languages
flag = country flag. just put the file name, it automatically embeds it
flagsize = pixel size for the flag. defaults to 250px horizontal if left empty
flaglabel = caption for the flag. usually "Flag of [Country]". automatically applies italics
coa = coat of arms/emblem/seal. just put the file name, it automatically embeds it
coasize = pixel size for the coa. defaults to 150px vertical if left empty
coalabel = caption for the coa. usually "[Countrian] Coat of Arms". automatically applies italics
tag = country tag. put in all caps
capital = country capital city
ideologyiconfile = icon file for the ruling party ideology. just put the file name
rulingparty = country's ruling party
electiondate = date of last election. leave blank for dictatorships or military regimes, etc
hos = head of state. monarch, president, or whatever. the country leader in game is not always the head of state
hog = head of government. in monarchies and most republics, its the prime minister
defactoleader = for when the in-game country leader is neither the HoS or the HoG. only use in that case
sphere = what sphere a country is part of. only put the demonym of the sphere, the template turns it into the template for the icon. (so US would just be American, and the template would turn it into American Sphere). defaults to N/A Sphere when left blank
alignment = foreign alignment of the country. just put the label of the foreign alignment, except for special cases. defaults to Non-Aligned when left blank
gdp = the country's GDP in $B. the template automatically adds the $B, so just put the number
credit = the country's credit rating (good, mediocre, junk, etc)
creditstyle = what sphere to style the credit symbol from. SP is USA, GER is germany, JAP, is japan. defaults to SP when left empty
econtype = the country's economy type. just put the title, and it will turn into a template. if the template doesnt already exist, then be a doll and make it 🙂

Example:

United States of America
Flag of the United States
TAG = USA
Politics
CapitalWashington, D.C.
Ruling Party Republican-Democratic Coalition - (Republican)
Last Election08/11/1960
Head of StatePresident
Richard Nixon
(R)
Head of GovernmentVice President
John F. Kennedy
(D)
Diplomacy
Sphere American Sphere
Foreign Alignment Leader of the Free World, OFN
Economy
GDP$322.72B
Credit Rating Prime
Market Type American Capitalism
{{Infobox country
| name             = United States of America
| nativename       = 
| flag             = Flag of the United States (DoS ECA Color Standard).svg
| flagsize         = 
| flaglabel        = Flag of the United States
| coa              = Greater_coat_of_arms_of_the_United_States.svg
| coasize          = 
| coalabel         = American Coat of Arms
| tag              = USA
| capital          = [[Washington, D.C.]]
| ideologyiconfile = Silent Conservatism subideology.webp
| rulingparty      = [[Republican-Democratic Coalition]] - ([[Republican Party|Republican]])
| electiondate     = 08/11/1960
| hos              = [[Richard Nixon|President <br />Richard Nixon]] [[Republican Party|(R)]]
| hog              = [[John F. Kennedy|Vice President <br />John F. Kennedy]] [[Democratic Party|(D)]]
| defactoleader    = 
| sphere           = American
| alignment        = Leader of the Free World
| gdp              = 322.72
| credit           = Prime
| creditstyle      = 
| econtype         = American Capitalism
}} 

becomes what you see on the right

Helpful pages

List of ideologies
Credit Rating
Economy Type
Spheres