Nodyn:Infobox legislature

Oddi ar Wicipedia
Neidio i: llywio, chwilio
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

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

This is a template met 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). For other uses (defunct legislative, disbanded ones) please use Template:Infobox Legislature Historic.

Syntax[golygu]

name
native_name
transcription_name
legislature
Math
Founded foundation
Math ''house_type'' ''body''
Houses houses
Arweinyddiaeth
leader1_type leader1, party1
ers election1
leader2_type leader2, party2
ers election2
leader3_type leader3, party3
ers election3
leader4_type leader4, party4
ers election4
leader5_type leader5, party5
ers election5
leader6_type leader6, party6
ers election6
Strwythur
Aelodau members
house1 Grwpiau gwleidyddol political_groups1
house2 Grwpiau gwleidyddol political_groups2
house1 Pwyllgorau committees1
house2 pwyllgorau committees2
Cydbwyllgorau joint_committees
Etholiadau
house1 System pleidleisio voting_system1
house2 System pleidleisio voting_system2
house1 Etholiad diwethaf last_election1
house2 Etholiad diwethaf last_election2
Motto
motto
Man cyfarfod
meeting_place
Gwefan
website
Footnotes
footnotes
{{Infobox legislature
 | background_color   = 
 | text_color         = 
 | name               = 
 | native_name        = 
 | native_name_lang   = 
 | transcription_name = 
 | legislature        = 
 | coa_pic            = 
 | coa_res            = 
 | coa_alt            =
 | foundation         = <!-- {{Start date|YYYY|MM|DD}} --> 
 | house_type         = 
 | body               = 
 | houses             = 
 | 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          = 
 | members            = 
 | house1             = 
 | house2             = 
 | structure1         = 
 | structure1_res     = 
 | structure1_alt     = 
 | structure2         = 
 | structure2_res     = 
 | structure2_alt     = 
 | political_groups1  = 
 | political_groups2  = 
 | committees1        = 
 | committees2        = 
 | joint_committees   = 
 | voting_system1     = 
 | voting_system2     = 
 | last_election1     = 
 | last_election2     = 
 | previous_election1 =
 | previous_election2 =
 | session_room       = 
 | session_res        = 
 | session_alt        = 
 | meeting_place      = 
 | website            = <!-- {{URL|www.example.com}} -->
 | footnotes          = 
 | motto              = 
}}

Parameters[golygu]

The parameters are:

  • background_color - header background color; may we suggest the dominant color of the house; DEFAULT = grey.
  • text_color - header text color (to change if necessary); DEFAULT = black.
  • 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 on-going sesiion (e.g.: "40th Canadian Parliament"; "10th Legislature (of Las COrtes Generales)")
  • - coat of arms (Optional).
  • coa_res - resolution of coat of arms ((Optional. Default = 120px - Note: include "px" if selecting this).
  • coa_alt - text representation of the coat of arms
  • foundation - Date founded. Use {{Start date}}
  • house_type - bicameral/unicameral for assembly; upper house/lower house for the houses themselves.
  • body - name of large legislative assembly if a chamber
  • houses - names of the houses that make up the assembly; if more than one, separate with <br>.
  • 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_type - idem
  • leader2 - idem
  • party2 - idem
  • election2 - idem
  • leader3_type - idem
  • leader3 - idem
  • party3 - idem
  • election4 - idem
  • leader4_type - idem
  • leader4 - idem
  • party4 - idem
  • election5 - idem
  • leader5_type - idem
  • leader5 - idem
  • party5 - idem
  • election6 - idem
  • leader6_type - idem
  • leader6 - idem
  • party6 - idem
  • election6 - idem
  • members - the (total) number of members in the assembly; if more than one, separate with <br>.
  • house1 - name of the upper/lower house
  • house2 - name of the lower/upper house
  • - image of the political structure of house1 (optional).
  • structure1_res - resolution of the structure1 image
  • structure1_alt - text representation of structure1 image
  • - image of the political structure of house2 (optional).
  • structure2_res - resolution of the structure2 image
  • structure2_alt - text representation of 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 in house2.
  • voting_system1 - the voting system used for the house1.
  • voting_system2 - the voting system used for the house2.
  • last_election1 - the last election date for the house1.
  • last_election2 - the last election date for the house2.
  • previous_election1 - the election previous to this for house1.
  • previous_election2 - the election previous to this for house2.
  • - image of the session room (Optional).
  • session_res - resolution of session room (Optional. Default = 200px - Note: include "px" if selecting this).
  • session_alt - text representation of image of session room
  • meeting_place - the place where it meets: building (room), city (e.g. Palatul Parlamentului, Bucureşti).
  • website - the assembly's/house's official website (Optional); use {{URL}}.
  • footnotes - any necessary footnotes (Optional).
  • motto - Motto.

Microformat[golygu]

The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[golygu]

  • If the organisation has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
  • If the organisation has a URL, use {{URL}}.
  • If the organisation has a "coordinates" field, use {{coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes[golygu]

hCard uses HTML classes including:

  • 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.