Difference between revisions of "Template:Infobox Grand National Assembly of Turkey electoral district/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(embedded)
imported>Niceguyedc
m (WPCleaner v1.36 - Repaired 1 link to disambiguation page - (You can help) - Turkish general election, 2015)
 
(One intermediate revision by one other user not shown)
Line 27: Line 27:
 
|embedded          = {{Infobox
 
|embedded          = {{Infobox
 
  | child  = yes | decat = yes
 
  | child  = yes | decat = yes
  | title  = <div style="background: #efefef; font-weight: bold;">Representation</div>
+
  | title  = {{#if:{{{Party1|}}}{{{Party2|}}}{{{Party3|}}}{{{Party4|}}}{{{Party5|}}}{{{Party6|}}}|<div style="background: #efefef; font-weight: bold;">Representation</div>}}
  
 
  | label1 = {{#if:{{{Party1}}}|[[{{{Party1}}}|{{{{{Party1}}}/meta/shortname}}]]}}
 
  | label1 = {{#if:{{{Party1}}}|[[{{{Party1}}}|{{{{{Party1}}}/meta/shortname}}]]}}
Line 41: Line 41:
 
  | label6 = {{#if:{{{Party6}}}|[[{{{Party6}}}|{{{{{Party6}}}/meta/shortname}}]]}}
 
  | label6 = {{#if:{{{Party6}}}|[[{{{Party6}}}|{{{{{Party6}}}/meta/shortname}}]]}}
 
  |  data6 = {{#if:{{{Party6|}}}|{{Composition bar|{{{Party6 seats|}}}|{{{Seats|}}}|hex={{{{{Party6|}}}/meta/color}}}}}}
 
  |  data6 = {{#if:{{{Party6|}}}|{{Composition bar|{{{Party6 seats|}}}|{{{Seats|}}}|hex={{{{{Party6|}}}/meta/color}}}}}}
}}{{Infobox
 
| child  = yes | decat = yes
 
| title  = <div style="background: #efefef; font-weight: bold;">[[Elections in Turkey|Elections]]</div>
 
  
  | label7 = Last election
+
  | data7  = <div style="background: #efefef; font-weight: bold;">[[Elections in Turkey|Elections]]</div>
  |  data7 = [[Turkish general election, 2011|12 June 2011]]
+
 
  | label8 = Next election
+
| label8 = Last election
  |  data8 = [[Turkish general election, 2015|7 June 2015]]
+
  |  data8 = [[Turkish general election, 2011|12 June 2011]]
  }}<div class="hlist" style="width:100%; border-top: 1px solid #c9c9c9;">
+
  | label9 = Next election
 +
  |  data9 = [[Turkish general election, June 2015|7 June 2015]]
 +
  | belowstyle = border-top: 1px solid #c9c9c9;
 +
| belowclass = hlist
 +
| below =
 
* [[Politics of Turkey]]
 
* [[Politics of Turkey]]
 
* [[List of political parties in Turkey|Political parties]]
 
* [[List of political parties in Turkey|Political parties]]
 
* [[Elections in Turkey|Elections]]
 
* [[Elections in Turkey|Elections]]
</div>
+
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:35, 21 August 2015

Template documentation[view] [edit] [history] [purge]

Template:Wraps infobox

Usage

{{{Name}}}
Script error: No such module "If empty".
for the Grand National Assembly of Turkey
[[File:{{{Map}}}|300px|alt={{{Name}}} highlighted in red on a beige political map of Turkeym|{{{Name}}} highlighted in red on a beige political map of Turkeym]]
{{{Name}}} shown within Turkey
Province[[Template:PAGENAMEBASE Province|Template:PAGENAMEBASE]]
Electorate{{{Voters}}}
Current Script error: No such module "If empty".
Created[[Turkish general election, {{{Created}}}|{{{Created}}}]]{{{Refs}}}
Seats{{{Seats}}}
MPs
Created from[[{{{Created from}}} (electoral district)|{{{Created from}}}]]
Subdistricts{{{Subdistricts}}}
Parent district[[{{{Parent}}} (electoral districts)|{{{Parent}}}]]
Turnout at last election{{{Turnout}}}
Ballot boxes{{{Ballot boxes}}}
{{Infobox Grand National Assembly of Turkey electoral district
| Name             = 
| Map              = 
| Voters           = 
| Created from     = 
| Created          = 
| Refs             = 
| Seats            = 
| Historical seats = 
| MPs              = 
| Subdistricts     = 
| Parent           = 
| Turnout          = 
| Ballot boxes     = 
| Party1           = 
| Party1 seats     = 
| Party2           = 
| Party2 seats     = 
| Party3           = 
| Party3 seats     = 
| Party4           = 
| Party4 seats     = 
| Party5           = 
| Party5 seats     = 
| Party6           = 
| Party6 seats     = 
}}

See also