ഫലകം:Election box candidate with party link

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

Usage[തിരുത്തുക]

Party links[തിരുത്തുക]

A more sophisticated effect can be achieved using Template:Election box candidate with party link. This adds a link to the candidate's party and also adds a color tab to the left of the candidate. For example:

For example:

 {{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}}

Will create this:

General Election 2005: Strangford
പാർട്ടി സ്ഥാനാർത്ഥി വോട്ടുകൾ % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0

However, this does rely on some additional setup for each party. See below for more details.

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Election box candidate with party link in articles based on its TemplateData.

TemplateData for 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.

ഫലകത്തിനുള്ള ചരങ്ങൾ[ടെമ്പ്ലേറ്റ്‌ഡേറ്റ കൈകാര്യം ചെയ്യുക]

ഈ ഫലകത്തിൽ വരികൾക്കിടയിലെ ഫോർമാറ്റിങ് ആണ് ചരങ്ങൾക്ക് ഉള്ളത്.

ചരംവിവരണംതരംസ്ഥിതി
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
പദംആവശ്യമാണ്

Party set up[തിരുത്തുക]

It is necessary to do some a little bit of setup for each party in the election. This involves creating an entry in Module:Political party. See the documentation for Module:Political party for details.

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.

Sub-templates[തിരുത്തുക]

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). Be cautious about using these if the person is still living, per WP:DOB.

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

Please do not remove instances of these sub-templates.

Classes[തിരുത്തുക]

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.

See also[തിരുത്തുക]

Election box begin[തിരുത്തുക]

Election box candidate[തിരുത്തുക]

Standard[തിരുത്തുക]

Winning[തിരുത്തുക]

Inline[തിരുത്തുക]


Election summary[തിരുത്തുക]

For parties without an article on Wikipedia.


Election box gain/hold/loss etc[തിരുത്തുക]

Election box majority[തിരുത്തുക]

Election box turnout[തിരുത്തുക]

Election box total and related[തിരുത്തുക]

Election box end[തിരുത്തുക]

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Election_box_candidate_with_party_link&oldid=3934704" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്