Template:Infobox country

From TNOpediA
Infobox country
Diplomacy
Sphere No Sphere
Foreign AlignmentNon-Aligned

Documentation[edit source]

Unless specified otherwise, parameters left blank will not appear on the page

{{Infobox country
| name             = 
| nativename       = 
| flag             = 
| flagsize         = 
| flaglabel        = 
| flagalt          =
| location         = 
| locationsize     = 
| locationlabel    = 
| tag              = 
| capital          = 
| ideologyiconfile = 
| rulingparty      = 
| electiondate     = 
| hos              = 
| hog              = 
| defactoleader    = 
| sphere           = 
| alignment        = 
| gdp              = 
| credit           = 
| creditstyle      = 
| econtype         = 
}}

Defunct parameters

| coa              = 
| coasize          = 
| coalabel         = 

How to use each parameter:[edit source]

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
flagalt = use when you need to put text in the flag slot. has no formatting. use the tabber template here
location = ortographic projection of the country. just put the file name, it automatically embeds it
locationsize = pixel size for the map. defaults to 250px vertical if left empty
locationlabel = caption for the map. usually "[Country] in [Colour]". 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:[edit source]

United States of America
Flag of the United States

Location of the USA (Light green)
Satellite States (Gray)
OFN (Dark Blue)

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
| location         = Usa location.svg
| locationsize     = 
| locationlabel    = <br>Location of the USA (Light green)<br>Satellite States (Gray)<br>[[OFN]] (Dark Blue)
| 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[edit source]

List of ideologies
Credit Rating
Economy Type
Spheres