Template:Country

From Conservapedia

Jump to: navigation, search

Template: Country
Use on Articles about countries, states, or territories
Use for Info box
Category template applies to page (none)
Template Parameters
(See using templates).
NamePurposeRequired?Comment
namename of country, state, or territorynoDefaults to page name
mapmap imageno
flagflag imageno
armsCoat of armsno
capitalCapitalnoIs automatically linked
capital-rawCapitalnoSee note A
governmentType of governmentnoIs automatically linked
government-rawType of governmentnoSee note A
languageOfficial languagenoIs automatically linked (see note B)
kingKingnoIs automatically linked. See note C
queenQueennoIs automatically linked. See note C
monarch-rawMonarchnoSee notes A and C
governor generalGovernor GeneralnoIs automatically linked
governor general-rawGovernor GeneralnoSee note A
presidentPresidentnoIs automatically linked
president-rawPresidentnoSee note A
chancellorChancellornoIs automatically linked
chancellor-rawChancellornoSee note A
pmPrime MinisternoIs automatically linked
pm-rawPrime MinisternoSee note A
chairmanChairmannoIs automatically linked
general secretaryGeneral SecretarynoIs automatically linked
governorGovernornoIs automatically linked
governor-rawGovernornoSee note A
premierPremiernoIs automatically linked
premier-rawPremiernoSee note A
areaArea of countryno
popPopulationno
pop-basisBasis of population (e.g. "2004 census")yesOnly required if pop is supplied
gdpGDPno
gdp-yearGDP yearyesOnly required if gdp is supplied
gdp-pcGDP per capitano
currencyCurrencyno
iddInternational dialing codeno
tldInternet top-level domainno

The country infobox template is currently used for countries, states, and territories (the {{state}} template redirects to this template). However, it is possible that {{state}} may be an independent template in the future, so {{state}}, not this template, should be used for a state infobox.

The template is not especially complex (but is reasonably so), but includes a large list of optional parameters.

Many of the parameters have two alternative forms, which are explained below in note A.

Notes

A: Parameters of the form xxxx-raw are alternatives to the non-raw form. These should be used instead of the non-raw form to (a) provide links where the article name is different to the displayed name, or (b) where a link is not wanted.

For example, if the capital of a country is Washington, but the page name for that capital is Washington D.C., then you would type capital-raw=[[Washington D.C.|Washington]].

If, instead, the page name is simply Washington, then capital=Washington is all that is needed, and will automatically be linked.

If both non-raw and raw forms are supplied, the non-raw form will be ignored.

B: The language field is automatically linked to an article named "<language> language".

C: Both the king and queen parameters display as a Monarch row, but prepend "King" or "Queen" to the name of the monarch. If neither is required, use the monarch-raw parameter.

Full code

{{Country
|name           =
|map	        =
|flag	        =
|arms	        =
|capital	=
|capital-raw	=
|government	=
|government-raw	=
|language	=
|king	        =
|queen	        =
|monarch-raw	=
|governor general=
|governor general-raw=
|president	=
|president-raw	=
|chancellor	=
|chancellor-raw	=
|pm	        =
|pm-raw	        =
|chairman       =
|general secretary=
|governor       =
|governor-raw   =
|premier        =
|premier-raw    =
|area	        =
|pop	        =
|pop-basis	=
|gdp	        =
|gdp-year	=
|gdp-pc	        =
|currency	=
|idd		=
|tld            =
}}
Personal tools