Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Referendum template: Difference between revisions

Template page
imported>GrandTarkin
No edit summary
imported>GrandTarkin
No edit summary
Line 1: Line 1:
<infobox>
{{Infobox election
  <title source="title1"/>
| election_name    =
  <data source="row4"/>
| country          =
   <data source="location">
| type              =
     <label>Location</label>
| ongoing          =
  </data>
| previous_election =
  <data source="date">
| previous_year    =
     <label>Date</label>
| outgoing_members  =  
  </data>
| election_date    =  
  <image source="image1">
| elected_members   =  
     <caption source="caption1"/>
| next_election     =
  </image>
| next_year        =
  <group>
| seats_for_election=
     <header>Results by voting area</header>
| majority_seats    =  
     <image source="image2">
| opinion_polls     =
       <caption source="caption2"/>
| turnout          =
     </image>
| image_size        =
  </group>
 
  <group>
<!-- party1 -->
     <header>Section Header</header>
| image1            =
     <data source="row4">
| leader1          =
       <label>Label</label>
| party1            =
     </data>
| leader_since1    =  
     <image source="image3">
| leaders_seat1     =
      <caption source="caption3"/>
| last_election1    =
     </image>
| seats_before1    =
  </group>
| seats_needed1     =
  <title source="title2"/>
| seats1            =
  <data source="row5">
| seat_change1      =
     <label>Label</label>
| popular_vote1     =  
  </data>
| percentage1       =
</infobox>
| swing1            =
<noinclude>
 
Example usage:<pre>
<!-- party2 -->
{{Referendum template
| image2            =
|title1=Example
| leader2          =
|row4=Example
| party2            =
|location=Example
| leader_since2    =  
|date=Example
| leaders_seat2     =
|image1=Example
| last_election2    =
|caption1=Example
| seats_before2    =
|image2=Example
| seats_needed2     =
|caption2=Example
| seats2            =
| seat_change2      =
| popular_vote2     =  
| percentage2       =
| swing2            =
 
<!-- party3 -->
| image3            =
| leader3          =
| party3            =
| leader_since3     =
| leaders_seat3     =  
| last_election3    =  
| seats_before3     =
| seats_needed3    =
| seats3            =  
| seat_change3      =  
| popular_vote3     =
| percentage3      =
| swing3            =
 
<!-- map -->
| map_image        =  
| map_size          =  
| map_caption      =  
 
<!-- bottom -->
| title            =  
| before_election  =  
| before_party      =  
| after_election    =  
| after_party      =  
}}
}}
</pre>
</noinclude>

Revision as of 15:31, 7 July 2019