Template:National legislature: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(34 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| align="right" cellpadding="3" cellspacing="0" width="300" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: | <includeonly>{| align="right" cellpadding="3" cellspacing="0" width="300" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 90%;" | ||
|- style="font-size:larger;" | |- style="font-size:larger;" | ||
!colspan="2" align="center" | <div style="background:#c4c4c4;">{{{ | !colspan="2" align="center" | <div style="background:#c4c4c4;">{{{name}}}{{#if: {{{native_name|}}} | <br /><span style="font-size:80%; font-style:italic;">{{{native_name}}}</span> | }}</div> | ||
|- | |- {{#if: {{{logo|}}} | | style="display: none;" }} | ||
| colspan="2" align="center" | [[ | | colspan="2" align="center" | [[File:{{{logo}}}|{{{size|145px}}}|{{{logo_alt}}}]]{{#if: {{{logo_caption|}}} | <br />{{{logo_caption}}} | }} | ||
|- | |- {{#if: {{{legislature_type|}}}{{{house1|}}}{{{house2|}}}{{{house3|}}}{{{house4|}}} | | style="display: none;" }} | ||
!colspan="2" align="center" | <div style="background:#c4c4c4;">Type</div> | !colspan="2" align="center" | <div style="background:#c4c4c4;">Type</div> | ||
|- | |- {{#if: {{{legislature_type|}}} | | style="display: none;" }} | ||
| width=" | | width="100" valign="top" | '''Type''' || {{{legislature_type}}} | ||
|- | |- valign="top" {{#if: {{{house1|}}}{{{house2|}}}{{{house3|}}}{{{house4|}}} | | style="display: none;" }} | ||
| | | width="100"| {{#if: {{{house2|}}}{{{house3|}}}{{{house4|}}} | '''Houses''' | '''House'''}} | ||
|- | | {{{house1|}}} {{#if: {{{house2|}}} | <br />{{{house2}}} | }}{{#if: {{{house3|}}} | <br />{{{house3}}} | }}{{#if: {{{house4|}}} | <br />{{{house4}}} | }} | ||
|- {{#if: {{{leader1_title|}}}{{{leader2_title|}}}{{{leader3_title|}}}{{{leader4_title|}}}{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}{{{leader4|}}} | | style="display: none;" }} | |||
!colspan="2" align="center" | <div style="background:#c4c4c4;">Leadership</div> | !colspan="2" align="center" | <div style="background:#c4c4c4;">Leadership</div> | ||
|- | |- valign="top" {{#if: {{{leader1_title|}}}{{{leader1|}}} | | style="display: none;" }} | ||
| valign="top" | '''{{{ | | width="100"| '''{{{leader1_title}}}''' || {{{leader1}}} | ||
|- | |- valign="top" {{#if: {{{leader2_title|}}}{{{leader2|}}} | | style="display: none;" }} | ||
| valign="top" | '''{{{ | | width="100"| '''{{{leader2_title}}}''' || {{{leader2}}} | ||
|- | |- valign="top" {{#if: {{{leader3_title|}}}{{{leader3|}}} | | style="display: none;" }} | ||
| width="100"| '''{{{leader3_title}}}''' || {{{leader3}}} | |||
|- valign="top" {{#if: {{{leader4_title|}}}{{{leader4|}}} | | style="display: none;" }} | |||
| width="100"| '''{{{leader4_title}}}''' || {{{leader4}}} | |||
|- {{#if: {{{seats|}}}{{{structure1|}}}{{{political_groups1|}}}{{{term1|}}}{{{structure2|}}}{{{political_groups2|}}}{{{term2|}}}{{{structure3|}}}{{{political_groups3|}}}{{{term3|}}}{{{structure4|}}}{{{political_groups4|}}}{{{term4|}}} | | style="display: none;" }} | |||
!colspan="2" align="center" | <div style="background:#c4c4c4;">Structure</div> | !colspan="2" align="center" | <div style="background:#c4c4c4;">Structure</div> | ||
|- | |- valign="top" {{#if: {{{seats|}}} | | style="display: none;" }} | ||
| | | width="100"| '''Seats''' || {{{seats}}} | ||
|- | |- valign="top" {{#if: {{{structure1|}}} | | style="display: none;" }} | ||
| colspan="2" align="center" | [[File:{{{structure1}}}|{{{structure1_size|250px}}}|{{{structure1_alt}}}]] | |||
|- | |- valign="top" {{#if: {{{political_groups1|}}} | | style="display: none;" }} | ||
| | | width="100"| '''{{{house1}}} {{#if: {{{house1|}}} | political | Political }} groups''' || {{{political_groups1}}} | ||
|- | |- valign="top" {{#if: {{{term1|}}} | | style="display: none;" }} | ||
| valign="top" | '''Length of term''' || {{{ | | width="100" | '''Length of term''' || {{{term1}}} | ||
|- | |- valign="top" {{#if: {{{structure2|}}} | | style="display: none;" }} | ||
| colspan="2" align="center" | [[File:{{{structure2}}}|{{{structure2_size|250px}}}|{{{structure2_alt}}}]] | |||
|- | |- valign="top" {{#if: {{{political_groups2|}}} | | style="display: none;" }} | ||
| valign="top" | ''' | | width="100"| '''{{{house2}}} political groups''' || {{{political_groups2}}} | ||
|- | |- valign="top" {{#if: {{{term2|}}} | | style="display: none;" }} | ||
| valign="top" | '''Length of term''' || {{{ | | width="100" | '''Length of term''' || {{{term2}}} | ||
|- | |- valign="top" {{#if: {{{structure3|}}} | | style="display: none;" }} | ||
| colspan="2" align="center" | [[File:{{{structure3}}}|{{{structure3_size|250px}}}|{{{structure3_alt}}}]] | |||
|- valign="top" {{#if: {{{political_groups3|}}} | | style="display: none;" }} | |||
| width="100"| '''{{{house3}}} political groups''' || {{{political_groups3}}} | |||
|- valign="top" {{#if: {{{term3|}}} | | style="display: none;" }} | |||
| width="100" | '''Length of term''' || {{{term3}}} | |||
|- valign="top" {{#if: {{{structure4|}}} | | style="display: none;" }} | |||
| colspan="2" align="center" | [[File:{{{structure4}}}|{{{structure4_size|250px}}}|{{{structure4_alt}}}]] | |||
|- valign="top" {{#if: {{{political_groups4|}}} | | style="display: none;" }} | |||
| width="100"| '''{{{house4}}} political groups''' || {{{political_groups4}}} | |||
|- valign="top" {{#if: {{{term4|}}} | | style="display: none;" }} | |||
| width="100" | '''Length of term''' || {{{term4}}} | |||
|- {{#if:{{{voting_system1|}}}{{{voting_system2|}}}{{{voting_system3|}}}{{{voting_system4|}}}{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}{{{last_election4|}}}{{{next_election1|}}}{{{next_election2|}}}{{{next_election3|}}}{{{next_election4|}}} | | style="display: none;" }} | |||
!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" | ''' | | width="100" | '''{{{house1}}} {{#if: {{{house1|}}} | {{wp|voting system}} | {{wp|Voting system}} }}''' || {{{voting_system1}}} | ||
|- | |- valign="top" {{#if: {{{voting_system2|}}} | | style="display: none;" }} | ||
| valign="top" | '''Last election''' || {{{ | | width="100" | '''{{{house2}}} {{wp|voting system}}''' || {{{voting_system2}}} | ||
|- | |- valign="top" {{#if: {{{voting_system3|}}} | | style="display: none;" }} | ||
| valign="top" | '''Next election''' || {{{ | | width="100" | '''{{{house3}}} {{wp|voting system}}''' || {{{voting_system3}}} | ||
|- | |- valign="top" {{#if: {{{voting_system4|}}} | | style="display: none;" }} | ||
| width="100" | '''{{{house4}}} {{wp|voting system}}''' || {{{voting_system4}}} | |||
|- valign="top" {{#if: {{{last_election1|}}} | | style="display: none;" }} | |||
| width="100" | '''Last {{{house1}}} election''' || {{{last_election1}}} | |||
|- valign="top" {{#if: {{{last_election2|}}} | | style="display: none;" }} | |||
| width="100" | '''Last {{{house2}}} election''' || {{{last_election2}}} | |||
|- valign="top" {{#if: {{{last_election3|}}} | | style="display: none;" }} | |||
| width="100" | '''Last {{{house3}}} election''' || {{{last_election3}}} | |||
|- valign="top" {{#if: {{{last_election4|}}} | | style="display: none;" }} | |||
| width="100" | '''Last {{{house4}}} election''' || {{{last_election4}}} | |||
|- valign="top" {{#if: {{{next_election1|}}} | | style="display: none;" }} | |||
| width="100" | '''Next {{{house1}}} election''' || {{{next_election1}}} | |||
|- valign="top" {{#if: {{{next_election2|}}} | | style="display: none;" }} | |||
| width="100" | '''Next {{{house2}}} election''' || {{{next_election2}}} | |||
|- valign="top" {{#if: {{{next_election3|}}} | | style="display: none;" }} | |||
| width="100" | '''Next {{{house3}}} election''' || {{{next_election3}}} | |||
|- valign="top" {{#if: {{{next_election4|}}} | | style="display: none;" }} | |||
| width="100" | '''Next {{{house4}}} election''' || {{{next_election4}}} | |||
|- {{#if: {{{meeting_place1|}}}{{{meeting_place2|}}}{{{meeting_place3|}}}{{{meeting_place4|}}} | | style="display: none;" }}} | |||
!colspan="2" align="center" | <div style="background:#c4c4c4;">Meeting Place</div> | !colspan="2" align="center" | <div style="background:#c4c4c4;">Meeting Place</div> | ||
|- | |- {{#if: {{{meeting_place1|}}} | | style="display: none;" }} | ||
| | | colspan="2" align="center" | [[File:{{{meeting_place1}}}|{{{meeting_place1_size|250px}}}|{{{meeting_place1_alt}}}]]{{#if: {{{meeting_place1_caption|}}} | <br />{{{meeting_place1_caption}}} | }} | ||
|- | |- {{#if: {{{meeting_place2|}}} | | style="display: none;" }} | ||
| | | colspan="2" align="center" | [[File:{{{meeting_place2}}}|{{{meeting_place2_size|250px}}}|{{{meeting_place2_alt}}}]]{{#if: {{{meeting_place2_caption|}}} | <br />{{{meeting_place2_caption}}} | }} | ||
|- | |- {{#if: {{{meeting_place3|}}} | | style="display: none;" }} | ||
|} | | colspan="2" align="center" | [[File:{{{meeting_place3}}}|{{{meeting_place3_size|250px}}}|{{{meeting_place3_alt}}}]]{{#if: {{{meeting_place3_caption|}}} | <br />{{{meeting_place3_caption}}} | }} | ||
|- {{#if: {{{meeting_place4|}}} | | style="display: none;" }} | |||
| colspan="2" align="center" | [[File:{{{meeting_place4}}}|{{{meeting_place4_size|250px}}}|{{{meeting_place4_alt}}}]]{{#if: {{{meeting_place4_caption|}}} | <br />{{{meeting_place4_caption}}} | }} | |||
[[ | |}</includeonly><!-- | ||
</noinclude> | --><noinclude>{{doc}}</noinclude> |
Latest revision as of 19:14, 24 March 2025

The {{national legislature}} template provides an infobox for a legislature from a single chamber up to four houses.
Usage
Bicameral syntax
Livarian Parliament
| |
---|---|
![]() Seal of the Livarian Parliament | |
Type
| |
Type | Bicameral |
Houses | Noble Assembly Rada |
Structure
| |
Seats | Noble Assembly: 689 Rada: 750 |
Noble Assembly political groups | Stims |
Length of term | Lifetime |
Rada political groups | |
Length of term | 5 years |
Elections
| |
Rada voting system | 50% party list 50% first-past-the-post |
Last Rada election | |
Next Rada election |
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 = }}
ExpandFull 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:
For houses, consider values of |
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
|
The above documentation is transcluded from Template:National legislature/doc.
Subpages of this template.
Subpages of this template.