سانچہ:Election box candidate with party link

آزاد دائرۃ المعارف، ویکیپیڈیا سے

استعمال[ترمیم]

پارٹی روابط[ترمیم]

Template:Election box candidate with party link کا استعمال کرتے ہوئے زیادہ نفیس اثر حاصل کیا جا سکتا ہے۔ یہ امیدوار کی پارٹی سے ایک لنک جوڑتا ہے اور امیدوار کے بائیں جانب رنگین ٹیب بھی شامل کرتا ہے۔ مثال کے طور پر:


مثال کے طور پر:

 {{Election box begin | title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}
 {{Election box candidate with party link
   |party      = Labour Party (UK)
   |candidate  = Tony Blair
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box candidate with party link
   |party      = Conservative Party (UK)
   |candidate  = Michael Howard
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box end}}

یہ تخلیق کرے گا:


General Election 2005: Strangford
جماعت امیدوار ووٹ %
Labour Tony Blair 9999 50.0
Conservative Michael Howard 9999 50.0

تاہم، یہ ہر پارٹی کے لیے کچھ اضافی سیٹ اپ پر انحصار کرتا ہے۔ مزید تفصیلات کے لیے نیچے دیکھیں۔

ذیل میں اس سانچہ کی معلومات سانچہ دستاویز درج ہے جنہیں بصری خانہ ترمیم اور دیگر آلات استعمال کرتے ہیں۔

معلومات سانچہ Election box candidate with party link

A more sophisticated effect in election results tables can be achieved using this template. This adds a link to the candidate's party and also adds a color tab to the left of the candidate. See Election box begin and Election box end. See this template's page for a new party.

محددات سانچہ[انتظام TemplateData]

This template prefers inline formatting of parameters.

پیرامیٹروضاحتطرزحالت
Partyparty

The article name of the relevant party

مثال
Labour Party (UK)
صفحہمطلوب
Candidate namecandidate

کوئی وضاحت نہیں

اِسٹرنگمطلوب
Number of votesvotes

کوئی وضاحت نہیں

مثال
9,999
عددمطلوب
% vote sharepercentage

کوئی وضاحت نہیں

مثال
50.0
عددمطلوب
Vote share changechange

Number of percentage points more/less than the previous election.

مثال
+10.0
اِسٹرنگمطلوب

پارٹی سیٹ اپ[ترمیم]

الیکشن میں ہر پارٹی کے لیے تھوڑا تھوڑا سیٹ اپ کرنا ضروری ہے۔ اس میں اندراج پیدا کرنا شامل ہے۔

Module:Political party. 

دیکھیں the documentation کے لیے Module:Political partyتفصیلات کے لیے.

Microformat[ترمیم]

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

ذیلی سانچے[ترمیم]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

اقسام[ترمیم]

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.


سانچہ:List of Election Box Templates

مزید دیکھیے[ترمیم]