Difference between revisions of "Template:Infobox legislature/doc"
(plainlist) |
imported>Telephone Directory |
||
| (47 intermediate revisions by 27 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
| + | {{lua|Module:Infobox|Module:InfoboxImage}} | ||
| + | Infobox to be used in articles about a [[legislature]] as a whole, or any [[Chambers of parliament|chamber]] found within a [[unicameralism|unicameral]], [[bicameralism|bicameral]], [[tricameralism|tricameral]] or [[tetracameralism|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=== | |
| − | + | {{Parameter names example |_display=italics | |
| − | === Syntax === | + | |name |native_name |native_name_lang |transcription_name |legislature |coa_pic=''<nowiki>coa_pic</nowiki>'' |coa_res |coa_alt |coa_caption |logo_pic=''<nowiki>logo_pic</nowiki>'' |logo_res |logo_alt |logo_caption |house_type=''<nowiki>house_type</nowiki>'' |body=''<nowiki>body</nowiki>'' |jurisdiction=''<nowiki>jurisdiction</nowiki>'' |houses |term_limits |foundation |disbanded |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=''<nowiki>structure1</nowiki>'' |structure1_res=''structure1_res''<br /> |structure1_alt |structure2=''<nowiki>structure2</nowiki>'' |structure2_res=''structure2_res''<br /> |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=''<nowiki>session_room</nowiki>'' |session_res=''session_res''<br /> |session_alt |meeting_place |session_room2=''<nowiki>session_room2</nowiki>'' |session_res2=''session_res2''<br /> |session_alt2 |meeting_place2 |session_room3=''<nowiki>session_room3</nowiki>'' |session_res3=''session_res3''<br /> |session_alt3 |meeting_place3 |website |constitution |rules |footnotes |
| − | {{ | ||
| − | | name | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | <pre style="overflow:auto"> | + | |
| + | <pre style="overflow:auto;"> | ||
{{Infobox legislature | {{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 = | |
| − | + | | houses = | |
| − | + | | chambers = | |
| − | + | | body = | |
| − | + | | jurisdiction = | |
| − | + | | term_limits = | |
| − | + | | foundation = <!-- {{Start date|YYYY|MM|DD}} --> | |
| − | + | | disbanded = <!-- {{End date|YYYY|MM|DD}} --> | |
| − | + | | preceded_by = | |
| − | + | | succeeded_by = | |
| − | + | | new_session = | |
| − | + | | leader1_type = | |
| − | + | | leader1 = | |
| − | + | | leader1_term = | |
| − | + | | party1 = | |
| − | + | | election1 = | |
| − | + | | leader2_type = | |
| − | + | | leader2 = | |
| − | + | | party2 = | |
| − | + | | election2 = | |
| − | + | | leader2_term = | |
| − | + | | leader3_type = | |
| − | + | | leader3 = | |
| − | + | | party3 = | |
| − | + | | election3 = | |
| − | + | | leader3_term = | |
| − | + | | leader4_type = | |
| − | + | | leader4 = | |
| − | + | | party4 = | |
| − | + | | election4 = | |
| − | + | | leader4_term = | |
| − | + | | leader5_type = | |
| − | + | | leader5 = | |
| − | + | | party5 = | |
| − | + | | election5 = | |
| − | + | | leader5_term = | |
| − | + | | leader6_type = | |
| − | + | | leader6 = | |
| − | + | | party6 = | |
| − | + | | election6 = | |
| − | + | | leader6_term = | |
| − | + | | leader7_type = <!-- up to | leader10_type = --> | |
| − | + | | leader7 = <!-- up to | leader10 = --> | |
| − | + | | party7 = <!-- up to | party10 = --> | |
| − | + | | election7 = <!-- up to | election10 = --> | |
| − | + | | leader7_term = <!-- up to | leader10_term = --> | |
| − | + | | seats = <!-- or | members = --> | |
| − | + | | structure1 = | |
| − | + | | structure1_res = | |
| − | + | | structure1_alt = | |
| − | + | | structure2 = | |
| − | + | | structure2_res = | |
| + | | structure2_alt = | ||
| + | | house1 = | ||
| + | | political_groups1 = | ||
| + | | committees1 = | ||
| + | | house2 = | ||
| + | | political_groups2 = | ||
| + | | 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 = <!-- up to | seats10_title = --> | ||
| + | | seats8 = <!-- up to | seats10 = --> | ||
| + | | 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 = | ||
| + | | session_room3 = | ||
| + | | session_res3 = | ||
| + | | session_alt3 = | ||
| + | | meeting_place3 = | ||
| + | | website = <!-- {{URL|www.example.com}} --> | ||
| + | | constitution = | ||
| + | | rules = | ||
| + | | footnotes = | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| − | === | + | === Parameter descriptions === |
The parameters are: | 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 {{tl|Plainlist}} for more than one native language (e.g. Parlamentul of României). | ||
| + | * '''native_name_lang''' – the language of the native name; use [[List of ISO 639-2 codes|ISO 639-2 code]], e.g. "fr" for French; if there is more than one native name, in different languages, enter those names using {{tl|Lang}}, instead | ||
| + | * '''transcription_name''' – the name of the Parliament/House in transliteration from the native language alphabet (if different than Latin alphabet). Use {{Tld|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 {{section link|Wikipedia:Extended image syntax|Size}}) | ||
| + | * '''coa_alt''' – [[WP:ALT|alternative 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 {{section link|Wikipedia:Extended image syntax|Size}}) | ||
| + | * '''logo_alt''' – [[WP:ALT|alternative text]] for ''logo_pic'' image | ||
| + | * '''logo_caption''' – caption text to be displayed below ''logo_pic'' image (Optional) | ||
| + | * '''house_type''' – For houses, one of <code>upper house</code>, <code>lower house</code>, or <code>unicameral house</code>; for legislatures as a whole, one of <code>unicameral</code>, <code>bicameral</code>, <code>tricameral</code>, or <code>tetracameral</code>. 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 <nowiki><br /></nowiki> | ||
| + | * '''term_limits''' – | ||
| + | * '''foundation''' – date founded; use {{tl|Start date}} | ||
| + | * '''disbanded''' – date disbanded; use {{tl|End date}} | ||
| + | * '''preceded_by''' – preceding legislature | ||
| + | * '''succeeded_by''' – succeeding legislature | ||
| + | * '''new_session''' – date of the new session; use {{Tl|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_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'' | ||
| + | * '''leader7_type''' – ''idem'' | ||
| + | * '''leader7''' – ''idem'' | ||
| + | * '''party7''' – ''idem'' | ||
| + | * '''election7''' – ''idem'' | ||
| + | * '''seats''' – the (total) number of seats in the assembly; if more than one, separate with <nowiki><br /></nowiki> | ||
| + | * '''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_alt''' – [[WP:ALT|alternative 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_alt''' – [[WP:ALT|alternative 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_alt''' – [[WP:ALT|alternative 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_alt2''' – [[WP:ALT|alternative 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 {{tl|URL}} | ||
| + | * '''constitution''' – | ||
| + | * '''rules''' – | ||
| + | * '''footnotes''' – any necessary footnotes (Optional) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Microformat == | == Microformat == | ||
{{UF-hcard-org}} | {{UF-hcard-org}} | ||
| − | {{ | + | == TemplateData == |
| − | < | + | {{TemplateData header}} |
| − | + | <templatedata> | |
| + | { | ||
| + | "params": { | ||
| + | "background_color": {}, | ||
| + | "name": {}, | ||
| + | "native_name": {}, | ||
| + | "native_name_lang": {}, | ||
| + | "transcription_name": {}, | ||
| + | "legislature": {}, | ||
| + | "coa_pic": {}, | ||
| + | "coa_res": {}, | ||
| + | "coa_alt": {}, | ||
| + | "coa_caption": {}, | ||
| + | "logo": {}, | ||
| + | "logo_pic": {}, | ||
| + | "logo_res": {}, | ||
| + | "logo_alt": {}, | ||
| + | "logo_caption": {}, | ||
| + | "labelstyle": {}, | ||
| + | "house_type": {}, | ||
| + | "houses": {}, | ||
| + | "term_limits": {}, | ||
| + | "body": {}, | ||
| + | "jurisdiction": {}, | ||
| + | "chambers": {}, | ||
| + | "foundation": {}, | ||
| + | "disbanded": {}, | ||
| + | "preceded_by": {}, | ||
| + | "succeeded_by": {}, | ||
| + | "new_session": {}, | ||
| + | "established": {}, | ||
| + | "leader1": {}, | ||
| + | "leader2": {}, | ||
| + | "leader3": {}, | ||
| + | "leader4": {}, | ||
| + | "leader5": {}, | ||
| + | "leader6": {}, | ||
| + | "leader7": {}, | ||
| + | "leader8": {}, | ||
| + | "leader1_type": {}, | ||
| + | "party1": {}, | ||
| + | "election1": {}, | ||
| + | "leader1_term": {}, | ||
| + | "leader2_type": {}, | ||
| + | "party2": {}, | ||
| + | "election2": {}, | ||
| + | "leader2_term": {}, | ||
| + | "leader3_type": {}, | ||
| + | "party3": {}, | ||
| + | "election3": {}, | ||
| + | "leader3_term": {}, | ||
| + | "leader4_type": {}, | ||
| + | "party4": {}, | ||
| + | "election4": {}, | ||
| + | "leader4_term": {}, | ||
| + | "leader5_type": {}, | ||
| + | "party5": {}, | ||
| + | "election5": {}, | ||
| + | "leader5_term": {}, | ||
| + | "leader6_type": {}, | ||
| + | "party6": {}, | ||
| + | "election6": {}, | ||
| + | "leader6_term": {}, | ||
| + | "leader7_type": {}, | ||
| + | "party7": {}, | ||
| + | "election7": {}, | ||
| + | "leader7_term": {}, | ||
| + | "leader8_type": {}, | ||
| + | "party8": {}, | ||
| + | "election8": {}, | ||
| + | "leader8_term": {}, | ||
| + | "leader9_type": {}, | ||
| + | "leader9": {}, | ||
| + | "party9": {}, | ||
| + | "election9": {}, | ||
| + | "leader9_term": {}, | ||
| + | "leader10_type": {}, | ||
| + | "leader10": {}, | ||
| + | "party10": {}, | ||
| + | "election10": {}, | ||
| + | "leader10_term": {}, | ||
| + | "structure1": {}, | ||
| + | "political_groups1": {}, | ||
| + | "structure3": {}, | ||
| + | "political_groups3": {}, | ||
| + | "committees1": {}, | ||
| + | "committees2": {}, | ||
| + | "joint_committees": {}, | ||
| + | "term_length": {}, | ||
| + | "authority": {}, | ||
| + | "salary": {}, | ||
| + | "seats1": {}, | ||
| + | "seats2": {}, | ||
| + | "seats3": {}, | ||
| + | "seats4": {}, | ||
| + | "seats5": {}, | ||
| + | "seats6": {}, | ||
| + | "seats7": {}, | ||
| + | "seats8": {}, | ||
| + | "members": {}, | ||
| + | "seats": {}, | ||
| + | "structure1_res": {}, | ||
| + | "structure1_alt": {}, | ||
| + | "house1": {}, | ||
| + | "structure2": {}, | ||
| + | "structure2_res": {}, | ||
| + | "structure2_alt": {}, | ||
| + | "house2": {}, | ||
| + | "political_groups2": {}, | ||
| + | "seats1_title": {}, | ||
| + | "seats2_title": {}, | ||
| + | "seats3_title": {}, | ||
| + | "seats4_title": {}, | ||
| + | "seats5_title": {}, | ||
| + | "seats6_title": {}, | ||
| + | "seats7_title": {}, | ||
| + | "seats8_title": {}, | ||
| + | "seats9_title": {}, | ||
| + | "seats9": {}, | ||
| + | "seats10_title": {}, | ||
| + | "seats10": {}, | ||
| + | "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": {}, | ||
| + | "meeting_place": {}, | ||
| + | "session_res": {}, | ||
| + | "session_alt": {}, | ||
| + | "session_room2": {}, | ||
| + | "session_res2": {}, | ||
| + | "session_alt2": {}, | ||
| + | "meeting_place2": {}, | ||
| + | "session_room3": {}, | ||
| + | "session_res3": {}, | ||
| + | "session_alt3": {}, | ||
| + | "meeting_place3": {}, | ||
| + | "website": {}, | ||
| + | "constitution": {}, | ||
| + | "rules": {}, | ||
| + | "footnotes": {}, | ||
| + | "text_color": {} | ||
| + | }, | ||
| + | "description": "infobox for legislatures" | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | ==Tracking category== | ||
| + | * {{clc|Infobox legislature with background color}} | ||
| + | |||
| + | {{Organization infoboxes}} | ||
| − | + | <includeonly>{{Sandbox other|| | |
| − | + | <!-- Categories below this line; interwikis at Wikidata --> | |
| − | + | [[Category:Politics and government infobox templates|Legislature]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 19:51, 7 February 2021
| 40px | 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. |
| 30px | This template uses Lua: |
Infobox to be used in articles about a legislature as a whole, or any chamber found within a unicameral, bicameral, tricameral or tetracameral assembly.
Contents
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
Template:Parameter names example
{{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 =
| houses =
| chambers =
| body =
| jurisdiction =
| term_limits =
| foundation = <!-- {{Start date|YYYY|MM|DD}} -->
| disbanded = <!-- {{End date|YYYY|MM|DD}} -->
| preceded_by =
| succeeded_by =
| new_session =
| leader1_type =
| leader1 =
| leader1_term =
| party1 =
| election1 =
| leader2_type =
| leader2 =
| party2 =
| election2 =
| leader2_term =
| leader3_type =
| leader3 =
| party3 =
| election3 =
| leader3_term =
| leader4_type =
| leader4 =
| party4 =
| election4 =
| leader4_term =
| leader5_type =
| leader5 =
| party5 =
| election5 =
| leader5_term =
| leader6_type =
| leader6 =
| party6 =
| election6 =
| leader6_term =
| leader7_type = <!-- up to | leader10_type = -->
| leader7 = <!-- up to | leader10 = -->
| party7 = <!-- up to | party10 = -->
| election7 = <!-- up to | election10 = -->
| leader7_term = <!-- up to | leader10_term = -->
| seats = <!-- or | members = -->
| structure1 =
| structure1_res =
| structure1_alt =
| structure2 =
| structure2_res =
| structure2_alt =
| house1 =
| political_groups1 =
| committees1 =
| house2 =
| political_groups2 =
| 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 = <!-- up to | seats10_title = -->
| seats8 = <!-- up to | seats10 = -->
| 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 =
| session_room3 =
| session_res3 =
| session_alt3 =
| meeting_place3 =
| website = <!-- {{URL|www.example.com}} -->
| constitution =
| rules =
| footnotes =
}}
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-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 Script error: No such module "Section link".)
- coa_alt – alternative 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 Script error: No such module "Section link".)
- logo_alt – alternative 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, orunicameral house; for legislatures as a whole, one ofunicameral,bicameral,tricameral, ortetracameral. 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_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
- leader7_type – idem
- leader7 – idem
- party7 – idem
- election7 – idem
- 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_alt – alternative 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_alt – alternative 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_alt – alternative 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_alt2 – alternative 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
TemplateData
TemplateData for Infobox legislature
infobox for legislatures
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Background_color | background_color | no description | Unknown | optional |
| Name | name | no description | Unknown | optional |
| Native_name | native_name | no description | Unknown | optional |
| Native_name_lang | native_name_lang | no description | Unknown | optional |
| Transcription_name | transcription_name | no description | Unknown | optional |
| Legislature | legislature | no description | Unknown | optional |
| Coa_pic | coa_pic | no description | Unknown | optional |
| Coa_res | coa_res | no description | Unknown | optional |
| Coa_alt | coa_alt | no description | Unknown | optional |
| Coa_caption | coa_caption | no description | Unknown | optional |
| Logo | logo | no description | Unknown | optional |
| Logo_pic | logo_pic | no description | Unknown | optional |
| Logo_res | logo_res | no description | Unknown | optional |
| Logo_alt | logo_alt | no description | Unknown | optional |
| Logo_caption | logo_caption | no description | Unknown | optional |
| Labelstyle | labelstyle | no description | Unknown | optional |
| House_type | house_type | no description | Unknown | optional |
| Houses | houses | no description | Unknown | optional |
| Term_limits | term_limits | no description | Unknown | optional |
| Body | body | no description | Unknown | optional |
| Jurisdiction | jurisdiction | no description | Unknown | optional |
| Chambers | chambers | no description | Unknown | optional |
| Foundation | foundation | no description | Unknown | optional |
| Disbanded | disbanded | no description | Unknown | optional |
| Preceded_by | preceded_by | no description | Unknown | optional |
| Succeeded_by | succeeded_by | no description | Unknown | optional |
| New_session | new_session | no description | Unknown | optional |
| Established | established | no description | Unknown | optional |
| Leader1 | leader1 | no description | Unknown | optional |
| Leader2 | leader2 | no description | Unknown | optional |
| Leader3 | leader3 | no description | Unknown | optional |
| Leader4 | leader4 | no description | Unknown | optional |
| Leader5 | leader5 | no description | Unknown | optional |
| Leader6 | leader6 | no description | Unknown | optional |
| Leader7 | leader7 | no description | Unknown | optional |
| Leader8 | leader8 | no description | Unknown | optional |
| Leader1_type | leader1_type | no description | Unknown | optional |
| Party1 | party1 | no description | Unknown | optional |
| Election1 | election1 | no description | Unknown | optional |
| Leader1_term | leader1_term | no description | Unknown | optional |
| Leader2_type | leader2_type | no description | Unknown | optional |
| Party2 | party2 | no description | Unknown | optional |
| Election2 | election2 | no description | Unknown | optional |
| Leader2_term | leader2_term | no description | Unknown | optional |
| Leader3_type | leader3_type | no description | Unknown | optional |
| Party3 | party3 | no description | Unknown | optional |
| Election3 | election3 | no description | Unknown | optional |
| Leader3_term | leader3_term | no description | Unknown | optional |
| Leader4_type | leader4_type | no description | Unknown | optional |
| Party4 | party4 | no description | Unknown | optional |
| Election4 | election4 | no description | Unknown | optional |
| Leader4_term | leader4_term | no description | Unknown | optional |
| Leader5_type | leader5_type | no description | Unknown | optional |
| Party5 | party5 | no description | Unknown | optional |
| Election5 | election5 | no description | Unknown | optional |
| Leader5_term | leader5_term | no description | Unknown | optional |
| Leader6_type | leader6_type | no description | Unknown | optional |
| Party6 | party6 | no description | Unknown | optional |
| Election6 | election6 | no description | Unknown | optional |
| Leader6_term | leader6_term | no description | Unknown | optional |
| Leader7_type | leader7_type | no description | Unknown | optional |
| Party7 | party7 | no description | Unknown | optional |
| Election7 | election7 | no description | Unknown | optional |
| Leader7_term | leader7_term | no description | Unknown | optional |
| Leader8_type | leader8_type | no description | Unknown | optional |
| Party8 | party8 | no description | Unknown | optional |
| Election8 | election8 | no description | Unknown | optional |
| Leader8_term | leader8_term | no description | Unknown | optional |
| Leader9_type | leader9_type | no description | Unknown | optional |
| Leader9 | leader9 | no description | Unknown | optional |
| Party9 | party9 | no description | Unknown | optional |
| Election9 | election9 | no description | Unknown | optional |
| Leader9_term | leader9_term | no description | Unknown | optional |
| Leader10_type | leader10_type | no description | Unknown | optional |
| Leader10 | leader10 | no description | Unknown | optional |
| Party10 | party10 | no description | Unknown | optional |
| Election10 | election10 | no description | Unknown | optional |
| Leader10_term | leader10_term | no description | Unknown | optional |
| Structure1 | structure1 | no description | Unknown | optional |
| Political_groups1 | political_groups1 | no description | Unknown | optional |
| Structure3 | structure3 | no description | Unknown | optional |
| Political_groups3 | political_groups3 | no description | Unknown | optional |
| Committees1 | committees1 | no description | Unknown | optional |
| Committees2 | committees2 | no description | Unknown | optional |
| Joint_committees | joint_committees | no description | Unknown | optional |
| Term_length | term_length | no description | Unknown | optional |
| Authority | authority | no description | Unknown | optional |
| Salary | salary | no description | Unknown | optional |
| Seats1 | seats1 | no description | Unknown | optional |
| Seats2 | seats2 | no description | Unknown | optional |
| Seats3 | seats3 | no description | Unknown | optional |
| Seats4 | seats4 | no description | Unknown | optional |
| Seats5 | seats5 | no description | Unknown | optional |
| Seats6 | seats6 | no description | Unknown | optional |
| Seats7 | seats7 | no description | Unknown | optional |
| Seats8 | seats8 | no description | Unknown | optional |
| Members | members | no description | Unknown | optional |
| Seats | seats | no description | Unknown | optional |
| Structure1_res | structure1_res | no description | Unknown | optional |
| Structure1_alt | structure1_alt | no description | Unknown | optional |
| House1 | house1 | no description | Unknown | optional |
| Structure2 | structure2 | no description | Unknown | optional |
| Structure2_res | structure2_res | no description | Unknown | optional |
| Structure2_alt | structure2_alt | no description | Unknown | optional |
| House2 | house2 | no description | Unknown | optional |
| Political_groups2 | political_groups2 | no description | Unknown | optional |
| Seats1_title | seats1_title | no description | Unknown | optional |
| Seats2_title | seats2_title | no description | Unknown | optional |
| Seats3_title | seats3_title | no description | Unknown | optional |
| Seats4_title | seats4_title | no description | Unknown | optional |
| Seats5_title | seats5_title | no description | Unknown | optional |
| Seats6_title | seats6_title | no description | Unknown | optional |
| Seats7_title | seats7_title | no description | Unknown | optional |
| Seats8_title | seats8_title | no description | Unknown | optional |
| Seats9_title | seats9_title | no description | Unknown | optional |
| Seats9 | seats9 | no description | Unknown | optional |
| Seats10_title | seats10_title | no description | Unknown | optional |
| Seats10 | seats10 | no description | Unknown | optional |
| Voting_system1 | voting_system1 | no description | Unknown | optional |
| Voting_system2 | voting_system2 | no description | Unknown | optional |
| First_election1 | first_election1 | no description | Unknown | optional |
| First_election2 | first_election2 | no description | Unknown | optional |
| First_election3 | first_election3 | no description | Unknown | optional |
| Last_election1 | last_election1 | no description | Unknown | optional |
| Last_election2 | last_election2 | no description | Unknown | optional |
| Last_election3 | last_election3 | no description | Unknown | optional |
| Next_election1 | next_election1 | no description | Unknown | optional |
| Next_election2 | next_election2 | no description | Unknown | optional |
| Next_election3 | next_election3 | no description | Unknown | optional |
| Redistricting | redistricting | no description | Unknown | optional |
| Motto | motto | no description | Unknown | optional |
| Session_room | session_room | no description | Unknown | optional |
| Meeting_place | meeting_place | no description | Unknown | optional |
| Session_res | session_res | no description | Unknown | optional |
| Session_alt | session_alt | no description | Unknown | optional |
| Session_room2 | session_room2 | no description | Unknown | optional |
| Session_res2 | session_res2 | no description | Unknown | optional |
| Session_alt2 | session_alt2 | no description | Unknown | optional |
| Meeting_place2 | meeting_place2 | no description | Unknown | optional |
| Session_room3 | session_room3 | no description | Unknown | optional |
| Session_res3 | session_res3 | no description | Unknown | optional |
| Session_alt3 | session_alt3 | no description | Unknown | optional |
| Meeting_place3 | meeting_place3 | no description | Unknown | optional |
| Website | website | no description | Unknown | optional |
| Constitution | constitution | no description | Unknown | optional |
| Rules | rules | no description | Unknown | optional |
| Footnotes | footnotes | no description | Unknown | optional |
| Text_color | text_color | no description | Unknown | optional |
Tracking category
Template:Organization infoboxes