Template:National legislature/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Docsub}}</noinclude> | <noinclude>{{Docsub}}</noinclude> | ||
The {{tl|national legislature}} template provides an infobox for a {{wp|legislature}} from a single {{wp|chambers of parliament|chamber}} up to four houses. | The {{tl|national legislature}} template provides an infobox for a {{wp|legislature}} from a single {{wp|chambers of parliament|chamber}} up to four houses. | ||
==Usage== | ==Usage== | ||
<div id="basic" style="font-size:120%; font-weight:bold;">Bicameral syntax</div> | <div id="basic" style="font-size:120%; font-weight:bold;">Bicameral syntax</div> | ||
{{National legislature | |||
| name = Livarian Parliament | |||
| native_name = | |||
| logo = Livarian parliament seal.png | |||
| logo_alt = Livarian parliament seal | |||
| logo_caption = Seal of the Livarian Parliament | |||
| legislature_type = {{wp|Bicameral}} | |||
| house1 = Noble Assembly | |||
| house2 = Rada | |||
| leader1_title = | |||
| leader1 = | |||
| leader2_title = | |||
| leader2 = | |||
| seats = '''Noble Assembly:''' 689<br />'''Rada:''' 750 | |||
| structure1 = | |||
| structure1_alt = | |||
| political_groups1 = [[Stim]]s | |||
| term1 = Lifetime | |||
| structure2 = | |||
| structure2_alt = | |||
| political_groups2 = | |||
| term2 = 5 years | |||
| voting_system1 = | |||
| voting_system2 = 50% {{wp|party list}}<br />50% {{wp|first-past-the-post}} | |||
| last_election1 = | |||
| last_election2 = | |||
| next_election1 = | |||
| next_election2 = | |||
| meeting_place1 = | |||
| meeting_place1_alt = | |||
| meeting_place1_caption = | |||
| meeting_place2 = | |||
| meeting_place2_alt = | |||
| meeting_place2_caption = | |||
}} | |||
To use the template for a {{wp|bicameral}} legislature, copy and paste the following at the top of the article. For a {{wp|unicameral}} legislature, remove or leave <code>''xxx''2</code> parameters blank. | To use the template for a {{wp|bicameral}} legislature, copy and paste the following at the top of the article. For a {{wp|unicameral}} legislature, remove or leave <code>''xxx''2</code> parameters blank. | ||
<div id="basic usage" style="background-color: transparent; width: 800px;"> | <div id="basic usage" style="background-color: transparent; width: 800px;"> | ||
Line 10: | Line 45: | ||
| native_name = | | native_name = | ||
| logo = | | logo = | ||
| logo_alt = | | logo_alt = | ||
| | | logo_caption = | ||
| legislature_type = {{wp|Bicameral}} <!--Change to {{wp|Unicameral}} for a single house--> | | legislature_type = {{wp|Bicameral}} <!--Change to {{wp|Unicameral}} for a single house--> | ||
| house1 = | | house1 = | ||
Line 22: | Line 56: | ||
| seats = | | seats = | ||
| structure1 = | | structure1 = | ||
| structure1_alt = | | structure1_alt = | ||
| political_groups1 = | | political_groups1 = | ||
| term1 = | | term1 = | ||
| structure2 = | | structure2 = | ||
| structure2_alt = | | structure2_alt = | ||
| political_groups2 = | | political_groups2 = | ||
Line 38: | Line 70: | ||
| next_election2 = | | next_election2 = | ||
| meeting_place1 = | | meeting_place1 = | ||
| meeting_place1_alt = | | meeting_place1_alt = | ||
| meeting_place1_caption = | | meeting_place1_caption = | ||
| meeting_place2 = | | meeting_place2 = | ||
| meeting_place2_alt = | | meeting_place2_alt = | ||
| meeting_place2_caption = | | meeting_place2_caption = | ||
Line 56: | Line 86: | ||
| size = | | size = | ||
| logo_alt = | | logo_alt = | ||
| | | logo_caption = | ||
<!-- Type --> | <!-- Type --> | ||
| legislature_type = | | legislature_type = | ||
Line 127: | Line 157: | ||
==Parameters== | ==Parameters== | ||
{| class="wikitable" | |||
! Parameter !! Description !! Type !! Status !! Notes | |||
|- | |||
| {{code|name}} || Legislature name || String || '''Required''' || | |||
|- | |||
| {{code|native_name}} || Native name || String || Optional || | |||
|- | |||
| {{code|logo}} || Logo filename || String || Optional || | |||
|- | |||
| {{code|size}} || Logo size || String || Optional || Defaults to {{code|145px}} wide; omit to accept default. | |||
|- | |||
| {{code|logo_alt}} || Logo alt text || String || Optional || | |||
|- | |||
| {{code|logo_caption}} || Logo caption || String || Optional || Requires {{code|logo}} to display | |||
|} | |||
<includeonly> | <includeonly> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</includeonly> | </includeonly> |
Revision as of 01:59, 24 March 2025
![]() |
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
| |
---|---|
![]() 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
|