Template:Infobox country/doc: Difference between revisions

From TNOpediA
Content added Content deleted
mNo edit summary
No edit summary
Line 7: Line 7:
| nativename =
| nativename =
| flag =
| flag =
| flagsize =
| flaglabel =
| flaglabel =
| coa =
| coa =
Line 26: Line 27:
}}
}}
</pre>
</pre>
===How to use each parameter:===

'''name''' = country name <br/>
'''nativename''' = country name in local language/languages <br/>
'''flag''' = country flag. just put the file name, it automatically embeds it <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/>
'''coa''' = coat of arms/emblem/seal. just put the file name, it automatically embeds it <br/>
'''coasize''' = pixel size for the coa. defaults to 150px vertical if left empty <br/>
'''coalabel''' = caption for the coa. usually "[Countrian] Coat of Arms". automatically applies italics <br/>
'''tag''' = country tag. put in all caps <br/>
'''capital''' = country capital city <br/>
'''ideologyiconfile''' = icon file for the ruling party ideology. just put the file name <br/>
'''rulingparty''' = country's ruling party <br/>
'''electiondate''' = date of last election. leave blank for dictatorships or military regimes, etc <br/>
'''hos''' = head of state. monarch, president, or whatever. the country leader in game is not always the head of state <br/>
'''hog''' = head of government. in monarchies and most republics, its the prime minister <br/>
'''defactoleader''' = for when the in-game country leader is neither the HoS or the HoG. only use in that case <br/>
'''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 <br/>
'''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 <br/>
'''gdp''' = the country's GDP in $B. the template automatically adds the $B, so just put the number <br/>
'''credit''' = the country's credit rating (good, mediocre, junk, etc) <br/>
'''creditcountry''' = what sphere to style the credit symbol from. SP is USA, GER is germany, JAP, is japan. defaults to SP when left empty <br/>
'''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 &#128578; <br/>

Helpful pages <br/ >
[[List of ideologies]] <br/ >
[[Credit Rating]]<br/ >
[[Economy Type]]


<noinclude>[[Category:Template Documentations]]</noinclude>
<noinclude>[[Category:Template Documentations]]</noinclude>

Revision as of 21:27, 4 April 2024

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           = 
| 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)
creditcountry = 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 🙂

Helpful pages
List of ideologies
Credit Rating
Economy Type