Difference between revisions of "Template:Infobox province or territory of Canada/sandbox"
Jump to navigation
Jump to search
(start renoval of "infobox|child=yes" : leader_name1 contained information about other things than a "leader") |
({{{OfficialLang|}}} out of demonym) |
||
| Line 31: | Line 31: | ||
|{{{LargestMetro|}}} | |{{{LargestMetro|}}} | ||
}} | }} | ||
| − | | population_demonym = {{{Demonym| | + | | population_demonym = {{{Demonym|}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| government_footnotes = {{{government_footnotes|}}} | | government_footnotes = {{{government_footnotes|}}} | ||
| government_type = {{#ifeq: {{{EntityAdjective|}}} | Provincial | [[Constitutional monarchy]] | }} | | government_type = {{#ifeq: {{{EntityAdjective|}}} | Provincial | [[Constitutional monarchy]] | }} | ||
| Line 75: | Line 70: | ||
| area_code = {{{PostalCodePrefix|}}} | | area_code = {{{PostalCodePrefix|}}} | ||
<!-- blank fields (section 1) --> | <!-- blank fields (section 1) --> | ||
| − | | blank_name_sec1 = Legislature | + | | blank_name_sec1 = Official language(s) |
| − | | | + | | blank_info_sec1 = {{{OfficialLang|}}} |
| − | | | + | <!-- blank fields (section 2) --> |
| − | | | + | | blank_name_sec2 = Legislature |
| − | | | + | | blank_info_sec2 = {{#if:{{{Legislature|}}}|[[{{{Legislature}}}]]}} |
| − | | | + | | blank1_name_sec2 = Federal representation |
| − | | | + | | blank1_info_sec2 = {{#if:{{{HouseSeats|}}}{{{SenateSeats|}}}|(in [[Parliament of Canada|Canadian Parliament]])}} |
| − | | | + | | blank2_name_sec2 = [[House of Commons of Canada|House seats]] |
| + | | blank2_info_sec2 = {{#if:{{{HouseSeats|}}}|{{{HouseSeats}}} of 338 ({{#expr:{{{HouseSeats}}}*100/338 round 1}}%)}} | ||
| + | | blank3_name_sec2 = [[Senate of Canada|Senate seats]] | ||
| + | | blank3_info_sec2 = {{#if:{{{SenateSeats|}}}|[[List of {{#if:{{{Name|}}}|{{{Name|}}}|{{PAGENAMEBASE}}}} senators|{{{SenateSeats}}} of 105]] ({{#expr:{{{SenateSeats}}}*100/105 round 1}}%)}} | ||
| website = {{#if:{{{Website|}}}|{{URL|1={{{Website}}}}}}} | | website = {{#if:{{{Website|}}}|{{URL|1={{{Website}}}}}}} | ||
| footnotes = Rankings include all [[Provinces and territories of Canada|provinces and territories]] | | footnotes = Rankings include all [[Provinces and territories of Canada|provinces and territories]] | ||
Revision as of 19:26, 2 August 2019
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| Country | Canada |
| Population | |
| • Total | Script error: No such module "Wikidata". |
| Script error: No such module "If empty". | |
| Postal code prefix | Script error: No such module "If empty". |
| Rankings include all provinces and territories | |
| This is the template sandbox page for Template:Infobox province or territory of Canada (diff). See also the companion subpage for test cases. |
Template:Uses infobox settlement Template:Uses Wikidata
Usage
{{Infobox province or territory of Canada
| name =
| settlement_type =
| other_name =
| image_flag =
| flag_alt =
| image_shield =
| shield_alt =
| motto =
| Label_map =
| image_map =
| map_alt =
| coordinates =
| capital =
| largest_city =
| largest_metro =
| official_lang =
| government_footnotes =
| ViceroyType =
| Viceroy =
| Premier =
| PremierParty =
| Legislature =
| HouseSeats =
| SenateSeats =
| AdmittanceDate =
| AdmittanceOrder =
| area_footnotes =
| area_rank =
| area_total_km2 =
| area_land_km2 =
| area_water_km2 =
| population_footnotes =
| population_rank =
| population_as_of =
| population_total = <!-- 2011 StatCan federal census population only per [[WP:CANPOP]]. Do not update until 2016 census population released on Feb-8/17. -->
| population_ref =
| population_est = <!-- Latest StatCan quarterly estimate only. -->
| pop_est_as_of =
| pop_est_ref =
| DensityYear =
| population_demonym =
| GDP_footnotes =
| GDP_rank =
| GDP_year =
| GDP_total =
| GDP_per_capita =
| GDP_per_capita_rank =
| HDI_year =
| HDI =
| HDI_rank =
| timezone_link =
| timezone1 =
| timezone1_location =
| timezone1 =
| utc_offset1 =
| timezone1_DST =
| utc_offset1_DST =
| timezone2_location =
| timezone2 =
| utc_offset2 =
| timezone2_DST =
| utc_offset2_DST =
| timezone3_location =
| timezone3 =
| utc_offset3 =
| timezone3_DST =
| utc_offset3_DST =
| timezone4_location =
| timezone4 =
| utc_offset4 =
| timezone4_DST =
| utc_offset4_DST =
| PostalAbbreviation =
| PostalCodePrefix =
| iso_code =
| website =
| flower =
| tree =
| bird =
}}
Microformat
| The above documentation is transcluded from Template:Infobox province or territory of Canada/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |