Difference between revisions of "Template:Election winner list without party link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(Fix Linter errors)
imported>PinkPanda272
(update)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies.  
 
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies.  
Useful for candidates who do not representive a party with a Wikipedia article, use {{tl|Election winner list with party link}} for candidates representating a major party. This template creates an individual rows, use {{tl|Election winner list start}} for the header.
+
Useful for candidates who do not representive a party with a Wikipedia article, use {{tl|Election winner list with party link}} for candidates representating a major party. This template creates an individual rows, use {{tl|Election winner list begin}} for the header.
 
 
===Similar Templates===
 
{|class= "wikitable"
 
|+ Headers
 
! Template
 
! Numbered Subdivisions?
 
|-
 
| {{tl|Election winner list start}} ||{{tick}}
 
|-
 
| {{tl|Election winner list simple start}} ||{{cross}}
 
|}
 
 
 
{|class= "wikitable"
 
|+ Rows
 
! Template
 
! Numbered Subdivisions?
 
! Party link?
 
|-
 
| {{tl|Election winner list with party link}} ||{{tick}}||{{tick}}
 
|-
 
| {{tl|Election winner list simple with party link}} ||{{cross}}||{{tick}}
 
|-
 
| '''{{tl|Election winner list without party link}}''' ||{{tick}}||{{cross}}
 
|-
 
| {{tl|Election winner list simple without party link}} ||{{cross}}||{{cross}}
 
|}
 
 
 
  
 
===Blank Template===
 
===Blank Template===
Line 40: Line 13:
 
|party      =
 
|party      =
 
|result    =
 
|result    =
 +
|numbered  = yes/no
 
}}</nowiki>
 
}}</nowiki>
  

Revision as of 18:29, 5 December 2020

Usage

Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. Useful for candidates who do not representive a party with a Wikipedia article, use {{Election winner list with party link}} for candidates representating a major party. This template creates an individual rows, use {{Election winner list begin}} for the header.

Blank Template

{{Election winner list without party link
|area_number = 
|area       = 
|rep        =
|party      =
|result     =
|numbered   = yes/no
}}

Example

Inserting...

{{Election winner list start
|title       = 2020 Martian general election
|area_name   = District
|rep_name    = Senator
|result_name = Winning Party
}}}
{{Election winner list without party link
|area_number = 1
|area       = Olympus Mons
|rep        = [[Curiosity (Mars rover)|Curiosity]]
|party      = Red Planet Party
|result     =
}}
{{End}}

Produces...

2020 Martian general election
District Senator Winning Party
1 Olympus Mons Curiosity Red Planet Party