Template:Infobox legislature/doc

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search


This is a documentation subpage for Template:Infobox legislature.
It contains usage information, categories and other content that is not part of the original template page.

{{Infobox legislature}} builds a generic infobox for a legislature, chamber, or a specific legislative session.

This Chalo Chatu version includes a patch adding convenience parameters: leaders, session_start, and session_end.

Purpose

Use this infobox on articles about legislative bodies, their chambers, and individual sessions to present key facts in a consistent format.

Quick start (recommended)

{{Infobox legislature
| name           = 5th Session of the 13th National Assembly of Zambia
| legislature    = 13th National Assembly of Zambia
| house_type     = Unicameral
| body           = National Assembly of Zambia
| established    = 2021
| new_session    = 12 September 2025
| meeting_place  = Lusaka, Zambia
| website        = https://www.parliament.gov.zm
| leader1_type   = Speaker
| leader1        = Nelly Mutti
| leader2_type   = First Deputy Speaker
| leader2        = Malungo Chisangano
| leader3_type   = Second Deputy Speaker
| leader3        = Moses Moyo
}}

Quick start (using the patch fields)

{{Infobox legislature
| name           = 5th Session of the 13th National Assembly of Zambia
| legislature    = 13th National Assembly of Zambia
| house_type     = Unicameral
| body           = National Assembly of Zambia
| established    = 2021
| session_start  = 12 September 2025
| session_end    = TBD
| meeting_place  = Lusaka, Zambia
| website        = https://www.parliament.gov.zm
| leaders        = Speaker: Nelly Mutti<br/>First Deputy Speaker: Malungo Chisangano<br/>Second Deputy Speaker: Moses Moyo
}}
Important notes
  • Provide plain titles for body and jurisdiction (the template auto-links them in the Type row).
  • Dates are displayed as text (no parsing). Use a clear format like 12 September 2025.
  • For structured leadership, prefer leaderN_type + leaderN; use leaders only for quick free-form lists.

Parameters

Identity & visuals
  • name – Display title (required).
  • native_name, native_name_lang, transcription_name – Optional alternates.
  • legislature – Parent legislature / term label.
  • coa_pic / logo, with *_res, *_alt, *_caption – Images and captions.
Type & composition
  • house_type – e.g., Unicameral/Bicameral.
  • body – Institution to which the chamber/session belongs (plain title).
  • jurisdiction – Country/area (plain title).
  • houses or chambers – Text for bicameral layouts.
  • term_limits – Narrative text.
  • members or seats – Total seats.
History & sessions
  • foundation or established – Founding text.
  • disbanded – If defunct.
  • preceded_by, succeeded_by – Neighbouring bodies.
  • new_session – “New session started” date (traditional field).
  • session_startPatched label “Session start”.
  • session_endPatched label “Session end”.
Leadership (two options)
  • leadersPatched convenience block (HTML line breaks).
  • Structured slots:
    • leader1_typeleader10_type
    • leader1leader10
    • Optional: partyN, electionN (renders “since …”), leaderN_term (free-form).
Structure, groups, committees
  • political_groups1, political_groups2
  • structure1, structure2 (+ _res)
  • committees1, committees2, joint_committees
  • Custom rows: seats1seats10 with seatsX_title
Elections
  • voting_system1, voting_system2
  • first_election1first_election3
  • last_election1last_election3
  • next_election1next_election3
  • redistricting
Meeting place & links
  • session_room (…2/3) + session_res (…2/3)
  • meeting_place (…2/3)
  • website, constitution, rules, footnotes
Theming
  • background_color – Hex (adds top/bottom borders).
  • text_color – Optional.
  • labelstyle – CSS for label cells.

Dependencies

  • Module:InfoboxImage – image handling.
  • Template:Longitem – long labels; minimal version:
<includeonly><span style="{{{style|}}}">{{{1|}}}</span></includeonly><noinclude>Helper for long labels.</noinclude>
  • Template:Ns0 – mainspace-only category wrapper; minimal version:
<includeonly>{{#ifeq:{{NAMESPACE}}||{{{1|}}}}</includeonly><noinclude>Mainspace-only wrapper.</noinclude>

Migration

  • From a free-form list:
    • leaders = Speaker: Name<br/>Deputy: Name
    • leader1_type = Speaker / leader1 = Name; leader2_type = Deputy / leader2 = Name
  • From session date pair:
    • session_start = 12 September 2025; session_end = TBD
    • or use new_session for a single start date.

TemplateData

Infobox for a legislature, chamber, or legislative session. Chalo Chatu version includes convenience fields `leaders`, `session_start`, and `session_end`.

Template parameters

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Legislaturelegislature

no description

Stringoptional
House typehouse_type

no description

Stringoptional
Body (plain title)body

no description

Stringoptional
Jurisdiction (plain title)jurisdiction

no description

Stringoptional
Establishedestablished

no description

Stringoptional
Foundedfoundation

no description

Stringoptional
Disbandeddisbanded

no description

Stringoptional
Preceded bypreceded_by

no description

Stringoptional
Succeeded bysucceeded_by

no description

Stringoptional
New session startednew_session

no description

Stringoptional
Session start (patched)session_start

no description

Stringoptional
Session end (patched)session_end

no description

Stringoptional
Meeting placemeeting_place

no description

Stringoptional
Websitewebsite

no description

Stringoptional
Leaders (patched free-form)leaders

no description

Stringoptional
Leader 1 titleleader1_type

no description

Stringoptional
Leader 1 nameleader1

no description

Stringoptional
Leader 1 partyparty1

no description

Stringoptional
Leader 1 sinceelection1

no description

Stringoptional
Leader 1 term (text)leader1_term

no description

Stringoptional
Leader 2 titleleader2_type

no description

Stringoptional
Leader 2 nameleader2

no description

Stringoptional
Membersmembers

no description

Stringoptional
Seats (alias of members)seats

no description

Stringoptional
Political groups (house 1)political_groups1

no description

Stringoptional
Composition image (house 1)structure1

no description

Stringoptional
Composition image width (house 1)structure1_res

no description

Stringoptional
Committees (house 1)committees1

no description

Stringoptional
Voting system (house 1)voting_system1

no description

Stringoptional
First election (house 1)first_election1

no description

Stringoptional
Last election (house 1)last_election1

no description

Stringoptional
Next election (house 1)next_election1

no description

Stringoptional
Background colorbackground_color

no description

Stringoptional
Text colortext_color

no description

Stringoptional
Label cell stylelabelstyle

no description

Stringoptional