Difference between revisions of "Template:Infobox province or territory of Canada/sandbox"
Jump to navigation
Jump to search
(insert section "blank fields (section 1)") |
(start renoval of "infobox|child=yes" : leader_name1 contained information about other things than a "leader") |
||
| Line 42: | Line 42: | ||
| leader_name = {{{Viceroy|}}} | | leader_name = {{{Viceroy|}}} | ||
| leader_title1 = [[Premier of {{#if:{{{Name|}}}|{{{Name|}}}|{{PAGENAMEBASE}}}}|Premier]] | | leader_title1 = [[Premier of {{#if:{{{Name|}}}|{{{Name|}}}|{{PAGENAMEBASE}}}}|Premier]] | ||
| − | | leader_name1 = {{#if:{{{Premier|}}}|{{{Premier}}} ({{{PremierParty}}}) | + | | leader_name1 = {{#if:{{{Premier|}}}|{{{Premier}}} ({{{PremierParty}}})}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| established_title = [[Canadian Confederation#Joining Confederation|Confederation]] | | established_title = [[Canadian Confederation#Joining Confederation|Confederation]] | ||
| established_date = {{#if:{{{AdmittanceDate|}}}|{{{AdmittanceDate}}} ({{{AdmittanceOrder}}})}} | | established_date = {{#if:{{{AdmittanceDate|}}}|{{{AdmittanceDate}}} ({{{AdmittanceOrder}}})}} | ||
| Line 89: | Line 75: | ||
| area_code = {{{PostalCodePrefix|}}} | | area_code = {{{PostalCodePrefix|}}} | ||
<!-- blank fields (section 1) --> | <!-- blank fields (section 1) --> | ||
| − | | blank_name_sec1 = | + | | blank_name_sec1 = Legislature |
| − | | blank_info_sec1 = | + | | blank_info_sec1 = {{#if:{{{Legislature|}}}|[[{{{Legislature}}}]]}} |
| − | | blank1_name_sec1 = | + | | blank1_name_sec1 = Federal representation |
| − | | blank1_info_sec1 = | + | | blank1_info_sec1 = {{#if:{{{HouseSeats|}}}{{{SenateSeats|}}}|(in [[Parliament of Canada|Canadian Parliament]])}} |
| − | | blank2_name_sec1 = | + | | blank2_name_sec1 = [[House of Commons of Canada|House seats]] |
| − | | blank2_info_sec1 = | + | | blank2_info_sec1 = {{#if:{{{HouseSeats|}}}|{{{HouseSeats}}} of 338 ({{#expr:{{{HouseSeats}}}*100/338 round 1}}%)}} |
| + | | blank3_name_sec1 = [[Senate of Canada|Senate seats]] | ||
| + | | blank3_info_sec1 = {{#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:10, 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. |