Difference between revisions of "Template:ConstituencyChanges2/doc"

From blackwiki
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/ConstituencyChanges2 over time. It's {{tl|ConstituencyChanges2}}, but with Loss before Gain.
+
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|Constituency changes}}, but with Loss before Gain.
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>

Latest revision as of 14:16, 1 July 2018

The {{ConstituencyChanges2/start}}, {{ConstituencyChanges2}}, and {{end}} templates may be used to create a sortable table showing party/ConstituencyChanges2 over time. It's {{Constituency changes}}, 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