Template:Infobox government cabinet/doc: Difference between revisions
Jump to navigation
Jump to search
Ozycaevias (talk | contribs) m (1 revision imported) |
en>WOSlinker m (syntaxhighlight lang="wikitext") |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | |||
== Usage == | == Usage == | ||
{{ | {{Parameter names example | ||
| | | kabineto_pavadinimas | ||
| | | cabinet_number | ||
| | | cabinet_type | ||
| jurisdiction | | jurisdiction | ||
| flag | | flag | ||
| flag_border | | flag_border | ||
| incumbent | | flag_width | ||
| image | | incumbent | ||
| caption | | image | ||
| date_formed | | image_size | ||
| date_dissolved | | alt | ||
| government_head | | caption | ||
| government_head_history | | date_formed | ||
| deputy_government_head | | date_dissolved | ||
| state_head | | government_head_title | ||
| represented_by | | government_head | ||
| members_number | | government_head_history | ||
| deputy_government_head_title | |||
| total_number | | deputy_government_head | ||
| political_party | | other_government_minister_title | ||
| other_government_minister | |||
| opposition_cabinet | | state_head | ||
| governor | |||
| opposition_leader | | governor_general | ||
| represented_by | |||
| last_election | | members_number= {{{members_number}}} or {{{current_number}}} | ||
| legislature_term | | former_members_number | ||
| budget | | total_number | ||
| advice_and_consent1 | | political_party= {{{political_party}}} or {{{political_parties}}} | ||
| advice_and_consent2 | | legislature_status | ||
| incoming_formation | | opposition_cabinet | ||
| outgoing_formation | | opposition_party= {{{opposition_party}}} or {{{opposition_parties}}} | ||
| predecessor | | opposition_leader= {{{opposition_leader}}} or {{{opposition_leaders}}} | ||
| election | |||
| last_election | |||
| legislature_term | |||
| budget | |||
| advice_and_consent1 | |||
| advice_and_consent2 | |||
| advice_and_consent3 | |||
| advice_and_consent4 | |||
| advice_and_consent5 | |||
| incoming_formation | |||
| outgoing_formation | |||
| predecessor= {{{predecessor}}} or {{{previous}}} | |||
| successor | |||
}} | }} | ||
< | |||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | |||
{{Infobox government cabinet | {{Infobox government cabinet | ||
| cabinet_name = | | cabinet_name = | ||
| cabinet_number = | |||
| cabinet_type = <!-- an alternative name for "cabinet"; defaults to "cabinet" --> | | cabinet_type = <!-- an alternative name for "cabinet"; defaults to "cabinet" --> | ||
| jurisdiction = | | jurisdiction = | ||
| flag = | | flag = | ||
| flag_border = true | | flag_border = true | ||
| flag_width = | |||
| incumbent = | | incumbent = | ||
| image = | | image = | ||
| image_size = | |||
| alt = | |||
| caption = | | caption = | ||
| date_formed = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | | date_formed = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | ||
| date_dissolved = <!-- {{End date|YYYY|MM|DD|df=y}} --> | | date_dissolved = <!-- {{End date|YYYY|MM|DD|df=y}} --> | ||
| state_head_title = <!-- e.g., Monarch, President; defaults to "Head of state" --> | |||
| state_head = | |||
| government_head_title = <!-- e.g., Prime Minister --> | |||
| government_head = | | government_head = | ||
| government_head_history = | | government_head_history = | ||
| deputy_government_head_title = | |||
| deputy_government_head = | | deputy_government_head = | ||
| | | other_government_minister_title = | ||
| members_number = | | other_government_minister = | ||
| governor_title = | |||
| governor = | |||
| governor_general_title = | |||
| governor_general = | |||
| represented_by_title = | |||
| represented_by = | |||
| members_number = <!-- or | current_number = --> | |||
| former_members_number = | | former_members_number = | ||
| total_number = | | total_number = | ||
| political_party = <!-- or | political_parties = --> | | political_party = <!-- or | political_parties = --> | ||
| legislature_status = | | legislature_status = <!-- e.g., coalition government --> | ||
| opposition_cabinet = | | opposition_cabinet = | ||
| opposition_party = <!-- or | opposition_parties = --> | | opposition_party = <!-- or | opposition_parties = --> | ||
Line 69: | Line 96: | ||
| budget = | | budget = | ||
| advice_and_consent1 = | | advice_and_consent1 = | ||
| advice_and_consent2 = <!-- up to | | advice_and_consent2 = <!-- up to | advice_and_consent5 = --> | ||
| incoming_formation = | | incoming_formation = <!-- events leading to formation of govt.: e.g., [[Norway debate]] --> | ||
| outgoing_formation = | | outgoing_formation = <!-- events or debate leading to dissolution --> | ||
| predecessor = | | predecessor = <!-- or | previous = --> | ||
| successor = | | successor = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
Separate multiple values using {{Tl|plainlist}}. | Separate multiple values using {{Tl|plainlist}}. | ||
=== Multiple images === | === Multiple images === | ||
For an array of up to four images, use | For an array of up to four images, use: | ||
< | <syntaxhighlight lang="wikitext" style="overflow: auto;"> | ||
| image = | | image = | ||
| image_size = x85px | | image_size = x85px | ||
| alt = | |||
| image2 = | | image2 = | ||
| image_size2 = x85px | | image_size2 = x85px | ||
| alt2 = | |||
| image3 = | | image3 = | ||
| image_size3 = x85px | | image_size3 = x85px | ||
| alt3 = | |||
| image4 = | | image4 = | ||
| image_size4 = x85px | | image_size4 = x85px | ||
</ | | alt4 = | ||
| caption = | |||
</syntaxhighlight> | |||
== Tracking categories == | == Tracking categories == | ||
Line 96: | Line 128: | ||
* {{clc|Pages using infobox government cabinet with government_head_history}} | * {{clc|Pages using infobox government cabinet with government_head_history}} | ||
<includeonly>{{ | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Politics and government infobox templates|Government Cabinet]] | [[Category:Politics and government infobox templates|Government Cabinet]] |
Revision as of 06:45, 21 May 2023
This is a documentation subpage for Template:Infobox government cabinet. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
Infobox government cabinet/doc | |
---|---|
[[File:{{{flag}}}|{{{flag_width}}}|border]] {{{cabinet_number}}} {{{cabinet_type}}} of {{{jurisdiction}}} | |
{{{incumbent}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Date formed | {{{date_formed}}} |
Date dissolved | {{{date_dissolved}}} |
People | |
Head of state | {{{state_head}}} |
Governor | {{{governor}}} |
Governor-General | {{{governor_general}}} |
Represented by | {{{represented_by}}} |
{{{government_head_title}}} | {{{government_head}}} |
{{{government_head_title}}}'s history | {{{government_head_history}}} |
{{{deputy_government_head_title}}} | {{{deputy_government_head}}} |
{{{other_government_minister_title}}} | {{{other_government_minister}}} |
No. of ministers | {{{members_number}}} or {{{current_number}}} |
Ministers removed | {{{former_members_number}}} |
Total no. of members | {{{total_number}}} |
Member party | {{{political_party}}} or {{{political_parties}}} |
Status in legislature | {{{legislature_status}}} |
Opposition cabinet | {{{opposition_cabinet}}} |
Opposition party | {{{opposition_party}}} or {{{opposition_parties}}} |
Opposition leader | {{{opposition_leader}}} or {{{opposition_leaders}}} |
History | |
Election(s) | {{{election}}} |
Outgoing election | {{{last_election}}} |
Legislature term(s) | {{{legislature_term}}} |
Budget(s) | {{{budget}}} |
Advice and consent | {{{advice_and_consent1}}} {{{advice_and_consent2}}} {{{advice_and_consent3}}} {{{advice_and_consent4}}} {{{advice_and_consent5}}} |
Incoming formation | {{{incoming_formation}}} |
Outgoing formation | {{{outgoing_formation}}} |
Predecessor | {{{predecessor}}} or {{{previous}}} |
Successor | {{{successor}}} |
{{Infobox government cabinet
| cabinet_name =
| cabinet_number =
| cabinet_type = <!-- an alternative name for "cabinet"; defaults to "cabinet" -->
| jurisdiction =
| flag =
| flag_border = true
| flag_width =
| incumbent =
| image =
| image_size =
| alt =
| caption =
| date_formed = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| date_dissolved = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| state_head_title = <!-- e.g., Monarch, President; defaults to "Head of state" -->
| state_head =
| government_head_title = <!-- e.g., Prime Minister -->
| government_head =
| government_head_history =
| deputy_government_head_title =
| deputy_government_head =
| other_government_minister_title =
| other_government_minister =
| governor_title =
| governor =
| governor_general_title =
| governor_general =
| represented_by_title =
| represented_by =
| members_number = <!-- or | current_number = -->
| former_members_number =
| total_number =
| political_party = <!-- or | political_parties = -->
| legislature_status = <!-- e.g., coalition government -->
| opposition_cabinet =
| opposition_party = <!-- or | opposition_parties = -->
| opposition_leader = <!-- or | opposition_leaders = -->
| election =
| last_election =
| legislature_term =
| budget =
| advice_and_consent1 =
| advice_and_consent2 = <!-- up to | advice_and_consent5 = -->
| incoming_formation = <!-- events leading to formation of govt.: e.g., [[Norway debate]] -->
| outgoing_formation = <!-- events or debate leading to dissolution -->
| predecessor = <!-- or | previous = -->
| successor =
}}
Separate multiple values using {{plainlist}}.
Multiple images
For an array of up to four images, use:
| image =
| image_size = x85px
| alt =
| image2 =
| image_size2 = x85px
| alt2 =
| image3 =
| image_size3 = x85px
| alt3 =
| image4 =
| image_size4 = x85px
| alt4 =
| caption =
Tracking categories
- Category:Pages using infobox government cabinet with number and without jurisdiction (2)
- Category:Pages using infobox government cabinet with government_head_history (6)