Jump to content

Template:Infobox country/doc: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1:
== Documentation ==
IfUnless aspecified conflict does not have the required parameterotherwise, leaveparameters the parameterleft blank. It will not showappear up inon the page once left blank.
 
<pre>
{{Infobox country
| name =
| nativename =
| flag =
| flagsize =
| flaglabel =
| coa flagalt =
| coasize location =
| coalabellocationsize = =
| taglocationlabel = =
| capitaltag =
| rulingpartycapital =
| ideologyiconfile =
| rulingparty =
| electiondaterulingparty =
| hoselectiondate = =
| hos =
| hog =
| defactoleader =
Line 24 ⟶ 25:
| gdp =
| credit =
| creditstyle =
| econtype =
}}</pre> Defunct parameters
}}
<pre>
| coa =
| coasize =
| coalabel =
</pre>
===How to use each parameter:===
Line 34 ⟶ 40:
'''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/>
'''coaflagalt''' = use when you need to put text in the flag slot. has = coat ofno arms/emblem/sealformatting. just putuse the file name, it automaticallytabber embedstemplate ithere <br/>
'''coasizelocation''' = pixelortographic sizeprojection forof the coacountry. defaultsjust put the tofile 150pxname, verticalit ifautomatically leftembeds emptyit <br/>
'''coalabellocationsize''' = pixel = captionsize for the coamap. usuallydefaults "[Countrian]to Coat250px of Arms".vertical automaticallyif appliesleft italicsempty <br/>
'''locationlabel''' = caption for the map. usually "[Country] in [Colour]". automatically applies italics <br/>
'''tag''' = country tag. put in all caps <br/>
'''capital''' = country capital city <br/>
Line 49 ⟶ 56:
'''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/>
'''creditcountrycreditstyle''' = 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/>
 
==Example:==
Helpful pages <br/ >
{{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
}}<pre>{{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
}} </pre> becomes what you see on the right
 
==Helpful pages <br/ >==
[[List of ideologies]] <br/ >
[[Credit Rating]]<br/ >
[[Economy Type]]<br/ >
[[Spheres]]
 
<noinclude>[[Category:Template Documentations]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.