Difference between revisions of "Template:Election winner list begin/doc"

From blackwiki
Jump to navigation Jump to search
imported>PinkPanda272
m
imported>PinkPanda272
(→‎Usage: Example)
Line 2: Line 2:
  
 
== Usage ==
 
== Usage ==
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. This template creates a header, use {{tl|Election winner list with party link}} for individual rows.
+
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. This template creates the header, use {{tl|Election winner list with party link}} for individual rows.
 +
 
 +
===Blank Template===
 +
<nowiki>
 +
{{Election winner list start
 +
|title      =
 +
|area_name  =
 +
|rep_name  =
 +
}}</nowiki>
 +
 
 +
===Example===
 +
Inserting...
 +
<nowiki>
 +
{{Election winner list start
 +
|title      = 2020 Martian general election
 +
|area_name  = Constituency
 +
|rep_name  = Senator
 +
}}</nowiki>
 +
 
 +
Produces...
 +
{{Election winner list start
 +
|title      = 2020 Martian general election
 +
|area_name  = Constituency
 +
|rep_name  = Senator
 +
}}
  
 
<includeonly>{{Sandbox other||[[Category:Election and referendum infobox templates]]
 
<includeonly>{{Sandbox other||[[Category:Election and referendum infobox templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:52, 11 May 2020

Usage

Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. This template creates the header, use {{Election winner list with party link}} for individual rows.

Blank Template

{{Election winner list start
|title      =
|area_name  =
|rep_name   =
}}

Example

Inserting...

{{Election winner list start
|title      = 2020 Martian general election
|area_name  = Constituency
|rep_name   = Senator
}}

Produces...

2020 Martian general election
Constituency Senator