Template:Election winner list with party link: Difference between revisions
From WWII Archives
w>Primefac (convert to module use) |
Paul Sidle (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:54, 19 March 2023
{{{area}}} | {{{rep}}} | [[{{{party}}}|{{{party}}}]] |
File:Test Template Info-Icon.svg Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Election winner list with party link/doc.
File:Lua-Logo.svg | This template uses Lua: |
Usage
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. This template creates an individual rows, use {{Election winner list begin}} for the header.
Blank Template
{{Election winner list with party link |area_number = |area = |rep = |party = |result = |numbered = yes/no }}
Example
Inserting...
{{Election winner list begin |title = Example Election |area_name = Constituency |rep_name = MP |result_name = Result |numbered = yes }}} {{Election winner list with party link |area_number = 1 |area = [[Holborn and St Pancras (UK Parliament constituency)|Holborn and St Pancras]] |rep = [[Keir Starmer]] |party = Labour Party (UK) |result = hold }} {{Election winner list with party link |area_number = 2 |area = [[Uxbridge and South Ruislip (UK Parliament constituency)|Uxbridge and South Ruislip]] |rep = [[Boris Johnson]] |party = Conservative Party (UK) |result = hold }} {{End}}
Produces...
Constituency | MP | Result | ||
---|---|---|---|---|
1 | Holborn and St Pancras | Keir Starmer | Labour hold | |
2 | Uxbridge and South Ruislip | Boris Johnson | Conservative hold |