Difference between revisions of "Template:Country"
Jump to navigation
Jump to search
m (fix case) |
(added parameters) |
||
| Line 63: | Line 63: | ||
--> | --> | ||
{{t row if|GDP per capita|{{{gdp-pc|}}}}} | {{t row if|GDP per capita|{{{gdp-pc|}}}}} | ||
| + | <!-- | ||
| + | CURRENCY | ||
| + | --> | ||
| + | {{t row if|Currency|{{{currency|}}}}} | ||
| + | <!-- | ||
| + | DIALING PREFIX | ||
| + | --> | ||
| + | {{t row if|International dialing code|{{{idd|}}}}} | ||
| + | <!-- | ||
| + | INTERNET | ||
| + | --> | ||
| + | {{t row if|Internet top-level domain|{{{tdl|}}}}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 90: | Line 102: | ||
{{Parm|gdp-year|GDP year|yes|Only required if gdp is supplied}} | {{Parm|gdp-year|GDP year|yes|Only required if gdp is supplied}} | ||
{{Parm|gdp-pc|GDP per capita|no|}} | {{Parm|gdp-pc|GDP per capita|no|}} | ||
| + | {{Parm|currency|Currency|no|}} | ||
| + | {{Parm|idd|International dialing code|no|}} | ||
| + | {{Parm|tdl|Internet top-level domain|no|}} | ||
<!--{{Parm||||}} | <!--{{Parm||||}} | ||
{{Parm||||}} | {{Parm||||}} | ||
Revision as of 01:16, July 1, 2007
| Template: Country | |
|---|---|
| Use on | Country articles |
| Use for | Info box |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | name of country | no | Defaults to page name |
| map | map image | no | |
| flag | flag image | no | |
| arms | Coat of arms | no | |
| capital | Capital | no | Is automatically linked |
| capital-link | Link to capital article | no | See note A |
| government | Type of government | no | Is automatically linked |
| government-link | Link to type-of-government article | no | See note A |
| language | Official language | no | Is automatically linked (see note B) |
| monarch | Monarch | no | Is automatically linked |
| monarch-link | Link to monarch article | no | See note A |
| president | President | no | Is automatically linked |
| president-link | Link to president article | no | See note A |
| chancellor | Chancellor | no | Is automatically linked |
| chancellor-link | Link to Chancellor | no | See note A |
| pm | Prime Minister | no | Is automatically linked |
| pm-link | Link to Prime Minister article | no | See note A |
| area | Area of country | no | |
| pop | Population | no | |
| pop-basis | Basis of population (e.g. "2004 census") | yes | Only required if pop is supplied |
| gdp | GDP | no | |
| gdp-year | GDP year | yes | Only required if gdp is supplied |
| gdp-pc | GDP per capita | no | |
| currency | Currency | no | |
| idd | International dialing code | no | |
| tdl | Internet top-level domain | no | |
NOTE A: Parameters of the form xxxx-link are optional page names for the previous parameter to link to. If they are not provided, then the link will be to a page with the same name as the parameter value. 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=Washington and capital-link=Washington D.C.. If, instead, the page name is simply Washington, then capital=Washington is all that is needed, and will automatically be linked.
NOTE B: The language field is automatically linked to an article named "<language> language".