Fyrimynd:Infobox province or territory of Canada
Infobox province or territory of Canada | |||||
| |||||
Motto: {{{Motto}}} | |||||
[[File:{{{Map}}}|alt={{{MapAlt}}}|Kort yvir Kanada har Infobox province or territory of Canada highlighted|250px]] | |||||
Høvuðsstaður | {{{Capital}}} | ||||
---|---|---|---|---|---|
Størsti býur | {{{LargestCity}}} | ||||
Størsta stórbýarøki | {{{LargestMetro}}} | ||||
Almenn mál | {{{OfficialLang}}} | ||||
Demonym | {{{Demonym}}} | ||||
Stjórn | |||||
Slag | |||||
[[{{{ViceroyType}}} of Infobox province or territory of Canada|{{{ViceroyType}}}]] | {{{Viceroy}}} | ||||
Forsætisráðharri | {{{Premier}}} ({{{PremierParty}}}) | ||||
Lóggávuting | [[{{{Legislature}}}]] | ||||
Samveldisumboðan | (í Kanadiska Tjóðartinginum) | ||||
Sessir í Undirhúsinum | {{{HouseSeats}}} av 338 (##%) | ||||
Sessir í Senatinum | {{{SenateSeats}}} av 105 (##%) | ||||
Samveldi | {{{AdmittanceDate}}} ({{{AdmittanceOrder}}}) | ||||
Øki | Nr. {{{AreaRank}}} | ||||
Tilsamans | {{convert|{{{TotalArea_km2}}}|km2|sqmi}}
| ||||
Land | {{convert|{{{LandArea_km2}}}|km2|sqmi}}
| ||||
Vatn (%) | {{convert|{{{WaterArea_km2}}}|km2|sqmi}} (##%)
| ||||
Partur av Kanada | ##% av 9,984,670 km2 | ||||
Fólkatal | Støða {{{PopulationRank}}} | ||||
Tilsamans ({{{PopulationYear}}}) | {{{PopulationRef}}} | ||||
Tættleiki ({{{PopulationYear}}}) | {{convert|##|PD/km2|PD/sqmi}}
| ||||
GDP | Støða {{{GDP_rank}}} | ||||
Tilsamans ({{{GDP_year}}}) | {{{GDP_total}}} | ||||
Per capita | {{{GDP_per_capita}}} ({{{GDP_per_capita_rank}}}) | ||||
Styttingar | |||||
Post-styttingar | {{{PostalAbbreviation}}} | ||||
ISO 3166-2 | {{{ISOCode}}} | ||||
Tíðarsona | {{{TimeZone}}} | ||||
Postkota | {{{PostalCodePrefix}}} | ||||
Blóma | {{{Flower}}} | ||||
Træ | {{{Tree}}} | ||||
Fuglur | {{{Bird}}} | ||||
Heimasíða | {{{Website}}} | ||||
Støður fevna um øll landslutir og øki |
Usage rætta
{{Infobox province or territory of Canada | Name = | AlternateName = | Flag = | FlagAlt = | CoatOfArms = | CoatOfArmsAlt = | Motto = | Label_map = | Map = | MapAlt = | Capital = | LargestCity = | LargestMetro = | OfficialLang = | Demonym = | government_footnotes = | EntityAdjective = | ViceroyType = | Viceroy = | Premier = | PremierParty = | Legislature = | HouseSeats = | SenateSeats = | AdmittanceDate = | AdmittanceOrder = | area_footnotes = | AreaRank = | TotalArea_km2 = | LandArea_km2 = | WaterArea_km2 = | population_footnotes = | PopulationRank = | PopulationYear = | Population = | PopulationRef = | DensityYear = | GDP_footnotes = | GDP_rank = | GDP_year = | GDP_total = | GDP_per_capita = | GDP_per_capita_rank = | PostalAbbreviation = | ISOCode = | TimeZone = | PostalCodePrefix = | Flower = | Tree = | Bird = | Website = }}
Microformat rætta
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates rætta
If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes rætta
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision rætta
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Infobox province or territory of Canada/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |