Template:Infobox legislature/doc

From Ava Zinn Wiki
< Template:Infobox legislature
Jump to: navigation, search

Infobox to be used in articles about a legislature (see Legislature#Lists of titles of legislatures for a list of likely names for bodies this template could be used in) as a whole, or any chamber found within a unicameral, bicameral, tricameral or tetracameral assembly.

Usage[edit]

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[edit]

Template:Generic template demo

{{Infobox legislature
| name               = 
| native_name        = 
| native_name_lang   = 
| transcription_name = 
| legislature        = 
| coa_pic            = 
| coa_res            = 
| coa_alt            = 
| coa_caption        = 
| logo_pic           = 
| logo_res           = 
| logo_alt           = 
| logo_caption       = 
| house_type         = 
| body               = 
| jurisdiction       = 
| houses             = 
| term_limits        = 
| foundation         = <!--{{Start date|YYYY|MM|DD}}-->
| disbanded          = <!--{{End date|YYYY|MM|DD}}-->
| preceded_by        = 
| succeeded_by       = 
| new_session        = 
| leader1_type       = 
| leader1            = 
| party1             = 
| election1          = 
| leader2_type       = 
| leader2            = 
| party2             = 
| election2          = 
| leader3_type       = 
| leader3            = 
| party3             = 
| election3          = 
| leader4_type       = 
| leader4            = 
| party4             = 
| election4          = 
| leader5_type       = 
| leader5            = 
| party5             = 
| election5          = 
| leader6_type       = 
| leader6            = 
| party6             = 
| election6          = 
| leader7_type       = 
| leader7            = 
| party7             = 
| election7          = 
| seats              = 
| house1             = 
| house2             = 
| structure1         = 
| structure1_res     = 
| structure1_alt     = 
| structure2         = 
| structure2_res     = 
| structure2_alt     = 
| political_groups1  = 
| political_groups2  = 
| committees1        = 
| committees2        = 
| 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     = 
| voting_system2     = 
| first_election1    = 
| first_election2    = 
| first_election3    = 
| last_election1     = 
| last_election2     = 
| last_election3     = 
| next_election1     = 
| next_election2     = 
| next_election3     = 
| redistricting      = 
| motto              = 
| session_room       = 
| session_res        = 
| session_alt        = 
| meeting_place      = 
| session_room2      = 
| session_res2       = 
| session_alt2       = 
| meeting_place2     = 
| website            = <!--{{URL|www.example.com}}-->
| constitution       =
| footnotes          = 
}}

Parameter descriptions[edit]

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-2 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 Template:Section link)
  • 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 Template:Section link)
  • 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 leguslatures 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 <br />
  • 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}}
  • 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 <br />
  • 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
  • footnotes – any necessary footnotes (Optional)

Microformat[edit]

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
  • Use {{start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
  • Use {{URL}} for an organisation's URL.
  • Use {{coord}} for coordinates associated with the organisation (e.g. the location of its headquarters). A Geo microformat will then make these coordinates parsable, e.g. for use in online mapping, downloading to a GPS unit, etc.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses 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.