Kontent qismiga oʻtish
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦

Andoza:Canadian election result/top: Versiyalar orasidagi farq

ZiyoSfera, erkin ensiklopediya
#REDIRECT [[Template:Canadian election result/top]]
{| class="wikitable mw-collapsible {{#switch:{{{collapsed|}}}|yes=mw-collapsed|auto=autocollapse|no=|}}" style="width:{{#expr:573<!--


{{R protected}}
  Adapt width of table according to columns displayed
-->{{#if:{{{percent|<noinclude>1</noinclude>}}}|+43}}
{{#if:{{{final|}}}|+52}}
{{#if:{{{percent2|}}}|+43}}
{{#if:{{{change|<noinclude>1</noinclude>}}}|+52}}
{{#if:{{{expenditures|<noinclude>1</noinclude>}}}|+90}}
{{#if:{{{elected|}}}|+47}}
{{#ifeq:{{{party|}}}|no|-159|
{{#ifeq:{{{1|}}}|NT|-259}}
{{#ifeq:{{{1|}}}|NU|-259}}
}}
}}px;"
|-
! colspan="9"|<!--
 
  Put the ‘navbar’ (V•T•E) in table title area for provincial elections
-->{{#ifexist:Template:{{{template_name|{{{election|{{{2}}}}}} {{CanProvName|{{{jurisdiction|{{{1}}}}}}|name}} general election/{{{riding|{{{4|{{{3}}}}}}}}}{{#if:{{{ballot|}}}|, ballot {{{ballot}}}|}}}}}|{{navbar|{{{template_name|{{{election|{{{2}}}}}} {{CanProvName|{{{jurisdiction|{{{1}}}}}}|name}} general election/{{{riding|{{{4|{{{3}}}}}}}}}{{#if:{{{ballot|}}}|, ballot {{{ballot}}}|}}}}}|mini=1|style=float:left;}}|<!--
 
  Put the ‘navbar’ (V•T•E) in table title area for federal election results
-->{{#ifexist:Template:{{{election|{{{2}}}}}} Canadian federal election/{{{riding|{{{4|{{{3}}}}}}}}}|{{#ifeq:{{CanProvName|{{{jurisdiction|{{{1}}}}}}}}|CA|{{navbar|{{{election|{{{2}}}}}} Canadian federal election/{{{riding|{{{4|{{{3}}}}}}}}} |mini=1 |style=float:left;}}|}}|<!--
 
  Put the ‘navbar’ (V•T•E) in table title area for page titles using the old style (e.g., "2006 Ottawa municipal election")
-->{{#ifexist:Template:<noinclude>Canadian election result/doc</noinclude><includeonly>{{#invoke:string|replace|{{{election|{{{2}}}}}}|^.*(%d%d%d%d).*$|%1|plain=false}} {{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta provincial|BC=British Columbia provincial|MB=Manitoba provincial|NB=New Brunswick provincial|NF=Newfoundland provincial|NL=Newfoundland and Labrador provincial|NS=Nova Scotia provincial|NT=Northwest Territories territorial|N-W=North-West Territories territorial|NU=Nunavut territorial|ON=Ontario provincial|PE=Prince Edward Island provincial|QC=Quebec provincial|SK=Saskatchewan provincial|YK|YT=Yukon territorial|MTL=Montreal municipal|OTT=Ottawa municipal|TOR=Toronto municipal|VAN=Vancouver municipal|#default={{{jurisdiction|{{{1|}}}}}}}} {{#ifeq:{{{by}}}|yes|by-|}}election{{#ifeq:{{{by}}}|yes|s|}}/{{{riding|{{{4|{{{3}}}}}}}}}{{#if:{{{ballot|}}}|, ballot {{{ballot}}}|}}</includeonly>|{{navbar|<noinclude>Canadian election result/doc</noinclude><includeonly>{{#invoke:string|replace|{{{election|{{{2}}}}}}|^.*(%d%d%d%d).*$|%1|plain=false}} {{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta provincial|BC=British Columbia provincial|MB=Manitoba provincial|NB=New Brunswick provincial|NF=Newfoundland provincial|NL=Newfoundland and Labrador provincial|NS=Nova Scotia provincial|NT=Northwest Territories territorial|N-W=North-West Territories territorial|NU=Nunavut territorial|ON=Ontario provincial|PE=Prince Edward Island provincial|QC=Quebec provincial|SK=Saskatchewan provincial|YK|YT=Yukon territorial|MTL=Montreal municipal|OTT=Ottawa municipal|TOR=Toronto municipal|VAN=Vancouver municipal|#default={{{jurisdiction|{{{1|}}}}}}}} {{#ifeq:{{{by}}}|yes|by-|}}election{{#ifeq:{{{by}}}|yes|s|}}/{{{riding|{{{4|{{{3}}}}}}}}}{{#if:{{{ballot|}}}|, ballot {{{ballot}}}|}}</includeonly>|mini=1|style=float:left;}}|{{template other|[[Category:Pages using Canadian election result top with no navbar link]]|}}}}}}}}<!--
 
  Table ‘Title’ (e.g. “Alberta general election, 1955” or “Manitoba provincial by-election, November 21, 2000”)
-->{{#ifeq:{{{by}}}|yes|{{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta provincial|BC=British Columbia provincial|MB=Manitoba provincial|NB=New Brunswick provincial|NF=Newfoundland provincial|NL=Newfoundland and Labrador provincial|NS=Nova Scotia provincial|NT=Northwest Territories territorial|N-W=North-West Territories territorial|NU=Nunavut territorial|ON=Ontario provincial|PE=Prince Edward Island provincial|QC=Quebec provincial|SK=Saskatchewan provincial|YK|YT=Yukon territorial|MTL=Montreal municipal|VAN=Vancouver municipal|#default={{{jurisdiction|{{{1|}}}}}}}} by-election, {{#if:{{{by-link|}}}|[[{{{by-link}}}|{{{election|{{{2}}}}}}]]|{{{election|{{{2}}}}}}}}|[[{{#if:{{{election|}}}|{{{election}}}|{{#if:{{{2|}}}|{{{2}}}}}}} {{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta general|BC=British Columbia general|MB=Manitoba general|NB=New Brunswick general|NF=Newfoundland general|NL=Newfoundland and Labrador general|NS=Nova Scotia general|NT=Northwest Territories general|N-W=North-West Territories general|NU=Nunavut general|ON=Ontario general|PE=Prince Edward Island general|QC=Quebec general|SK=Saskatchewan general|YK|YT=Yukon general|MTL=Montreal municipal|OTT=Ottawa municipal|TOR=Toronto municipal|VAN=Vancouver municipal|{{{jurisdiction|{{{1}}}}}}}} election]]}}<!--
 
  Riding name (e.g. [[Cole Harbour-Eastern Passage]]) — Suppress if template transcluded into that article
-->{{#ifeq:{{PAGENAME}}|{{{riding_link|{{{3}}}}}}||{{#if:{{{riding_link|{{{3|}}}}}}|&#58; {{nowrap|[[{{{riding_link|{{{3}}}}}}{{#if:{{{riding|{{{4|}}}}}}|{{!}}{{{riding|{{{4}}}}}}}}]]}}}}}}<!--
 
  Ballot number (if specified) (e.g. “, ballot A”)
-->{{#if:{{{ballot|}}}|,&nbsp;ballot {{{ballot}}}}}<!--
 
  Special title line if "reason" for by-election specified (e.g. Resignation of [[Bugs Bunny]])
-->{{#if:{{{reason|}}}|<br />{{{reason|}}}}}{{{ref|}}}<!--
 
  Special title line  “The #### election will be held on (or before) …” -->
{{#if:{{{on|}}}|
{{!}}-
! colspan="9" <!--
-->style="text-align:center;background:lemonchiffon;color:black;{{{style|}}}"<!--
-->{{!}}<!--
  -->''The <!--
    -->{{#if:{{{by|}}}|by-|{{{election|{{{2}}}}}} {{#switch:{{{jurisdiction|{{{1}}}}}}||CA|AB|BC|MB|NB|NF|NL|NS|NT|NU|ON|PE|QC|SK|YK|YT=general&nbsp; |MTL|OTT|TOR|VAN=municipal&nbsp; |=}}}}<!--
    -->election will be held on {{#if:{{{pending|}}}|or before }} <!--
  -->{{#time:F j|{{{on|}}}}}<!--
  -->{{#if:{{{by|}}}|, {{#time:Y|{{{on|}}}}}}}.''<!--
 
  Special title line “Preliminary results…”
-->|{{#ifeq:{{lc:{{{prelim|no}}}}}|no|<!-- Anything other than “=no” → True — Add the “Preliminary results…” line -->|
{{!}}-
! colspan="9" <!--
-->style="text-align:center;{{{style|}}}"<!--
-->{{!}}{{large|''** Preliminary results — Not yet official **''}}<!--
--><includeonly>{{category handler|main=[[Category:Canada election preliminary results]]|template=[[Category:Canada election preliminary results]]|nocat={{{nocat|}}}}}</includeonly><!--
  End if "prelim"
-->}}<!--
  End if "on"
-->}}<!--
 
  Define table columns  -->
|-
{{#ifeq:{{{party|}}}|no||! colspan="{{#switch:{{{jurisdiction|{{{1}}}}}}|NT|NU=1|2}} style="width:{{#switch:{{{jurisdiction|{{{1}}}}}}|NT|NU=16|275}}" bgcolor="{{#switch:{{{jurisdiction|{{{1}}}}}}|NT|NU=CCCCCC|}}" {{!}}{{#switch:{{{jurisdiction|{{{1}}}}}}|NT|NU=|Party}}}}
! width="250px" |Candidate
! width="48px"  |{{#if:{{{1st|}}}|Votes<br/><small>1st&nbsp;count</small>|Votes}}{{#if:{{{percent|<noinclude>1</noinclude>}}}|
!! width="43px" {{!}}%|}}{{#if:{{{final|}}}|
!! width="52px" {{!}}Votes<br/><small>final&nbsp;count</small>|}}{{#if:{{{percent2|}}}|
!! width="43px" {{!}}%|}}{{#if:{{{change|<noinclude>1</noinclude>}}}|
!! width="52px" {{!}}{{Tooltip|±%|Change in percentage value since previous election}}|}}{{#if:{{{expenditures|<noinclude>1</noinclude>}}}|
!! width="90px" {{!}}Expenditures|}}{{#if:{{{elected|}}}|
!! width="47px" {{!}}Elected|}}<includeonly><!--
 
NO CATEGORIES FOR “testcases” & “sandbox” PAGES
-->{{#switch:{{lc:{{SUBPAGENAME}}}}|textcase|testcases|sandbox=|<!--
 
NO CATEGORIES FOR “Canadian election result” or its subpages
-->{{#switch:{{BASEPAGENAME}}|Canadian election result=|<!--
 
AUTOMATIC CATEGORY PLACEMENT IF FOR A RIDING
-->{{#if:{{{riding_link|{{{3|}}}}}}<!--
 
CATEGORY FOR BY-ELECTIONS
-->|{{#ifeq:{{{by}}}|yes|{{category handler|template=[[Category:{{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta provincial|BC=British Columbia provincial|MB=Manitoba provincial|NB=New Brunswick provincial|NF=Newfoundland provincial|NL=Newfoundland and Labrador provincial|NS=Nova Scotia provincial|NT=Northwest Territories territorial|N-W=North-West Territories territorial|NU=Nunavut territorial|ON=Ontario provincial|PE=Prince Edward Island provincial|QC=Quebec provincial|SK=Saskatchewan provincial|YK|YT=Yukon territorial|MTL=Montreal municipal|OTT=Ottawa municipal|TOR=Toronto municipal|VAN=Vancouver municipal|}} by-election results {{#switch:{{{jurisdiction|{{{1}}}}}}|CA|AB|BC|MB|NB|NF|NL|NS|NT|N-W|NU|ON|PE|QC|SK|YK|YT=by riding}} templates]]|nocat={{{nocat|}}}}}<!--
 
YEAR CATEGORY FOR GENERAL ELECTIONS
-->|{{category handler|template=[[Category:{{{election|{{{2}}}}}} {{#switch:{{{jurisdiction|{{{1}}}}}}|CA=Canadian federal|AB=Alberta general|BC=British Columbia general|MB=Manitoba general|NB=New Brunswick general|NF=Newfoundland general|NL=Newfoundland and Labrador general|NS=Nova Scotia general|NT=Northwest Territories general|N-W=North-West Territories general|NU=Nunavut general|ON=Ontario general|PE=Prince Edward Island general|QC=Quebec general|SK=Saskatchewan general|YK|YT=Yukon general|MTL=Montreal municipal|OTT=Ottawa municipal|TOR=Toronto municipal|VAN=Vancouver municipal|}} election results {{#switch:{{{jurisdiction|{{{1}}}}}}|CA|AB|BC|MB|NB|NF|NL|NS|NT|N-W|NU|ON|PE|QC|SK|YK|YT=by riding}} templates|{{{riding|{{{3}}}}}}]]|nocat={{{nocat|}}}}}}}<!--
 
COMPLETE LIST
-->{{category handler|template=[[Category:Canada election result templates (complete list)]]|nocat={{{nocat|}}}}}}}<!-- Close Switch BASEPAGENAME & SUBPAGENAME -->}}}}</includeonly><noinclude>
|}
{{documentation}}
{{Documentation|Template:Canadian election result/doc}}
{{Canadian election result/testcases}}
</noinclude>

$2, $3 dagi (joriy) koʻrinishi

[[ {{{1}}} election]]
Party Candidate Votes % ±% Expenditures
Documentation icon Andoza hujjati[yaratish]
Documentation icon Andoza hujjati[yaratish]

Andoza:Canadian election result/testcases