Difference between revisions of "Template:Constituency changes/doc"
Jump to navigation
Jump to search
imported>Frietjes m (Frietjes moved page Template:Election changes/doc to Template:Constituency changes/doc) |
imported>Frietjes (→Usage) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 16: | Line 16: | ||
{{end}} | {{end}} | ||
</pre> | </pre> | ||
| + | or | ||
| + | <pre> | ||
| + | {{constituency changes start|con=Panel}} | ||
| + | {{constituency changes | ||
| + | |date = | ||
| + | |month = | ||
| + | |year = | ||
| + | |con = | ||
| + | |gain = | ||
| + | |loss = | ||
| + | |note = | ||
| + | }} | ||
| + | {{end}} | ||
| + | </pre> | ||
| + | or | ||
| + | <pre> | ||
| + | {{constituency changes start|nocon=true}} | ||
| + | {{constituency changes | ||
| + | |date = | ||
| + | |month = | ||
| + | |year = | ||
| + | |gain = | ||
| + | |loss = | ||
| + | |note = | ||
| + | }} | ||
| + | {{end}} | ||
| + | </pre> | ||
| + | |||
== Example == | == Example == | ||
<pre> | <pre> | ||
Latest revision as of 22:19, 17 March 2015
| This is a documentation subpage for Template:Constituency changes. It contains usage information, categories and other content that is not part of the original template page. |
The {{constituency changes start}}, {{constituency changes}}, and {{end}} templates may be used to create a sortable table showing party/constituency changes over time.
Usage
{{constituency changes start}}
{{constituency changes
|date =
|month =
|year =
|con =
|gain =
|loss =
|note =
}}
{{end}}
or
{{constituency changes start|con=Panel}}
{{constituency changes
|date =
|month =
|year =
|con =
|gain =
|loss =
|note =
}}
{{end}}
or
{{constituency changes start|nocon=true}}
{{constituency changes
|date =
|month =
|year =
|gain =
|loss =
|note =
}}
{{end}}
Example
{{constituency changes start}}
{{constituency changes
|date = 22
|month = December
|year = 2011
|con = 6th district
|gain = Croatian Democratic Union
|loss = Democratic Centre (Croatia)
|note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ
}}
{{constituency changes
|date = 30
|month = May
|year = 2012
|con = 4th district
|gain = Croatian Democratic Alliance of Slavonia and Baranja
|loss = Croatian Democratic Union
|note = [[Josip Salapić]] left HDZ and joined HDSSB
}}
{{end}}
| Date | Script error: No such module "If empty". | Gain | Loss | Note | ||
|---|---|---|---|---|---|---|
| 22 December 2011 | 6th district | HDZ | DC | Vesna Škare-Ožbolt of DC was replaced by Ivana Roksandić of HDZ | ||
| 30 May 2012 | 4th district | HDSSB | HDZ | Josip Salapić left HDZ and joined HDSSB
|