الگو:جعبه اطلاعات انتخابات مجلس: تفاوت میان نسخهها
ظاهر
محتوای حذفشده محتوای افزودهشده
بدون خلاصۀ ویرایش |
|||
خط ۱: | خط ۱: | ||
<includeonly>{{Infobox |
|||
<includeonly>{{جعبه اطلاعات انتخابات چندحزبی/پایه |
|||
| |
| child = {{{child|{{{embed|}}}}}} |
||
| |
| bodyclass = {{#if:{{{election_date|}}}|vevent|}} |
||
| bodystyle = line-height: 1.5em; max-width: 32em; min-width:22em; width:auto; |
|||
| flag_year = {{{سال پرچم|}}}{{{flag_year|}}} |
|||
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|}}}}} |
|||
| previous_election = {{{انتخابات پیش|}}}{{{previous_election|}}} |
|||
| next_election = {{{انتخابات پس|}}}{{{next_election|}}} |
|||
| election_date = {{{تاریخ انتخابات|}}}{{{election_date|}}} |
|||
| turnout = {{{مشارکت|}}}{{{turnout|}}} |
|||
| ongoing = {{#اگر:{{{برگزارشوندگی|}}}|{{#ifeq:{{{برگزارشوندگی|}}}|بله|yes|{{#ifeq:{{{برگزارشوندگی|}}}|آری|yes|{{{برگزارشوندگی|}}}}}}}}}{{#if:{{{ongoing|}}}|{{#ifeq:{{{ongoing|}}}|بله|yes|{{#ifeq:{{{ongoing|}}}|آری|yes|{{{ongoing|}}}}}}}}} |
|||
| subheaderstyle = line-height:130%; |
|||
| party1 = {{{حزب۱|}}}{{{party1|}}} |
|||
| subheader1 = {{#if:{{{country|}}}|{{پرچمک|{{{country}}}|variant={{{flag_year|}}}|size=50px}}}}<hr /> |
|||
| party_leader1 = {{{رهبر حزب۱|}}}{{{party_leader1|}}} |
|||
| |
| subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}} |
||
|{{Succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%; |
|||
| seats1_before = {{{کرسیها پیش از۱|}}}{{{seats1_before|}}} |
|||
| left = {{{previous_election|}}} |
|||
| center = {{#if:{{{election_date|}}}|<b>{{{election_date}}}</b>}} |
|||
| right = {{{next_election|}}} |
|||
}} |
|||
|{{#if:{{{election_date|}}}|<b>{{{election_date}}}</b>}} |
|||
}} |
|||
| headerstyle = font-weight:normal; |
|||
| party2 = {{{حزب۲|}}}{{{party2|}}} |
|||
| header1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} کرسی موردنیاز اکثریت}}}} |
|||
| party_leader2 = {{{رهبر حزب۲|}}}{{{party_leader2|}}} |
|||
| seats2 = {{{کرسیها۲|}}}{{{seats2|}}} |
|||
| seats2_before = {{{کرسیها پیش از۲|}}}{{{seats2_before|}}} |
|||
| percentage2 = {{{درصد۲|}}}{{{percentage2|}}} |
|||
| datastyle = text-align:center; |
|||
| party3 = {{{حزب۳|}}}{{{party3|}}} |
|||
| labelstyle = width:5em;white-space:nowrap; |
|||
| party_leader3 = {{{رهبر حزب۳|}}}{{{party_leader3|}}} |
|||
| seats3 = {{{کرسیها۳|}}}{{{seats3|}}} |
|||
| seats3_before = {{{کرسیها پیش از۳|}}}{{{seats3_before|}}} |
|||
| percentage3 = {{{درصد۳|}}}{{{percentage3|}}} |
|||
| label2 = مشارکت |
|||
| party4 = {{{حزب۴|}}}{{{party4|}}} |
|||
| data2 = {{{turnout|}}} |
|||
| party_leader4 = {{{رهبر حزب۴|}}}{{{party_leader4|}}} |
|||
| seats4 = {{{کرسیها۴|}}}{{{seats4|}}} |
|||
| seats4_before = {{{کرسیها پیش از۴|}}}{{{seats4_before|}}} |
|||
| percentage4 = {{{درصد۴|}}}{{{percentage4|}}} |
|||
| label3 = Reporting |
|||
| party5 = {{{حزب۵|}}}{{{party5|}}} |
|||
| data3 = {{#if:{{{reporting|}}}|{{وسط|{{Percentage bar|{{{reporting}}}|{{{reporting}}}٪|1BCE0E}}}}{{small|تا تاریخ '''{{{last_update}}} {{{time_zone}}}''' }}}} |
|||
| party_leader5 = {{{رهبر حزب۵|}}}{{{party_leader5|}}} |
|||
| seats5 = {{{کرسیها۵|}}}{{{seats5|}}} |
|||
| seats5_before = {{{کرسیها پیش از۵|}}}{{{seats5_before|}}} |
|||
| percentage5 = {{{درصد۵|}}}{{{percentage5|}}} |
|||
| belowstyle = padding:0 3px |
|||
| party6 = {{{حزب۶|}}}{{{party6|}}} |
|||
| below = <nowiki /> |
|||
| party_leader6 = {{{رهبر حزب۶|}}}{{{party_leader6|}}} |
|||
{{(!}} class="wikitable" style="width: 100%; margin:0;" |
|||
| seats6 = {{{کرسیها۶|}}}{{{seats6|}}} |
|||
{{!-}} class="nowrap" |
|||
| seats6_before = {{{کرسیها پیش از۶|}}}{{{seats6_before|}}} |
|||
! حزب |
|||
| percentage6 = {{{درصد۶|}}}{{{percentage6|}}} |
|||
! رهبر |
|||
{{#ifeq:{{{ongoing|}}}|yes| |
|||
| party7 = {{{حزب۷|}}}{{{party7|}}} |
|||
{{#ifeq:{{{first_election|}}}|yes||! Current seats}} |
|||
| party_leader7 = {{{رهبر حزب۷|}}}{{{party_leader7|}}} |
|||
| |
|||
| seats7 = {{{کرسیها۷|}}}{{{seats7|}}} |
|||
! <abbr title="Percentage vote share">٪</abbr> |
|||
| seats7_before = {{{کرسیها پیش از۷|}}}{{{seats7_before|}}} |
|||
! کرسیها |
|||
| percentage7 = {{{درصد۷|}}}{{{percentage7|}}} |
|||
{{#ifeq:{{{first_election|}}}|yes||! <abbr title="Seat difference">±</abbr>}} |
|||
}} |
|||
| party8 = {{{حزب۸|}}}{{{party8|}}} |
|||
{{!-}} |
|||
| party_leader8 = {{{رهبر حزب۸|}}}{{{party_leader8|}}} |
|||
{{Alternating rows table section|es=background: #f2f2f2; |
|||
| seats8 = {{{کرسیها۸|}}}{{{seats8|}}} |
|||
|! {{Infobox legislative election/row |
|||
| seats8_before = {{{کرسیها پیش از۸|}}}{{{seats8_before|}}} |
|||
| |
| heading = {{{heading1|}}} |
||
| party = {{{party1|}}} |
|||
| |
| party_leader = {{If empty|{{{party_leader1|}}}|{{{leader1|}}}}} |
||
| |
| colour = {{If empty|{{{colour1|}}}|{{{color1|}}}}} |
||
| |
| percentage = {{{percentage1|}}} |
||
| |
| seats = {{{seats1|}}} |
||
| |
| seats_before = {{If empty|{{{seats1_before|}}}|{{{last_election1|}}}}} |
||
| ongoing = {{{ongoing|}}} |
|||
| |
| first_election = {{{first_election|}}} |
||
}} |
|||
| party_leader10 = {{{رهبر حزب۱۰|}}}{{{party_leader10|}}} |
|||
| ! {{Infobox legislative election/row |
|||
| seats10 = {{{کرسیها۱۰|}}}{{{seats10|}}} |
|||
| |
| heading = {{{heading2|}}} |
||
| |
| party = {{{party2|}}} |
||
| party_leader = {{If empty|{{{party_leader2|}}}|{{{leader2|}}}}} |
|||
| |
| colour = {{If empty|{{{colour2|}}}|{{{color2|}}}}} |
||
| |
| percentage = {{{percentage2|}}} |
||
| |
| seats = {{{seats2|}}} |
||
| |
| seats_before = {{If empty|{{{seats2_before|}}}|{{{last_election2|}}}}} |
||
| |
| ongoing = {{{ongoing|}}} |
||
| first_election = {{{first_election|}}} |
|||
}} |
|||
| party12 = {{{حزب۱۲|}}}{{{party12|}}} |
|||
| {{#if:{{{party3|}}}|! {{Infobox legislative election/row |
|||
| party_leader12 = {{{رهبر حزب۱۲|}}}{{{party_leader12|}}} |
|||
| |
| heading = {{{heading3|}}} |
||
| |
| party = {{{party3|}}} |
||
| |
| party_leader = {{If empty|{{{party_leader3|}}}|{{{leader3|}}}}} |
||
| colour = {{If empty|{{{colour3|}}}|{{{color3|}}}}} |
|||
| |
| percentage = {{{percentage3|}}} |
||
| |
| seats = {{{seats3|}}} |
||
| |
| seats_before = {{If empty|{{{seats3_before|}}}|{{{last_election3|}}}}} |
||
| |
| ongoing = {{{ongoing|}}} |
||
| first_election = {{{first_election|}}} |
|||
| percentage13 = {{{درصد۱۳|}}}{{{percentage13|}}} |
|||
}}}} |
|||
| {{#if:{{{party4|}}}|! {{Infobox legislative election/row |
|||
| party14 = {{{حزب۱۴|}}}{{{party14|}}} |
|||
| |
| heading = {{{heading4|}}} |
||
| |
| party = {{{party4|}}} |
||
| |
| party_leader = {{If empty|{{{party_leader4|}}}|{{{leader4|}}}}} |
||
| |
| colour = {{If empty|{{{colour4|}}}|{{{color4|}}}}} |
||
| percentage = {{{percentage4|}}} |
|||
| |
| seats = {{{seats4|}}} |
||
| |
| seats_before = {{If empty|{{{seats4_before|}}}|{{{last_election4|}}}}} |
||
| |
| ongoing = {{{ongoing|}}} |
||
| first_election = {{{first_election|}}} |
|||
| seats15_before = {{{کرسیها پیش از۱۵|}}}{{{seats15_before|}}} |
|||
}}}} |
|||
| percentage15 = {{{درصد۱۵|}}}{{{percentage15|}}} |
|||
| {{#if:{{{party5|}}}|! {{Infobox legislative election/row |
|||
| |
| heading = {{{heading5|}}} |
||
| |
| party = {{{party5|}}} |
||
| |
| party_leader = {{If empty|{{{party_leader5|}}}|{{{leader5|}}}}} |
||
| |
| colour = {{If empty|{{{colour5|}}}|{{{color5|}}}}} |
||
| percentage = {{{percentage5|}}} |
|||
| |
| seats = {{{seats5|}}} |
||
| |
| seats_before = {{If empty|{{{seats5_before|}}}|{{{last_election5|}}}}} |
||
| |
| ongoing = {{{ongoing|}}} |
||
| first_election = {{{first_election|}}} |
|||
| after_election = {{{پس انتخابات|}}}{{{after_election|}}} |
|||
}}}} |
|||
| after_party = {{{حزب بعدی|}}}{{{after_party|}}} |
|||
| {{#if:{{{party6|}}}|! {{Infobox legislative election/row |
|||
}}[[رده:مقالات دارای جعبه اطلاعات]]</includeonly><noinclude> |
|||
| heading = {{{heading6|}}} |
|||
{{توضیحات}}</noinclude> |
|||
| party = {{{party6|}}} |
|||
| party_leader = {{If empty|{{{party_leader6|}}}|{{{leader6|}}}}} |
|||
| colour = {{If empty|{{{colour6|}}}|{{{color6|}}}}} |
|||
| percentage = {{{percentage6|}}} |
|||
| seats = {{{seats6|}}} |
|||
| seats_before = {{If empty|{{{seats6_before|}}}|{{{last_election6|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party7|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading7|}}} |
|||
| party = {{{party7|}}} |
|||
| party_leader = {{If empty|{{{party_leader7|}}}|{{{leader7|}}}}} |
|||
| colour = {{If empty|{{{colour7|}}}|{{{color7|}}}}} |
|||
| percentage = {{{percentage7|}}} |
|||
| seats = {{{seats7|}}} |
|||
| seats_before = {{If empty|{{{seats7_before|}}}|{{{last_election7|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party8|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading8|}}} |
|||
| party = {{{party8|}}} |
|||
| party_leader = {{If empty|{{{party_leader8|}}}|{{{leader8|}}}}} |
|||
| colour = {{If empty|{{{colour8|}}}|{{{color8|}}}}} |
|||
| percentage = {{{percentage8|}}} |
|||
| seats = {{{seats8|}}} |
|||
| seats_before = {{If empty|{{{seats8_before|}}}|{{{last_election8|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party9|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading9|}}} |
|||
| party = {{{party9|}}} |
|||
| party_leader = {{If empty|{{{party_leader9|}}}|{{{leader9|}}}}} |
|||
| colour = {{If empty|{{{colour9|}}}|{{{color9|}}}}} |
|||
| percentage = {{{percentage9|}}} |
|||
| seats = {{{seats9|}}} |
|||
| seats_before = {{If empty|{{{seats9_before|}}}|{{{last_election9|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party10|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading10|}}} |
|||
| party = {{{party10|}}} |
|||
| party_leader = {{If empty|{{{party_leader10|}}}|{{{leader10|}}}}} |
|||
| colour = {{If empty|{{{colour10|}}}|{{{color10|}}}}} |
|||
| percentage = {{{percentage10|}}} |
|||
| seats = {{{seats10|}}} |
|||
| seats_before = {{If empty|{{{seats10_before|}}}|{{{last_election10|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party11|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading11|}}} |
|||
| party = {{{party11|}}} |
|||
| party_leader = {{If empty|{{{party_leader11|}}}|{{{leader11|}}}}} |
|||
| colour = {{If empty|{{{colour11|}}}|{{{color11|}}}}} |
|||
| percentage = {{{percentage11|}}} |
|||
| seats = {{{seats11|}}} |
|||
| seats_before = {{If empty|{{{seats11_before|}}}|{{{last_election11|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party12|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading12|}}} |
|||
| party = {{{party12|}}} |
|||
| party_leader = {{If empty|{{{party_leader12|}}}|{{{leader12|}}}}} |
|||
| colour = {{If empty|{{{colour12|}}}|{{{color12|}}}}} |
|||
| percentage = {{{percentage12|}}} |
|||
| seats = {{{seats12|}}} |
|||
| seats_before = {{If empty|{{{seats12_before|}}}|{{{last_election12|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party13|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading13|}}} |
|||
| party = {{{party13|}}} |
|||
| party_leader = {{If empty|{{{party_leader13|}}}|{{{leader13|}}}}} |
|||
| colour = {{If empty|{{{colour13|}}}|{{{color13|}}}}} |
|||
| percentage = {{{percentage13|}}} |
|||
| seats = {{{seats13|}}} |
|||
| seats_before = {{If empty|{{{seats13_before|}}}|{{{last_election13|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party14|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading14|}}} |
|||
| party = {{{party14|}}} |
|||
| party_leader = {{If empty|{{{party_leader14|}}}|{{{leader14|}}}}} |
|||
| colour = {{If empty|{{{colour14|}}}|{{{color14|}}}}} |
|||
| percentage = {{{percentage14|}}} |
|||
| seats = {{{seats14|}}} |
|||
| seats_before = {{If empty|{{{seats14_before|}}}|{{{last_election14|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party15|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading15|}}} |
|||
| party = {{{party15|}}} |
|||
| party_leader = {{If empty|{{{party_leader15|}}}|{{{leader15|}}}}} |
|||
| colour = {{If empty|{{{colour15|}}}|{{{color15|}}}}} |
|||
| percentage = {{{percentage15|}}} |
|||
| seats = {{{seats15|}}} |
|||
| seats_before = {{If empty|{{{seats15_before|}}}|{{{last_election15|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party16|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading16|}}} |
|||
| party = {{{party16|}}} |
|||
| party_leader = {{If empty|{{{party_leader16|}}}|{{{leader16|}}}}} |
|||
| colour = {{If empty|{{{colour16|}}}|{{{color16|}}}}} |
|||
| percentage = {{{percentage16|}}} |
|||
| seats = {{{seats16|}}} |
|||
| seats_before = {{If empty|{{{seats16_before|}}}|{{{last_election16|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party17|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading17|}}} |
|||
| party = {{{party17|}}} |
|||
| party_leader = {{If empty|{{{party_leader17|}}}|{{{leader17|}}}}} |
|||
| colour = {{If empty|{{{colour17|}}}|{{{color17|}}}}} |
|||
| percentage = {{{percentage17|}}} |
|||
| seats = {{{seats17|}}} |
|||
| seats_before = {{If empty|{{{seats17_before|}}}|{{{last_election17|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party18|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading18|}}} |
|||
| party = {{{party18|}}} |
|||
| party_leader = {{If empty|{{{party_leader18|}}}|{{{leader18|}}}}} |
|||
| colour = {{If empty|{{{colour18|}}}|{{{color18|}}}}} |
|||
| percentage = {{{percentage18|}}} |
|||
| seats = {{{seats18|}}} |
|||
| seats_before = {{If empty|{{{seats18_before|}}}|{{{last_election18|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party19|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading19|}}} |
|||
| party = {{{party19|}}} |
|||
| party_leader = {{If empty|{{{party_leader19|}}}|{{{leader19|}}}}} |
|||
| colour = {{If empty|{{{colour19|}}}|{{{color19|}}}}} |
|||
| percentage = {{{percentage19|}}} |
|||
| seats = {{{seats19|}}} |
|||
| seats_before = {{If empty|{{{seats19_before|}}}|{{{last_election19|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party20|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading20|}}} |
|||
| party = {{{party20|}}} |
|||
| party_leader = {{If empty|{{{party_leader20|}}}|{{{leader20|}}}}} |
|||
| colour = {{If empty|{{{colour20|}}}|{{{color20|}}}}} |
|||
| percentage = {{{percentage20|}}} |
|||
| seats = {{{seats20|}}} |
|||
| seats_before = {{If empty|{{{seats20_before|}}}|{{{last_election20|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party21|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading21|}}} |
|||
| party = {{{party21|}}} |
|||
| party_leader = {{If empty|{{{party_leader21|}}}|{{{leader21|}}}}} |
|||
| colour = {{If empty|{{{colour21|}}}|{{{color21|}}}}} |
|||
| percentage = {{{percentage21|}}} |
|||
| seats = {{{seats21|}}} |
|||
| seats_before = {{If empty|{{{seats21_before|}}}|{{{last_election21|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party22|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading22|}}} |
|||
| party = {{{party22|}}} |
|||
| party_leader = {{If empty|{{{party_leader22|}}}|{{{leader22|}}}}} |
|||
| colour = {{If empty|{{{colour22|}}}|{{{color22|}}}}} |
|||
| percentage = {{{percentage22|}}} |
|||
| seats = {{{seats22|}}} |
|||
| seats_before = {{If empty|{{{seats22_before|}}}|{{{last_election22|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party23|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading23|}}} |
|||
| party = {{{party23|}}} |
|||
| party_leader = {{If empty|{{{party_leader23|}}}|{{{leader23|}}}}} |
|||
| colour = {{If empty|{{{colour23|}}}|{{{color23|}}}}} |
|||
| percentage = {{{percentage23|}}} |
|||
| seats = {{{seats23|}}} |
|||
| seats_before = {{If empty|{{{seats23_before|}}}|{{{last_election23|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party24|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading24|}}} |
|||
| party = {{{party24|}}} |
|||
| party_leader = {{If empty|{{{party_leader24|}}}|{{{leader24|}}}}} |
|||
| colour = {{If empty|{{{colour24|}}}|{{{color24|}}}}} |
|||
| percentage = {{{percentage24|}}} |
|||
| seats = {{{seats24|}}} |
|||
| seats_before = {{If empty|{{{seats24_before|}}}|{{{last_election24|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party25|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading25|}}} |
|||
| party = {{{party25|}}} |
|||
| party_leader = {{If empty|{{{party_leader25|}}}|{{{leader25|}}}}} |
|||
| colour = {{If empty|{{{colour25|}}}|{{{color25|}}}}} |
|||
| percentage = {{{percentage25|}}} |
|||
| seats = {{{seats25|}}} |
|||
| seats_before = {{If empty|{{{seats25_before|}}}|{{{last_election25|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party26|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading26|}}} |
|||
| party = {{{party26|}}} |
|||
| party_leader = {{If empty|{{{party_leader26|}}}|{{{leader26|}}}}} |
|||
| colour = {{If empty|{{{colour26|}}}|{{{color26|}}}}} |
|||
| percentage = {{{percentage26|}}} |
|||
| seats = {{{seats26|}}} |
|||
| seats_before = {{If empty|{{{seats26_before|}}}|{{{last_election26|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party27|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading27|}}} |
|||
| party = {{{party27|}}} |
|||
| party_leader = {{If empty|{{{party_leader27|}}}|{{{leader27|}}}}} |
|||
| colour = {{If empty|{{{colour27|}}}|{{{color27|}}}}} |
|||
| percentage = {{{percentage27|}}} |
|||
| seats = {{{seats27|}}} |
|||
| seats_before = {{If empty|{{{seats27_before|}}}|{{{last_election27|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party28|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading28|}}} |
|||
| party = {{{party28|}}} |
|||
| party_leader = {{If empty|{{{party_leader28|}}}|{{{leader28|}}}}} |
|||
| colour = {{If empty|{{{colour28|}}}|{{{color28|}}}}} |
|||
| percentage = {{{percentage28|}}} |
|||
| seats = {{{seats28|}}} |
|||
| seats_before = {{If empty|{{{seats28_before|}}}|{{{last_election28|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party29|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading29|}}} |
|||
| party = {{{party29|}}} |
|||
| party_leader = {{If empty|{{{party_leader29|}}}|{{{leader29|}}}}} |
|||
| colour = {{If empty|{{{colour29|}}}|{{{color29|}}}}} |
|||
| percentage = {{{percentage29|}}} |
|||
| seats = {{{seats29|}}} |
|||
| seats_before = {{If empty|{{{seats29_before|}}}|{{{last_election29|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
| {{#if:{{{party30|}}}|! {{Infobox legislative election/row |
|||
| heading = {{{heading30|}}} |
|||
| party = {{{party30|}}} |
|||
| party_leader = {{If empty|{{{party_leader30|}}}|{{{leader30|}}}}} |
|||
| colour = {{If empty|{{{colour30|}}}|{{{color30|}}}}} |
|||
| percentage = {{{percentage30|}}} |
|||
| seats = {{{seats30|}}} |
|||
| seats_before = {{If empty|{{{seats30_before|}}}|{{{last_election30|}}}}} |
|||
| ongoing = {{{ongoing|}}} |
|||
| first_election = {{{first_election|}}} |
|||
}}}} |
|||
}} |
|||
{{!)}} |
|||
<div class="nowrap" style="width:100%;font-style: italic; padding:0.3em;">{{#ifeq:{{{ongoing|}}}|yes||فهرست حزبهایی که کرسی به دست آوردند. نتیجهٔ تفصیلی در [[#{{{results_sec|نتایج}}}|پایین]].}}</div><!-- |
|||
-->{{Infobox|child=yes |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}} |
|||
| imagestyle = border-top:1px #aaa solid; padding:0.3em 0.5em; |
|||
| caption = {{{map_caption|}}} |
|||
| belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em; |
|||
| below = |
|||
{{#if:{{{before_election|}}}{{{after_election|}}}|<table style="width: 100%; border-spacing: 0;"> |
|||
<tr> |
|||
<th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{before_election|}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{{title}}}|{{{title}}} پیشین}}}}</th> |
|||
<th {{#if:{{{after_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:right;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{after_election|}}}|{{If empty|{{{posttitle|}}}|{{پیوندزدایی|1={{{title}}}}} after}}}}}}</th> |
|||
</tr> |
|||
<tr>{{#if:{{{before_image|}}}| |
|||
<td style="padding-right: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{before_image|}}}|size={{{before_image_size|}}}|sizedefault=x65px}}</td>}} |
|||
<td style="width: 50%;">{{{before_election|}}}{{#if:{{{before_party|}}}|<br />{{Infobox election/shortname|name={{{before_party}}}}}}}</td> |
|||
<td style="text-align:right; width: 50%;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}{{#if:{{{after_party|}}}|<br />{{Infobox election/shortname|name={{{after_party}}}}}}}}}}}</td>{{#if:{{{after_image|}}}| |
|||
<td style="padding-left: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{after_image|}}}|size={{{after_image_size|}}}|sizedefault=x65px}}</td>}} |
|||
</tr> |
|||
</table>}} }} |
|||
}}</includeonly><noinclude> |
|||
{{توضیحات}} |
|||
</noinclude> |
نسخهٔ ۱۹ سپتامبر ۲۰۱۹، ساعت ۱۳:۵۱
این الگو از لوآ استفاده میکند: |
این الگو برای انتخابات پارلمانی چندحزبی بکار میرود.
استفاده
{{country data {{{country}}}|flagicon/core|variant=|size=50px}} | ||||||||||||||||
| ||||||||||||||||
{{{seats_for_election}}} {{{majority_seats}}} کرسی موردنیاز اکثریت | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
مشارکت | {{{turnout}}} | |||||||||||||||
فهرست حزبهایی که کرسی به دست آوردند. نتیجهٔ تفصیلی در پایین. | ||||||||||||||||
[[پرونده:{{{map}}}|بیقاب|جایگزین={{{map_alt}}}|ایستاده=1.3]] | ||||||||||||||||
|
{{Infobox legislative election | election_name = | country = | previous_election = | next_election = | election_date = | seats_for_election = <!-- description-- > | majority_seats = <!-- number --> | first_election = <!-- yes/no (blank is no)--> | opinion_polls = | ongoing = <!-- or future --> | results_sec = | turnout = | party1 = | colour1 = | leader1 = | percentage1 = <!-- incl. percentage sign --> | seats1 = | last_election1 = <!-- Write 'new' if new party --> | party2 = | colour2 = | leader2 = | percentage2 = <!-- incl. percentage sign --> | seats2 = | last_election2 = <!-- Write 'new' if new party --> | map = | map_upright = | map_alt = | map_caption = | title = <!-- Prime Minister or similar --> | before_election = | before_party = | after_election = | after_party = }}
پارامترها
election_name
- Name of the elections.
country
- Name of the country or territory the elections are taking place in
previous_election
- Link to the previous elections (e.g. [[انتخابات سراسری بریتانیا (۲۰۱۰)]])
following_election
- Link to the following elections (e.g. [[انتخابات سراسری بریتانیا (۲۰۱۵)]])
election_date
- Date of the elections
seats_for_election
- Description of which seats this election is about, incl. chamber and how many
majority_seats
- The number of seats needed for a majority
first_election
- Change to "yes" if this the first election of its kind
ongoing
- Change to "yes" if the election results haven't been released
results_sec
- Name of section in the article where the results of the election are listed.
turnout
- % میزان مشارکت
party1..30
- Name of the party (e.g. United Party)
leader1..30
- Leader of the party
colour1..30
- Custom party colour
percentage1..30
- The party's popular vote share
seats1..30
- Number of seats won by the party
last_election1..30
- Number of seats won at the previous elections (template coding uses it to work out seat change)
heading1..30
- Adds a heading above a particular results row
map
- Image file of a map
map_upright
- Map size scaling factor; default is
1.3
map_alt
- ویکیپدیا:متن جایگزین برای تصاویر
map_caption
- Caption text, perhaps including a {{Legend}}
title
- Title of the head of government (e.g. [[نخستوزیر بریتانیا]])
before_election
- Head of government before the elections
before_party
- Party of the head of government prior to the elections
before_image
- Image of the outgoing head of government
after_election
- Head of government after the elections
after_party
- Party of the head of government after the elections
after_image
- Image of the elected head of government