Template:Infobox legislature: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
Created page with "{{Infobox | bodyclass = vcard | abovestyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|ba..." |
No edit summary |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| abovestyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} | | abovestyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} | ||
| above = <includeonly><span class="fn org">{{{name}}}</span> {{#if:{{{native_name|}}}|<br /> | | above = <includeonly><span class="fn org">{{{name}}}</span> {{#if:{{{native_name|}}}|<br /><span class="nickname"{{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>{{#if:{{{transcription_name|}}}|<br /><span class="nickname">{{{transcription_name}}}</span>}}}}</includeonly> | ||
| subheader = {{{legislature|}}} | | subheader = {{{legislature|}}} | ||
| image = {{{image|}}} | | image = {{{image|{{{coa_pic|}}}}}} | ||
| caption = {{{coa_caption|}}} | | caption = {{{coa_caption|}}} | ||
| image2 = | | image2 = {{{logo_pic|}}} | ||
| caption2 = {{{logo_caption|}}} | | caption2 = {{{logo_caption|}}} | ||
| headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} | | headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} | ||
| Line 33: | Line 33: | ||
| header15 = {{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}{{{leader4|}}}{{{leader5|}}}{{{leader6|}}}|Leadership}} | | header15 = {{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}{{{leader4|}}}{{{leader5|}}}{{{leader6|}}}|Leadership}} | ||
| label16 = {{longitem|{{{leader1_type|}}}}} | | label16 = {{longitem|{{{leader1_type|}}}}} | ||
| data16 = {{#if:{{{leader1|}}} |{{longitem | | data16 = {{#if:{{{leader1|}}} |{{longitem|{{{leader1|}}}{{#if:{{{party1|}}}|{{#ifeq:{{Str index|{{{party1|}}}|1}}|(||,}} {{{party1|}}}}} {{#if:{{{election1|}}}|<br/>since {{{election1|}}}}} }} }} | ||
| label17 = {{longitem | | label17 = {{longitem|{{{leader2_type|}}}}} | ||
| data17 = {{#if:{{{leader2|}}} |{{longitem | | data17 = {{#if:{{{leader2|}}} |{{longitem|{{{leader2|}}}{{#if:{{{party2|}}}|{{#ifeq:{{Str index|{{{party2|}}}|1}}|(||,}} {{{party2|}}}}} {{#if:{{{election2|}}}|<br/>since {{{election2|}}}}} }} }} | ||
| label18 = {{longitem | | label18 = {{longitem|{{{leader3_type|}}}}} | ||
| data18 = {{#if:{{{leader3|}}} |{{longitem | | data18 = {{#if:{{{leader3|}}} |{{longitem|{{{leader3|}}}{{#if:{{{party3|}}}|{{#ifeq:{{Str index|{{{party3|}}}|1}}|(||,}} {{{party3|}}}}} {{#if:{{{election3|}}}|<br/>since {{{election3|}}}}} }} }} | ||
| label19 = {{longitem | | label19 = {{longitem|{{{leader4_type|}}}}} | ||
| data19 = {{#if:{{{leader4|}}} |{{longitem | | data19 = {{#if:{{{leader4|}}} |{{longitem|{{{leader4|}}}{{#if:{{{party4|}}}|{{#ifeq:{{Str index|{{{party4|}}}|1}}|(||,}} {{{party4|}}}}} {{#if:{{{election4|}}}|<br/>since {{{election4|}}}}} }} }} | ||
| label20 = {{longitem | | label20 = {{longitem|{{{leader5_type|}}}}} | ||
| data20 = {{#if:{{{leader5|}}} |{{longitem | | data20 = {{#if:{{{leader5|}}} |{{longitem|{{{leader5|}}}{{#if:{{{party5|}}}|{{#ifeq:{{Str index|{{{party5|}}}|1}}|(||,}} {{{party5|}}}}} {{#if:{{{election5|}}}|<br/>since {{{election5|}}}}} }} }} | ||
| label21 = {{longitem | | label21 = {{longitem|{{{leader6_type|}}}}} | ||
| data21 = {{#if:{{{leader6|}}} |{{longitem | | data21 = {{#if:{{{leader6|}}} |{{longitem|{{{leader6|}}}{{#if:{{{party6|}}}|{{#ifeq:{{Str index|{{{party6|}}}|1}}|(||,}} {{{party6|}}}}} {{#if:{{{election6|}}}|<br/>since {{{election6|}}}}} }} }} | ||
| header22 = {{#if:{{{structure1|}}}{{{political_groups1|}}}{{{structure3|}}}{{{political_groups3|}}}{{{committees1|}}}{{{committees2|}}}{{{joint_committees|}}}{{{term_length|}}}{{{authority|}}}{{{salary|}}} {{{seats1|}}}{{{seats2|}}}{{{seats3|}}}{{{seats4|}}}{{{seats5|}}}{{{seats6|}}}{{{seats7|}}}{{{seats8|}}}|Structure}} | | header22 = {{#if:{{{structure1|}}}{{{political_groups1|}}}{{{structure3|}}}{{{political_groups3|}}}{{{committees1|}}}{{{committees2|}}}{{{joint_committees|}}}{{{term_length|}}}{{{authority|}}}{{{salary|}}} {{{seats1|}}}{{{seats2|}}}{{{seats3|}}}{{{seats4|}}}{{{seats5|}}}{{{seats6|}}}{{{seats7|}}}{{{seats8|}}}|Structure}} | ||
| Line 54: | Line 54: | ||
| label27 = {{longitem|{{#if:{{{house2|}}}|{{{house2}}} political groups|Political groups}}}} | | label27 = {{longitem|{{#if:{{{house2|}}}|{{{house2}}} political groups|Political groups}}}} | ||
| data27 = {{{political_groups2|}}} | | data27 = {{{political_groups2|}}} | ||
| label28 = {{#if:{{{house1}}}|{{{house1}}} committees|Committees}} | | label28 = {{#if:{{{committees}}}|Committees}} | ||
| | | data28 = {{{committees|}}} | ||
| | | label29 = {{#if:{{{house1}}}|{{{house1|}}} committees|Committees}} | ||
| | | data29 = {{{committees1|}}} | ||
| | | label30 = {{#if:{{{house2}}}|{{{house2|}}} committees|Committees}} | ||
| | | data30 = {{{committees2|}}} | ||
| | | label31 = {{longitem|Joint committees}} | ||
| | | data31 = {{{joint_committees|}}} | ||
| | | label32 = {{longitem|Length of term}} | ||
| | | data32 = {{{term_length|}}} | ||
| | | label33 = Authority | ||
| | | data33 = {{{authority|}}} | ||
| label34 = Salary | |||
| data34 = {{{salary|}}} | |||
| | | label35 = {{longitem|{{{seats1_title|}}}}} | ||
| | | data35 = {{{seats1|}}} | ||
| | | label36 = {{longitem|{{{seats2_title|}}}}} | ||
| | | data36 = {{{seats2|}}} | ||
| | | label37 = {{longitem|{{{seats3_title|}}}}} | ||
| | | data37 = {{{seats3|}}} | ||
| | | label38 = {{longitem|{{{seats4_title|}}}}} | ||
| | | data38 = {{{seats4|}}} | ||
| | | label39 = {{longitem|{{{seats5_title|}}}}} | ||
| | | data39 = {{{seats5|}}} | ||
| | | label40 = {{longitem|{{{seats6_title|}}}}} | ||
| | | data40 = {{{seats6|}}} | ||
| | | label41 = {{longitem|{{{seats7_title|}}}}} | ||
| | | data41 = {{{seats7|}}} | ||
| | | label42 = {{longitem|{{{seats8_title|}}}}} | ||
| | | data42 = {{{seats8|}}} | ||
| | | header43 = {{#if:{{{voting_system1|}}}{{{voting_system2|}}}{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}{{{next_election1|}}}{{{next_election2|}}}{{{next_election3|}}}{{{redistricting|}}}|Elections}} | ||
| | | label44 = {{longitem|{{#if:{{{house1|}}}|{{{house1}}} voting system|Voting system}}}} | ||
| | | data44 = {{{voting_system1|}}} | ||
| | | label45 = {{longitem|{{#if:{{{house2|}}}|{{{house2}}} voting system|Voting system}}}} | ||
| | | data45 = {{{voting_system2|}}} | ||
| | | label46 = {{longitem|{{#if:{{{house1|}}}|{{{house1}}} last election|Last election}}}} | ||
| | | data46 = {{{last_election1|}}} | ||
| | | label47 = {{longitem|{{#if:{{{house2|}}}|{{{house2}}} last election|Last election}}}} | ||
| | | data47 = {{{last_election2|}}} | ||
| | | label48 = {{longitem|Last general election}} | ||
| | | data48 = {{{last_election3|}}} | ||
| | | label49 = {{longitem|{{#if:{{{house1|}}}|{{{house1}}} next election|Next election}}}} | ||
| | | data49 = {{{next_election1|}}} | ||
| | | label50 = {{longitem|{{#if:{{{house2|}}}|{{{house2}}} next election|Next election}}}} | ||
| | | data50 = {{{next_election2|}}} | ||
| | | label51 = {{longitem|Next general election}} | ||
| | | data51 = {{{next_election3|}}} | ||
| | | label52 = Redistricting | ||
| | | data52 = {{{redistricting|}}} | ||
| | | header53 = {{#if:{{{motto|}}}|Motto}} | ||
| data53 = {{{motto|}}} | | data53 = {{{motto|}}} | ||
| Line 128: | Line 130: | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
[[Category:Government]] | |||
Latest revision as of 14:23, 3 November 2025
[edit] []
Template documentation
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
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) or that don't exist (defunct legislative, disbanded ones).
Syntax
| name native_name transcription_name | |
| legislature | |
| coa_pic | |
| logo_pic | |
| Type | |
|---|---|
| Type |
[[house_type]] of the [[body]] |
| Houses | houses |
Term limits |
term_limits |
| History | |
| Founded | foundation |
| Disbanded | disbanded |
| Preceded by | preceded_by |
| Succeeded by | succeeded_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 |
| Structure | |
| Seats | seats |
| [[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 committees | committees1 |
| house2 committees | committees2 |
Joint committees |
joint_committees |
Length of term |
term_length |
| Authority | authority |
| Salary | salary |
| Elections | |
house1 voting system |
voting_system1 |
house2 voting system |
voting_system2 |
house1 last election |
last_election1 |
house2 last election |
last_election2 |
house1 next election |
next_election1 |
house2 next election |
next_election2 |
| Motto | |
| Meeting place | |
| [[File:session_room|session_res|alt=session_alt]] | |
| meeting_place | |
| Website | |
| website | |
| Footnotes | |
| footnotes | |
{{Infobox legislature
| name =
| native_name =
| native_name_lang =
| transcription_name =
| legislature =
| coa_pic =
| coa_caption =
| coa_res =
| coa_alt =
| logo_pic =
| logo_caption =
| logo_res =
| logo_alt =
| house_type =
| body =
| 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 =
| seats =
| 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 =
| next_election1 =
| next_election2 =
| session_room =
| session_res =
| session_alt =
| meeting_place =
| website = <!-- {{URL|www.example.com}} -->
| footnotes =
| motto =
}}
Parameters
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 {{unbulleted list}} 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 Template:Tld for more than one native language
- legislature - the term of the on-going session (e.g.: "40th Canadian Parliament"; "10th Legislature (of Las Cortes Generales)")
- coa_pic - 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
- logo - logo (Optional).
- logo_res - resolution of logo (Optional. Default = 120px - Note: include "px" if selecting this).
- logo_alt - text representation of the logo
- house_type - bicameral/unicameral for assembly; upper house/lower house for the houses themselves; unicameral house for assembly with a different name from its legislature.
- 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>.
- 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
- 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 of the political structure of house1 (optional).
- structure1_res - resolution of the structure1 image
- structure1_alt - text representation of structure1 image
- structure2 - 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.
- next_election1 - the next election date for house1.
- next_election2 - the next election date for house2.
- session_room - 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
| The above documentation is transcluded from Template:Infobox legislature/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |