Шаблон:Infobox legislative term/doc
This is an infobox to use in articles about a legislature's individual terms or sessions.
Usage
вироиш{{Infobox legislative term | name = | image = | image_size = | alt = | caption = | body = | meeting_place = | election = | government = | term_start = <!-- {{Start date|YYYY|mm|D|df=y}} --> | term_end = <!-- {{End date|YYYY|mm|D|df=y}} --> | before = | after = | website = <!-- {{URL|example.com}} --> | chamber1 = | chamber1_image = | chamber1_image_size = | chamber1_alt = | membership1 = | control1 = | chamber1_leader1_type = | chamber1_leader1 = | chamber1_leader2_type = | chamber1_leader2 = | chamber1_leader3_type = | chamber1_leader3 = | chamber1_leader4_type = | chamber1_leader4 = | chamber2 = | chamber2_image = | chamber2_image_size = | chamber2_alt = | membership2 = | control2 = | chamber2_leader1_type = | chamber2_leader1 = | chamber2_leader2_type = | chamber2_leader2 = | chamber2_leader3_type = | chamber2_leader3 = | chamber2_leader4_type = | chamber2_leader4 = | session1_start = | session1_end = }}
Parameters
вироиш- name
- a name for this term, e.g. "110th United States Congress"
- image
- an image
- image_size
- size in pixels of the image; suffix "px"
- alt
- image alt text
- caption
- brief description of the image
- body
- name of the assembly, e.g.
[[Oregon Legislative Assembly]]
- jurisdiction
- the territory the legislature governs, e.g.
[[Florida]], United States
; omit unless it differs from the legislature's current or usual jurisdiction - meeting_place
- name of the building where the legislative assembly meets
- election
- general election to the legislative assembly
- government
- government of the legislative assembly
- term_start
- term start date; use {{Start date}}, with
|df=y
for UK-style dates - term_end
- term end date; use {{End date}}, as above
- before
- name of the previous term, if any, e.g.
[[109th United States Congress|109th Congress]]
- after
- name of the subsequent term, if any
- website
- a website for this term, if any; use {{URL}}
The following section is repeatable for up to four different chambers by changing the first "1" in each field. The leader fields are repeatable up to a total of 6 positions by changing "leader1" to "leader2", etc.
- chamber1
- name of the chamber, e.g. <code>[[Oregon House of Representatives]]
- chamber1_image
- composition image of the chamber, e.g. File:House of Lords current.svg
- chamber1_image_size
- specify a size for the composition image
- chamber1_alt
- alt text for the composition image
- membership1
- the total number of members in the chamber, e.g. 45 Senators
- control1
- political party in control of the chamber, if any
- chamber1_leader1_type
- title of the leader of that chamber, e.g. Senate President
- chamber1_leader1
- name of the leader of that chamber, e.g. <code>[[Bob Dole]]
The following section is repeatable up to 6 times by changing the number in the parameter name.
- session1_start
- start date of session
- session1_end
- end date of session
Example
вироиш{{Infobox legislative term | name = Eighty-third Minnesota Legislature | image = Minnesota State Capitol.jpg | image_size = | alt = The Minnesota State Capitol building in bright daylight | caption = | body = [[Minnesota Legislature]] | meeting_place = [[Minnesota State Capitol]] | term_start = {{Start date|2003|01|03}} | term_end = {{End date|2004|05|16}} | before = [[Eighty-second Minnesota Legislature|82nd]] | after = [[Eighty-fourth Minnesota Legislature|84th]] | chamber1 = [[Minnesota State Senate]] | membership1 = 67 | control1 = [[Minnesota Democratic-Farmer-Labor Party|Democratic-Farmer-Labor Party]] | chamber1_leader1_type = President of the Senate | chamber1_leader1 = [[James Metzen]] | chamber1_leader2_type = Senate Majority Leader | chamber1_leader2 = {{Plainlist| * John Hottinger * [[Dean Johnson]] }} | chamber1_leader3_type = Senate Minority Leader | chamber1_leader3 = [[Dick Day]] | chamber2 = [[Minnesota House of Representatives]] | membership2 = 134 | control2 = [[Republican Party of Minnesota|Republican Party]] | chamber2_leader1_type = Speaker of the House | chamber2_leader1 = [[Margaret Anderson Kelliher]] | chamber2_leader2_type = House Majority Leader | chamber2_leader2 = [[Erik Paulsen]] | chamber2_leader3_type = House Minority Leader | chamber2_leader3 = [[Matt Entenza]] | session1_start = {{Start date|2003|01|03}} | session1_end = {{End date|2003|03|28}} }}
Microformat
вироишThe HTML mark-up produced by this template includes an hCalendar microformat that makes event 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.
- Classes used
The HTML classes this microformat uses include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.