سانچہ:Election box/دستاویز
یہ سانچہ:Election box کی دستاویز کا ذیلی صفحہ ہے۔ (سانچہ کی تفصیلات کے لیے اس کا اپنا صفحہ دیکھیں) اس میں استعمال کا طریقۂ کار ، زمرہ جات، بین الویکی روابط اور دیگر مواد شامل ہے جو کہ خود سانچہ صفحہ کا حصہ نہیں۔ |
یہ سانچہ:Election box کی دستاویز کا ذیلی صفحہ ہے۔ (سانچہ کی تفصیلات کے لیے اس کا اپنا صفحہ دیکھیں) اس میں استعمال کا طریقۂ کار ، زمرہ جات، بین الویکی روابط اور دیگر مواد شامل ہے جو کہ خود سانچہ صفحہ کا حصہ نہیں۔ |
اس سانچے میں حسب ذیل لوا ماڈیول زیر استعمال ہے: |
These election box templates are for displaying a list of candidates and results for any election. They produce tables like this (figures are just examples; they are not meant to work mathematically):
جماعت | امیدوار | ووٹ | % | |
---|---|---|---|---|
Conservative | John Smith | 549 101 | 63.8 | |
Labour | Jane Johnson | 201 52 | 31.6 | |
فاتح امیدوار کی عددی برتری | 700 153 | 72.4 | ||
کؙل ڈالے گئے ووٹ | 9,999 | 50.0 | ||
حلقے میں رجسٹرڈ ووٹرز کی تعداد | 998 319 | +3.6 |
TemplateData specific to Election box was not found. You can add it here.
Usage
ترمیمBasic
ترمیمThere are three basic templates:
- {{Election box begin}}
- {{Election box candidate}}
- {{Election box end}}
The begin and end templates start and end a table with appropriate columns and formatting. The candidate template is used once for each candidate and contributes a row to the table.
When using this template please use the election box end template rather than simply inserting |} at the end of the election box.
For example:
{{Election box begin |title=[[2005 United Kingdom general election|2005 general election]]: Strangford}} {{Election box candidate |party = Labour |candidate = Tony Blair |votes = 9,999 |percentage = 50.0 |change = +10.0 }} {{Election box candidate |party = Conservative |candidate = Michael Howard |votes = 9,999 |percentage = 50.0 |change = +10.0 }} {{Election box end}}
Will create this:
جماعت | امیدوار | ووٹ | % | ||
---|---|---|---|---|---|
Labour | Tony Blair | 9,999 | 50.0 | +10.0 | |
Conservative | Michael Howard | 9,999 | 50.0 | +10.0 |
Party links
ترمیمSee Template:Election box candidate with party link for usage and set-up.
Majority and turnout
ترمیمThree further templates:
can be added to record the majority, turnout and number of registered electors for an election. (In this context, "majority" refers to the winning margin between the first and second placed candidates.)
For example:
... {{Election box majority |votes = 9,999 |percentage = 50.0 |change = +10.0 }} {{Election box turnout |votes = 9,999 |percentage = 50.0 |change = +10.0 }} {{Election box registered electors| |reg. electors = 19,998 |ref = |change = +2.3 }} {{Election box end}}
Will create this:
جماعت | امیدوار | ووٹ | % | |
---|---|---|---|---|
Labour | Tony Blair | 9999 | 50.0 | |
Conservative | Michael Howard | 9999 | 50.0 | |
فاتح امیدوار کی عددی برتری | 9999 | 50.0 | ||
کؙل ڈالے گئے ووٹ | 9,999 | 50.0 | ||
حلقے میں رجسٹرڈ ووٹرز کی تعداد | 998 19 | +2.3 |
Election outcome
ترمیمFinally there are two templates:
that can be used to summarize the outcome of an election, in terms of whether the incumbent holds the seat or whether it is lost to another party.
For example:
... {{Election box hold with party link |winner = Labour Party (UK) |swing = +10.0 }} or... {{Election box gain with party link |winner = Conservative Party (UK) |loser = Labour Party (UK) |swing = +10.0 }} {{Election box end}}
Will create this:
جماعت | امیدوار | ووٹ | % | ||
---|---|---|---|---|---|
Labour | Tony Blair | 9999 | 50.0 | ||
Conservative | Michael Howard | 9999 | 50.0 | ||
فاتح امیدوار کی عددی برتری | 9999 | 50.0 | |||
کؙل ڈالے گئے ووٹ | 9,999 | 50.0 | |||
حلقے میں رجسٹرڈ ووٹرز کی تعداد | 998 19 | +9.9 | |||
Labour کامیاب | سوئنگ | +10.0 |
or this...
جماعت | امیدوار | ووٹ | % | ||
---|---|---|---|---|---|
Labour | Tony Blair | 9999 | 50.0 | ||
Conservative | Michael Howard | 9999 | 50.0 | ||
فاتح امیدوار کی عددی برتری | 9999 | 50.0 | |||
کؙل ڈالے گئے ووٹ | 9,999 | 50.0 | |||
حلقے میں رجسٹرڈ ووٹرز کی تعداد | 998 19 | +9.9 | |||
Conservative کامیاب از Labour | Swing | +10.0 |
Notes:
- The swing parameter represents Peter Snow's Swingometer measure, i.e. the percentage change (or swing) in the vote since the last election.
- When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using
<!-- and -->
) until the outcome is known. - Potentially there is a need for versions of these templates that do not have the party link mechanism. However, it can be argued that any party that has a successful candidate deserves an article about them and the full /meta/color treatment. The one obvious exception to this is, of course, independent candidates, who won't actually have a party. If / when there's a need, just create a non party link version of these templates.
- When
|change=
represents a decrease, use a minus sign (−), not a hyphen (-).
List of templates
ترمیمسانچہ:List of Election Box Templates
Blanks by country
ترمیمExtensions
ترمیم- Template:Election FPTP begin As 1, but includes an additional column for expenditures. Example
- Template:Election box begin for list As 1, but better suited to list-based multi-member constituencies. Example
- Template:Election box candidate for alliance As 3, with an additional "side" party. Example
See also
ترمیم- Template:Compact election box A more compact box for first-past-the-post elections