Template:Infobox country/doc: Difference between revisions

From TNOpediA
Content added Content deleted
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Documentation =
= 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.
Unless specified otherwise, parameters left blank will not appear on the page


<pre>
<pre>
Line 9: Line 9:
| flagsize =
| flagsize =
| flaglabel =
| flaglabel =
| coa =
| flagalt =
| coasize =
| location =
| coalabel =
| locationsize =
| anthemfile =
| locationlabel =
| anthemlabel =
| tag =
| tag =
| capital =
| capital =
Line 28: Line 27:
| creditstyle =
| creditstyle =
| econtype =
| econtype =
}}</pre> Defunct parameters
}}
<pre>
| coa =
| coasize =
| coalabel =
</pre>
</pre>
===How to use each parameter:===
===How to use each parameter:===
Line 37: Line 40:
'''flagsize''' = pixel size for the flag. defaults to 250px horizontal if left empty <br/>
'''flagsize''' = pixel size for the flag. defaults to 250px horizontal if left empty <br/>
'''flaglabel''' = caption for the flag. usually "Flag of [Country]". automatically applies italics <br/>
'''flaglabel''' = caption for the flag. usually "Flag of [Country]". automatically applies italics <br/>
'''coa''' = coat of arms/emblem/seal. just put the file name, it automatically embeds it <br/>
'''flagalt''' = use when you need to put text in the flag slot. has no formatting. use the tabber template here <br/>
'''coasize''' = pixel size for the coa. defaults to 150px vertical if left empty <br/>
'''location''' = ortographic projection of the country. just put the file name, it automatically embeds it <br/>
'''coalabel''' = caption for the coa. usually "[Countrian] Coat of Arms". automatically applies italics <br/>
'''locationsize''' = pixel size for the map. defaults to 250px vertical if left empty <br/>
'''locationlabel''' = caption for the map. usually "[Country] in [Colour]". automatically applies italics <br/>
'''anthemfile''' = file name of the country's anthem
'''anthemlabel''' = label for the anthem file
'''tag''' = country tag. put in all caps <br/>
'''tag''' = country tag. put in all caps <br/>
'''capital''' = country capital city <br/>
'''capital''' = country capital city <br/>
Line 63: Line 65:
| flag = Flag of the United States (DoS ECA Color Standard).svg
| flag = Flag of the United States (DoS ECA Color Standard).svg
| flagsize =
| flagsize =
| flaglabel = Flag of the United States
| flaglabel = Flag of the United States
| coa = Greater_coat_of_arms_of_the_United_States.svg
| location = Usa location.svg
| coasize =
| locationsize =
| locationlabel = <br>Location of the USA (Light green)<br>Satellite States (Gray)<br>[[OFN]] (Dark Blue)
| coalabel = American Coat of Arms
| tag = USA
| tag = USA
| capital = [[Washington, D.C.]]
| capital = [[Washington, D.C.]]
Line 87: Line 89:
| flagsize =
| flagsize =
| flaglabel = Flag of the United States
| flaglabel = Flag of the United States
| coa = Greater_coat_of_arms_of_the_United_States.svg
| location = Usa location.svg
| coasize =
| locationsize =
| locationlabel = <br>Location of the USA (Light green)<br>Satellite States (Gray)<br>[[OFN]] (Dark Blue)
| coalabel = American Coat of Arms
| tag = USA
| tag = USA
| capital = [[Washington, D.C.]]
| capital = [[Washington, D.C.]]

Latest revision as of 02:31, 27 May 2024

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