Template:National legislature: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 26: Line 26:
| width="100"| '''Seats''' || {{{seats}}}
| width="100"| '''Seats''' || {{{seats}}}
|- valign="top" {{#if: {{{structure1|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{structure1|}}} | | style="display: none;" }}
| colspan="2" align="center" | [[File:{{{structure1}}}|{{{structure1_size|280px}}}|{{{structure1_alt}}}]]
| colspan="2" align="center" | [[File:{{{structure1}}}|{{{structure1_size|250px}}}|{{{structure1_alt}}}]]
|- valign="top" {{#if: {{{political_groups1|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{political_groups1|}}} | | style="display: none;" }}
| width="100"| '''{{{house1}}} political groups''' || {{{political_groups1}}}
| width="100"| '''{{{house1}}} {{#if: {{{house1|}}} | political | Political }} groups''' || {{{political_groups1}}}
|- valign="top" {{#if: {{{term1|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{term1|}}} | | style="display: none;" }}
| width="100" | '''Length of term''' || {{{term1}}}
| width="100" | '''Length of term''' || {{{term1}}}
|- valign="top" {{#if: {{{structure2|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{structure2|}}} | | style="display: none;" }}
| colspan="2" align="center" | [[File:{{{structure2}}}|{{{structure2_size|280px}}}|{{{structure2_alt}}}]]
| colspan="2" align="center" | [[File:{{{structure2}}}|{{{structure2_size|250px}}}|{{{structure2_alt}}}]]
|- valign="top" {{#if: {{{political_groups2|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{political_groups2|}}} | | style="display: none;" }}
| width="100"| '''{{{house2}}} political groups''' || {{{political_groups2}}}
| width="100"| '''{{{house2}}} political groups''' || {{{political_groups2}}}
Line 38: Line 38:
| width="100" | '''Length of term''' || {{{term2}}}
| width="100" | '''Length of term''' || {{{term2}}}
|- valign="top" {{#if: {{{structure3|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{structure3|}}} | | style="display: none;" }}
| colspan="2" align="center" | [[File:{{{structure3}}}|{{{structure3_size|280px}}}|{{{structure3_alt}}}]]
| colspan="2" align="center" | [[File:{{{structure3}}}|{{{structure3_size|250px}}}|{{{structure3_alt}}}]]
|- valign="top" {{#if: {{{political_groups3|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{political_groups3|}}} | | style="display: none;" }}
| width="100"| '''{{{house3}}} political groups''' || {{{political_groups3}}}
| width="100"| '''{{{house3}}} political groups''' || {{{political_groups3}}}
Line 44: Line 44:
| width="100" | '''Length of term''' || {{{term3}}}
| width="100" | '''Length of term''' || {{{term3}}}
|- valign="top" {{#if: {{{structure4|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{structure4|}}} | | style="display: none;" }}
| colspan="2" align="center" | [[File:{{{structure4}}}|{{{structure4_size|280px}}}|{{{structure4_alt}}}]]
| colspan="2" align="center" | [[File:{{{structure4}}}|{{{structure4_size|250px}}}|{{{structure4_alt}}}]]
|- valign="top" {{#if: {{{political_groups4|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{political_groups4|}}} | | style="display: none;" }}
| width="100"| '''{{{house4}}} political groups''' || {{{political_groups4}}}
| width="100"| '''{{{house4}}} political groups''' || {{{political_groups4}}}
Line 52: Line 52:
!colspan="2" align="center" | <div style="background:#c4c4c4;">Elections</div>
!colspan="2" align="center" | <div style="background:#c4c4c4;">Elections</div>
|- valign="top" {{#if: {{{voting_system1|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{voting_system1|}}} | | style="display: none;" }}
| width="100" | '''{{{house1}}} {{wp|voting system}}''' || {{{voting_system1}}}
| width="100" | '''{{{house1}}} {{#if: {{{house1|}}} | {{wp|voting system}} | {{wp|Voting system}} }}''' || {{{voting_system1}}}
|- valign="top" {{#if: {{{voting_system2|}}} | | style="display: none;" }}
|- valign="top" {{#if: {{{voting_system2|}}} | | style="display: none;" }}
| width="100" | '''{{{house2}}} {{wp|voting system}}''' || {{{voting_system2}}}
| width="100" | '''{{{house2}}} {{wp|voting system}}''' || {{{voting_system2}}}

Latest revision as of 19:14, 24 March 2025

Template documentation

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