Template:National legislature/doc: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
(Created page with "<noinclude>{{Docsub}}</noinclude> The {{tl|national legislature}} template provides an infobox for a {{wp|legislature}}. {{wip}} ==Usage== ==Parameters== <includeonly> Category:Infobox templates </includeonly>")
 
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}}.
The {{tl|national legislature}} template provides an infobox for a {{wp|legislature}} from a single {{wp|chambers of parliament|chamber}} up to four houses.
{{wip}}
{{wip}}
==Usage==
==Usage==
<div id="basic" style="font-size:120%; font-weight:bold;">Bicameral syntax</div>
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;">
<pre><nowiki>{{</nowiki>National legislature
| name                  =
| native_name            =
| logo                  =
| size                  =
| logo_alt              =
| logo_description      =
| legislature_type      = {{wp|Bicameral}} <!--Change to {{wp|Unicameral}} for a single house-->
| house1                =
| house2                =
| leader1_title          =
| leader1                =
| leader2_title          =
| leader2                =
| seats                  =
| structure1            =
| structure1_size        =
| structure1_alt        =
| political_groups1      =
| term1                  =
| structure2            =
| structure2_size        =
| structure2_alt        =
| political_groups2      =
| term2                  =
| voting_system1        =
| voting_system2        =
| last_election1        =
| last_election2        =
| next_election1        =
| next_election2        =
| meeting_place1        =
| meeting_place1_size    =
| meeting_place1_alt    =
| meeting_place1_caption =
| meeting_place2        =
| meeting_place2_size    =
| meeting_place2_alt    =
| meeting_place2_caption =
}}</pre></div>
<div id="full" class="toccolours mw-collapsible mw-collapsed" style="border:none; background:none;"><span id="full title" style="font-size:120%; font-weight:bold;">Full syntax</span>
<div id="full syntax" class="mw-collapsible-content">The full syntax follows. Unused parameters may be left blank or omitted.
<div id="basic usage" style="background-color: transparent; width: 800px;">
<pre><nowiki>{{</nowiki>National legislature
| name                  =
| native_name            =
| logo                  =
| size                  =
| logo_alt              =
| logo_description      =
<!-- Type -->
| legislature_type      =
| house1                =
| house2                =
| house3                =
| house4                =
<!-- Leadership -->
| leader1_title          =
| leader1                =
| leader2_title          =
| leader2                =
| leader3_title          =
| leader3                =
| leader4_title          =
| leader4                =
<!-- Structure -->
| seats                  =
| structure1            =
| structure1_size        =
| structure1_alt        =
| political_groups1      =
| term1                  =
| structure2            =
| structure2_size        =
| structure2_alt        =
| political_groups2      =
| term2                  =
| structure3            =
| structure3_size        =
| structure3_alt        =
| political_groups3      =
| term3                  =
| structure4            =
| structure4_size        =
| structure4_alt        =
| political_groups4      =
| term4                  =
<!-- Elections -->
| voting_system1        =
| voting_system2        =
| voting_system3        =
| voting_system4        =
| last_election1        =
| last_election2        =
| last_election3        =
| last_election4        =
| next_election1        =
| next_election2        =
| next_election3        =
| next_election4        =
<!-- Meeting place -->
| meeting_place1        =
| meeting_place1_size    =
| meeting_place1_alt    =
| meeting_place1_caption =
| meeting_place2        =
| meeting_place2_size    =
| meeting_place2_alt    =
| meeting_place2_caption =
| meeting_place3        =
| meeting_place3_size    =
| meeting_place3_alt    =
| meeting_place3_caption =
| meeting_place4        =
| meeting_place4_size    =
| meeting_place4_alt    =
| meeting_place4_caption =
}}</pre></div></div></div>


==Parameters==
==Parameters==

Revision as of 20:52, 23 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.

This template is a work in progress.

Usage

Bicameral syntax

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                   = 
| size                   = 
| logo_alt               = 
| logo_description       = 
| legislature_type       = {{wp|Bicameral}} <!--Change to {{wp|Unicameral}} for a single house-->
| house1                 = 
| house2                 = 
| leader1_title          = 
| leader1                = 
| leader2_title          = 
| leader2                = 
| seats                  = 
| structure1             = 
| structure1_size        = 
| structure1_alt         = 
| political_groups1      = 
| term1                  = 
| structure2             = 
| structure2_size        = 
| structure2_alt         = 
| political_groups2      = 
| term2                  = 
| voting_system1         = 
| voting_system2         = 
| last_election1         = 
| last_election2         = 
| next_election1         = 
| next_election2         = 
| meeting_place1         = 
| meeting_place1_size    = 
| meeting_place1_alt     = 
| meeting_place1_caption = 
| meeting_place2         = 
| meeting_place2_size    = 
| meeting_place2_alt     = 
| meeting_place2_caption = 
}}
Full syntax

Parameters