Template:National legislature/doc

From The World of Gotha
Jump to navigation Jump to search
This is a documentation subpage for Template:National legislature.
It may contain usage information, categories and other content that is not part of the original template page.

The {{national legislature}} template provides an infobox for a legislature from a single chamber up to four houses.

Usage

Bicameral syntax
Livarian Parliament
Livarian parliament seal
Seal of the Livarian Parliament
Type
Type Bicameral
Houses Noble Assembly
Rada
Leadership
'
'
{{{leader3_title}}} {{{leader3}}}
{{{leader4_title}}} {{{leader4}}}
Structure
Seats Noble Assembly: 689
Rada: 750
[[File:|250px|]]
Noble Assembly political groups Stims
Length of term Lifetime
[[File:|250px|]]
Rada political groups  
Length of term 5 years
[[File:{{{structure3}}}|250px|{{{structure3_alt}}}]]
{{{house3}}} political groups {{{political_groups3}}}
Length of term {{{term3}}}
[[File:{{{structure4}}}|250px|{{{structure4_alt}}}]]
{{{house4}}} political groups {{{political_groups4}}}
Length of term {{{term4}}}
Elections
Noble Assembly voting system
Rada voting system 50% party list
50% first-past-the-post
{{{house3}}} voting system {{{voting_system3}}}
{{{house4}}} voting system {{{voting_system4}}}
Last Noble Assembly election
Last Rada election  
Last {{{house3}}} election {{{last_election3}}}
Last {{{house4}}} election {{{last_election4}}}
Next Noble Assembly election
Next Rada election  
Next {{{house3}}} election {{{next_election3}}}
Next {{{house4}}} election {{{next_election4}}}
Meeting Place
[[File:|250px|]]
[[File:|250px|]]
[[File:{{{meeting_place3}}}|250px|{{{meeting_place3_alt}}}]]
[[File:{{{meeting_place4}}}|250px|{{{meeting_place4_alt}}}]]

To use the template for a bicameral legislature, copy and paste the following at the top of the article. For a unicameral legislature, remove or leave xxx2 parameters blank.

{{National legislature
| name                   = 
| native_name            = 
| logo                   = 
| logo_alt               = 
| logo_caption           = 
| legislature_type       = {{wp|Bicameral}} <!--Change to {{wp|Unicameral}} for a single house-->
| house1                 = 
| house2                 = 
| leader1_title          = 
| leader1                = 
| leader2_title          = 
| leader2                = 
| seats                  = 
| structure1             = 
| structure1_alt         = 
| political_groups1      = 
| term1                  = 
| structure2             = 
| structure2_alt         = 
| political_groups2      = 
| term2                  = 
| voting_system1         = 
| voting_system2         = 
| last_election1         = 
| last_election2         = 
| next_election1         = 
| next_election2         = 
| meeting_place1         = 
| meeting_place1_alt     = 
| meeting_place1_caption = 
| meeting_place2         = 
| meeting_place2_alt     = 
| meeting_place2_caption = 
}}
Full syntax

Parameters

Parameter Description Type Status Notes
name Legislature name String Required
native_name Native name String Optional
logo Logo filename String Optional
size Logo size String Optional Defaults to 145px wide; omit to accept default.
logo_alt Logo alt text String Optional
logo_caption Logo caption String Optional Requires logo to display
legislature_type Type String Optional For the legislature as a whole, recommended values are:
  • Single house: {{wp|Unicameral}}
  • Two houses: {{wp|Bicameral}}
  • Three houses: {{wp|Tricameral}}
  • Four houses: {{wp|Tetracameral}}

For houses, consider values of Upper house, Middle house, Lower house, or similar

house# House name String Optional Up to four houses are supported: house1, house2, house3, house4.
The house# value is used in political_groups#, voting_system#, last_election#, and next_election# descriptions.
leader#_title Leader title String Optional Up to four leader titles are supported. Required to display a leader name.
leader# Leader name String Optional Up to four leader names are supported.
seats Number of seats String Optional Seats by house may be specified and may be separated by a line break (<br />) if desired
structure# Apportionment diagram file name String Optional Up to four apportionment diagrams are supported.
structure#_size Apportionment diagram display size String Optional Defaults to 250px; omit to accept default size.
structure#_alt Apportionment diagram alt text String Optional
political_groups# Political groups represented in a house String Optional Up to four political groups are supported.
term# Term of office String Optional Up to four terms are supported.
voting_system# Voting system String Optional Up to four voting systems are supported
last_election# Date of last election String Optional Up to four last election dates are supported
next_election# Date of next election String Optional Up to four next election dates are supported
meeting_place# Meeting place image file name String Optional Up to four meeting places are supported.
meeting_place#_size Meeting place image display size String Optional Defaults to 250px; omit to a ccept default size.
meeting_place#_alt Meeting place alt text String Optional
meeting_place#_caption Meeting place caption String Optional Requires meeting_place# to display