الگو:Infobox legislative election/doc
ظاهر
این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
This infobox is used for a parliamentary election with multiple parties winning seats.
Usage[ویرایش]
ناشناخته: {{{country}}} | ||||||||||||||||
| ||||||||||||||||
مشارکت | {{{turnout}}} | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
فهرست حزبهایی که کرسی به دست آوردند. نتیجهٔ تفصیلی در پایین. | ||||||||||||||||
[[پرونده:{{{map}}}|بیقاب|جایگزین={{{map_alt}}}|ایستاده=1.3]] | ||||||||||||||||
|
{{Infobox legislative election | ongoing = | results_sec = | election_name = | country = | previous_election = | next_election = | election_date = | turnout = | party1 = | colour1 = | party_leader1 = | percentage1 = | seats1 = | seats1_before = | party2 = | colour2 = | party_leader2 = | percentage2 = | seats2 = | seats2_before = | map = | map_upright = | map_alt = | map_caption = | title = | before_election = | before_party = | after_election = | after_party = }}
Parameters[ویرایش]
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.
first_election
- Change to "yes" if this the first election of its kind
election_name
- Name of the elections. It will default to the page title if left blank
country
- Name of the country or territory the elections are taking place in
previous_election
- Link to the previous elections (e.g. [[انتخابات سراسری بریتانیا (۲۰۱۰)]])
previous_election
- Link to the following elections (e.g. [[United Kingdom general election, 2015|2015]])
election_date
- Date of the elections
turnout
- % مشارکت انتخابات
party1..15
- Name of the party (e.g. United Party)
party_leader1..15
- Leader of the party
colour1..15
- Custom party colour
percentage1..15
- The party's popular vote share
percentage1..15_before
- The party's popular vote share at the last election
seats1..15
- Number of seats won by the party
seats1..15_before
- Number of seats won at the previous elections (template coding uses it to work out seat change)
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