Template:Infobox legislature/doc

From The Democratikan Wiki
Revision as of 19:42, 26 December 2023 by wikipedia>Tom.Reding (→‎top: {{High-use}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Infobox to be used in articles about a legislature as a whole, or any chamber found within a unicameral, bicameral, tricameral or tetracameral assembly.

Usage

This is a template meant to be used in articles referring to legislatures (national, sub-national, federal, local, unicameral, bicameral, each of the chambers (if bicameral) or the whole body) that exist (currently function) or that don't exist (defunct legislative, disbanded ones).

Syntax

name

native_name

transcription_name
legislature
[[File:coa_pic|coa_res|alt=coa_alt|upright]]
coa_caption
[[File:logo_pic|logo_res|alt=logo_alt|upright]]
logo_caption
Type
Type
house_type
of the [[body]] of [[jurisdiction]]
Houseshouses
Sovereigncrown-in-parl
Term limits
term_limits
History
Foundedfoundation
Disbandeddisbanded
Preceded bypreceded_by
Succeeded bysucceeded_by
New session started
new_session
Leadership
leader1_type
leader1, party1
since election1
leader2_type
leader2, party2
since election2
leader3_type
leader3, party3
since election3
leader4_type
leader4, party4
since election4
leader5_type
leader5, party5
since election5
leader6_type
leader6, party6
since election6
leader7_type
leader7, party7
since election7
Structure
Seatsseats
[[File:structure1|structure1_res
|alt=structure1_alt]]
house1 political groups
political_groups1
[[File:structure2|structure2_res
|alt=structure2_alt]]
house2 political groups
political_groups2
house1 committeescommittees1
house2 committeescommittees2
Joint committees
joint_committees
Length of term
term_length
Authorityauthority
Salarysalary
seats1_title
seats1
seats2_title
seats2
seats3_title
seats3
seats4_title
seats4
seats5_title
seats5
seats6_title
seats6
seats7_title
seats7
seats8_title
seats8
Elections
voting_system1
voting_system2
First house1 election
first_election1
First house2 election
first_election2
First general election
first_election3
Last house1 election
last_election1
Last house2 election
last_election2
Last general election
last_election3
Next house1 election
next_election1
Next house2 election
next_election2
Next general election
next_election3
Redistrictingredistricting
Motto
motto
Meeting place
[[File:session_room|session_res
|alt=session_alt]]
meeting_place
[[File:session_room2|session_res2
|alt=session_alt2]]
meeting_place2
[[File:session_room3|session_res3
|alt=session_alt3]]
meeting_place3
Website
website
Constitution
constitution
Rules
rules
Footnotes
footnotes

<syntaxhighlight lang="wikitext" style="overflow:auto;">

</syntaxhighlight>

Parameter descriptions

The parameters are:

  • name – the name of the Parliament/House (e.g. House of Commons (UK); Parliament of Romania)
  • native_name – the name of the Parliament/House in the native language; use {{Plainlist}} for more than one native language (e.g. Parlamentul of României).
  • native_name_lang – the language of the native name; use ISO 639-1 code, e.g. "fr" for French; if there is more than one native name, in different languages, enter those names using {{Lang}}, instead
  • transcription_name – the name of the Parliament/House in transliteration from the native language alphabet (if different than Latin alphabet). Use {{plainlist}} for more than one native language
  • legislature – the term of the ongoing session (e.g.: "40th Canadian Parliament"; "10th Legislature (of Las Cortes Generales)")
  • coa_pic – image name for coat of arms (Optional)
  • coa_res – width in pixels for coa_pic image (Optional); defaults to 170px (about 75% of thumbnail size 220px but will vary if changed in Special:Preferences) due to use of upright in template (see Wikipedia:Extended image syntax § Size)
  • coa_altalternative text for coa_pic image
  • coa_caption – caption text to be display below coa_pic image (Optional)
  • logo_pic – image name for logo (Optional)
  • logo_res – width in pixels for logo_pic image (Optional); defaults to 170px (about 75% of thumbnail size 220px but will vary if changed in Special:Preferences) due to use of upright in template (see Wikipedia:Extended image syntax § Size)
  • logo_altalternative text for logo_pic image
  • logo_caption – caption text to be displayed below logo_pic image (Optional)
  • house_type – For houses, one of upper house, lower house, or unicameral house; for legislatures as a whole, one of unicameral, bicameral, tricameral, or tetracameral. The template will turn the input into a wikilink
  • body – name of large legislative assembly if a chamber
  • jurisdiction
  • houses – names of the houses that make up the assembly; if more than one, separate with {{plainlist}}
  • term_limits
  • foundation – date founded; use {{Start date}}
  • disbanded – date disbanded; use {{End date}}
  • preceded_by – preceding legislature
  • succeeded_by – succeeding legislature
  • new_session – date of the new session; use {{Start date}}
  • affiliations
  • leader1_type – title of a chamber leader (speaker, chairman, president, etc.)
  • leader1 – leader of the chamber
  • party1 – political party of leader
  • election1 – date that leader was elected
  • leader2_typeidem
  • leader2 idem
  • party2idem
  • election2idem
  • leader3_typeidem
  • leader3idem
  • party3idem
  • election4idem
  • leader4_typeidem
  • leader4idem
  • party4idem
  • election5idem
  • leader5_typeidem
  • leader5idem
  • party5idem
  • election6idem
  • leader6_typeidem
  • leader6idem
  • party6idem
  • election6idem
  • leader7_typeidem
  • leader7idem
  • party7idem
  • election7idem
  • seats – the (total) number of seats in the assembly; if more than one, separate with {{plainlist}}
  • house1 – name of the upper/lower house
  • house2 – name of the lower/upper house
  • structure1 – image name for diagram of the political structure of house1 (Optional)
  • structure1_res – width in pixels for structure1 image (Optional); defaults to 120px due to a setting in template
  • structure1_altalternative text for structure1 image
  • structure2 – image name for diagram of the political structure of house2 (Optional)
  • structure2_res – width in pixels for structure2 image (Optional); defaults to 120px due to a setting in template
  • structure2_altalternative text for structure2 image
  • political_groups1 – list of the political parties/groups represented in house1
  • political_groups2 – list of the political parties/groups represented in house2
  • committees1 – list of the committees in house1
  • committees2 – list of the committees in house2
  • joint_committees – list of the joint committees
  • term_length
  • authority
  • salary
  • seats1_title
  • seats1
  • seats2_title
  • seats2
  • seats3_title
  • seats3
  • seats4_title
  • seats4
  • seats5_title
  • seats5
  • seats6_title
  • seats6
  • seats7_title
  • seats7
  • seats8_title
  • seats8
  • voting_system1 – the voting system used for the house1
  • voting_system2 – the voting system used for the house2
  • first_election1 – the first election date for the house1
  • first_election2 – the first election date for the house2
  • first_election3 – the first general election date
  • last_election1 – the last election date for the house1
  • last_election2 – the last election date for the house2
  • last_election3 – the last general election date
  • next_election1 – the next election date for house1
  • next_election2 – the next election date for house2
  • next_election3 – the next general election date
  • redistricting
  • motto – Motto
  • session_room – image of the session room (Optional)
  • session_res – width in pixels for session_room image (Optional); defaults to 220px (but will vary if thumbnail size is changed in Special:Preferences)
  • session_altalternative text for session_room image
  • meeting_place – place where it meets: room, building, or city (e.g. Palatul Parlamentului, Bucureşti); displayed as caption below session_room image
  • session_room2 – second image of the session room (Optional)
  • session_res2 – width in pixels for session_room2 image (Optional); defaults to 220px (but will vary if thumbnail size is changed in Special:Preferences)
  • session_alt2alternative text for session_room2 image
  • meeting_place2 – second place where it meets: room, building, or city; displayed as caption below session_room2 image
  • website – the assembly's/house's official website (Optional); use {{URL}}
  • constitution
  • rules
  • footnotes – any necessary footnotes (Optional)

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox legislature in articles based on its TemplateData.

TemplateData for Infobox legislature

infobox for legislatures

Template parameters

ParameterDescriptionTypeStatus
background_colorbackground_color

no description

Unknownoptional
namename

no description

Linerequired
native_namenative_name

no description

Lineoptional
native_name_langnative_name_lang

no description

Unknownoptional
transcription_nametranscription_name

no description

Unknownoptional
legislaturelegislature

the ongoing session

Example
40th Canadian Parliament
Page nameoptional
coa_piccoa_pic

no description

Unknownoptional
coa_rescoa_res

no description

Unknownoptional
coa_altcoa_alt

no description

Unknownoptional
coa_captioncoa_caption

no description

Unknownoptional
logologo

no description

Unknownoptional
logo_piclogo_pic

no description

Unknownoptional
logo_reslogo_res

no description

Unknownoptional
logo_altlogo_alt

no description

Unknownoptional
logo_captionlogo_caption

no description

Unknownoptional
labelstylelabelstyle

no description

Unknownoptional
house_typehouse_type

no description

Suggested values
upper house lower house unicameral house unicameral bicameral tricameral tetracameral
Unknownoptional
houseshouses

List of houses in the legislature. Use a line break between houses.

Unknownoptional
crown-in-parlcrown-in-parl

For legislatures where the head-of-state is an element of the legislature.

Stringoptional
term_limitsterm_limits

no description

Unknownoptional
bodybody

no description

Unknownoptional
jurisdictionjurisdiction

no description

Unknownoptional
chamberschambers

no description

Unknownoptional
foundationfoundation

no description

Unknownoptional
disbandeddisbanded

no description

Unknownoptional
preceded_bypreceded_by

no description

Page nameoptional
succeeded_bysucceeded_by

no description

Page nameoptional
new_sessionnew_session

no description

Unknownoptional
establishedestablished

no description

Unknownoptional
Affiliationsaffiliations

Affiliation of organisation

Stringoptional
leader1leader1

no description

Unknownoptional
leader2leader2

no description

Unknownoptional
leader3leader3

no description

Unknownoptional
leader4leader4

no description

Unknownoptional
leader5leader5

no description

Unknownoptional
leader6leader6

no description

Unknownoptional
leader7leader7

no description

Unknownoptional
leader8leader8

no description

Unknownoptional
leader1_typeleader1_type

no description

Unknownoptional
party1party1

no description

Page nameoptional
election1election1

no description

Unknownoptional
leader1_termleader1_term

no description

Unknownoptional
leader2_typeleader2_type

no description

Unknownoptional
party2party2

no description

Page nameoptional
election2election2

no description

Unknownoptional
leader2_termleader2_term

no description

Unknownoptional
leader3_typeleader3_type

no description

Unknownoptional
party3party3

no description

Page nameoptional
election3election3

no description

Unknownoptional
leader3_termleader3_term

no description

Unknownoptional
leader4_typeleader4_type

no description

Unknownoptional
party4party4

no description

Page nameoptional
election4election4

no description

Unknownoptional
leader4_termleader4_term

no description

Unknownoptional
leader5_typeleader5_type

no description

Unknownoptional
party5party5

no description

Page nameoptional
election5election5

no description

Unknownoptional
leader5_termleader5_term

no description

Unknownoptional
leader6_typeleader6_type

no description

Unknownoptional
party6party6

no description

Page nameoptional
election6election6

no description

Unknownoptional
leader6_termleader6_term

no description

Unknownoptional
leader7_typeleader7_type

no description

Unknownoptional
party7party7

no description

Page nameoptional
election7election7

no description

Unknownoptional
leader7_termleader7_term

no description

Unknownoptional
leader8_typeleader8_type

no description

Unknownoptional
party8party8

no description

Page nameoptional
election8election8

no description

Unknownoptional
leader8_termleader8_term

no description

Unknownoptional
leader9_typeleader9_type

no description

Unknownoptional
leader9leader9

no description

Unknownoptional
party9party9

no description

Page nameoptional
election9election9

no description

Unknownoptional
leader9_termleader9_term

no description

Unknownoptional
leader10_typeleader10_type

no description

Unknownoptional
leader10leader10

no description

Unknownoptional
party10party10

no description

Page nameoptional
election10election10

no description

Unknownoptional
leader10_termleader10_term

no description

Unknownoptional
structure1structure1

no description

Unknownoptional
political_groups1political_groups1

no description

Unknownoptional
structure3structure3

no description

Unknownoptional
political_groups3political_groups3

no description

Unknownoptional
committees1committees1

no description

Unknownoptional
committees2committees2

no description

Unknownoptional
joint_committeesjoint_committees

no description

Unknownoptional
term_lengthterm_length

no description

Unknownoptional
authorityauthority

no description

Unknownoptional
salarysalary

no description

Unknownoptional
seats1seats1

no description

Unknownoptional
seats2seats2

no description

Unknownoptional
seats3seats3

no description

Unknownoptional
seats4seats4

no description

Unknownoptional
seats5seats5

no description

Unknownoptional
seats6seats6

no description

Unknownoptional
seats7seats7

no description

Unknownoptional
seats8seats8

no description

Unknownoptional
membersmembers

no description

Unknownoptional
seatsseats

no description

Unknownoptional
structure1_resstructure1_res

no description

Unknownoptional
structure1_altstructure1_alt

no description

Unknownoptional
house1house1

no description

Unknownoptional
structure2structure2

no description

Unknownoptional
structure2_resstructure2_res

no description

Unknownoptional
structure2_altstructure2_alt

no description

Unknownoptional
house2house2

no description

Unknownoptional
political_groups2political_groups2

no description

Unknownoptional
seats1_titleseats1_title

no description

Unknownoptional
seats2_titleseats2_title

no description

Unknownoptional
seats3_titleseats3_title

no description

Unknownoptional
seats4_titleseats4_title

no description

Unknownoptional
seats5_titleseats5_title

no description

Unknownoptional
seats6_titleseats6_title

no description

Unknownoptional
seats7_titleseats7_title

no description

Unknownoptional
seats8_titleseats8_title

no description

Unknownoptional
seats9_titleseats9_title

no description

Unknownoptional
seats9seats9

no description

Unknownoptional
seats10_titleseats10_title

no description

Unknownoptional
seats10seats10

no description

Unknownoptional
voting_system1voting_system1

no description

Unknownoptional
voting_system2voting_system2

no description

Unknownoptional
first_election1first_election1

no description

Unknownoptional
first_election2first_election2

no description

Unknownoptional
first_election3first_election3

no description

Unknownoptional
last_election1last_election1

no description

Unknownoptional
last_election2last_election2

no description

Unknownoptional
last_election3last_election3

no description

Unknownoptional
next_election1next_election1

no description

Unknownsuggested
next_election2next_election2

no description

Unknownoptional
next_election3next_election3

no description

Unknownoptional
redistrictingredistricting

no description

Unknownoptional
mottomotto

no description

Unknownoptional
session_roomsession_room

no description

Unknownoptional
meeting_placemeeting_place

no description

Unknownoptional
session_ressession_res

no description

Unknownoptional
session_altsession_alt

no description

Unknownoptional
session_room2session_room2

no description

Unknownoptional
session_res2session_res2

no description

Unknownoptional
session_alt2session_alt2

no description

Unknownoptional
meeting_place2meeting_place2

no description

Unknownoptional
session_room3session_room3

no description

Unknownoptional
session_res3session_res3

no description

Unknownoptional
session_alt3session_alt3

no description

Unknownoptional
meeting_place3meeting_place3

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
constitutionconstitution

no description

Unknownoptional
rulesrules

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional
text_colortext_color

no description

Unknownoptional

Tracking category