Difference between revisions of "Template:ConstituencyChanges2/doc"
Jump to navigation
Jump to search
imported>FlyingChrysalis |
imported>FlyingChrysalis |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | The {{tl|ConstituencyChanges2/start}}, {{tl|ConstituencyChanges2}}, and {{tl|end}} templates may be used to create a sortable table showing party/ | + | The {{tl|ConstituencyChanges2/start}}, {{tl|ConstituencyChanges2}}, and {{tl|end}} templates may be used to create a sortable table showing party/ConstituencyChanges2 over time. It's {{tl|ConstituencyChanges2}}, but with Loss before Gain. |
== Usage == | == Usage == | ||
<pre> | <pre> | ||
| − | {{ | + | {{ConstituencyChanges2/start}} |
| − | {{ | + | {{ConstituencyChanges2 |
|date = | |date = | ||
|month = | |month = | ||
| Line 18: | Line 18: | ||
or | or | ||
<pre> | <pre> | ||
| − | {{ | + | {{ConstituencyChanges2/start|con=Panel}} |
| − | {{ | + | {{ConstituencyChanges2 |
|date = | |date = | ||
|month = | |month = | ||
| Line 32: | Line 32: | ||
or | or | ||
<pre> | <pre> | ||
| − | {{ | + | {{ConstituencyChanges2/start|nocon=true}} |
| − | {{ | + | {{ConstituencyChanges2 |
|date = | |date = | ||
|month = | |month = | ||
| Line 46: | Line 46: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
| − | {{ | + | {{ConstituencyChanges2/start}} |
| − | {{ | + | {{ConstituencyChanges2 |
|date = 22 | |date = 22 | ||
|month = December | |month = December | ||
| Line 56: | Line 56: | ||
|note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ | |note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ | ||
}} | }} | ||
| − | {{ | + | {{ConstituencyChanges2 |
|date = 30 | |date = 30 | ||
|month = May | |month = May | ||
| Line 67: | Line 67: | ||
{{end}} | {{end}} | ||
</pre> | </pre> | ||
| − | {{ | + | {{ConstituencyChanges2/start}} |
| − | {{ | + | {{ConstituencyChanges2 |
|date = 22 | |date = 22 | ||
|month = December | |month = December | ||
| Line 77: | Line 77: | ||
|note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ | |note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ | ||
}} | }} | ||
| − | {{ | + | {{ConstituencyChanges2 |
|date = 30 | |date = 30 | ||
|month = May | |month = May | ||
Revision as of 14:13, 1 July 2018
| This is a documentation subpage for Template:ConstituencyChanges2. It contains usage information, categories and other content that is not part of the original template page. |
The {{ConstituencyChanges2/start}}, {{ConstituencyChanges2}}, and {{end}} templates may be used to create a sortable table showing party/ConstituencyChanges2 over time. It's {{ConstituencyChanges2}}, but with Loss before Gain.
Usage
{{ConstituencyChanges2/start}}
{{ConstituencyChanges2
|date =
|month =
|year =
|con =
|loss =
|gain =
|note =
}}
{{end}}
or
{{ConstituencyChanges2/start|con=Panel}}
{{ConstituencyChanges2
|date =
|month =
|year =
|con =
|loss =
|gain =
|note =
}}
{{end}}
or
{{ConstituencyChanges2/start|nocon=true}}
{{ConstituencyChanges2
|date =
|month =
|year =
|loss =
|gain =
|note =
}}
{{end}}
Example
{{ConstituencyChanges2/start}}
{{ConstituencyChanges2
|date = 22
|month = December
|year = 2011
|con = 6th district
|loss = Democratic Centre (Croatia)
|gain = Croatian Democratic Union
|note = [[Vesna Škare-Ožbolt]] of DC was replaced by Ivana Roksandić of HDZ
}}
{{ConstituencyChanges2
|date = 30
|month = May
|year = 2012
|con = 4th district
|loss = Croatian Democratic Union
|gain = Croatian Democratic Alliance of Slavonia and Baranja
|note = [[Josip Salapić]] left HDZ and joined HDSSB
}}
{{end}}
| Date | Script error: No such module "If empty". | Loss | Gain | Note | ||
|---|---|---|---|---|---|---|
| 22 December 2011 | 6th district | DC | HDZ | Vesna Škare-Ožbolt of DC was replaced by Ivana Roksandić of HDZ | ||
| 30 May 2012 | 4th district | HDZ | style="background-color: Template:Official Monster Raving Loony Party/meta/color" | | [[Official Monster Raving Loony Party | Template:Official Monster Raving Loony Party/meta/shortname]] | George III left HDZ and joined MRLP |