Template:Infobox government cabinet: Difference between revisions
Jump to navigation
Jump to search
Ozycaevias (talk | contribs) m (1 revision imported) |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
| bodystyle = width:auto; max-width:30em | | bodystyle = width:auto; max-width:30em | ||
| abovestyle = background-color: #ededed; | | abovestyle = background-color: #ededed; | ||
| above = <includeonly>< | | above = <includeonly><div class="fn org">{{{cabinet_name|{{PAGENAMEBASE}}}}}</div></includeonly> | ||
| subheaderstyle1 = font-weight:bold; | | subheaderstyle1 = font-weight:bold; | ||
| subheader1 = {{br separated entries | | subheader1 = {{br separated entries | ||
| 1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|border={{#if:{{{flag_border|}}}|yes}}|size={{{flag_width|}}}|sizedefault=50px}} | | 1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|border={{#if:{{{flag_border|}}}|yes}}|size={{{flag_width|}}}|sizedefault=50px}} | ||
| 2 = {{#if:{{{jurisdiction|}}}|{{{cabinet_number|}}} {{ | | 2 = {{#if:{{{jurisdiction|}}}|{{{cabinet_number|}}} {{if empty|{{{cabinet_type|}}}|Cabinet}} of {{{jurisdiction}}}}} | ||
}} | }} | ||
Line 24: | Line 24: | ||
| data2 = {{{date_dissolved|}}} | | data2 = {{{date_dissolved|}}} | ||
| header3 = {{#if:{{{government_head|}}}{{{government_head_history|}}}{{{deputy_government_head|}}}{{{state_head|}}}{{{current_number|}}}{{{former_members_number|}}}{{{total_number|}}}{{{political_party|}}}{{{legislature_status|}}}{{{opposition_cabinet|}}}{{{opposition_party|}}}{{{opposition_leader|}}}|People | | header3 = {{#if:{{{government_head|}}}{{{government_head_history|}}}{{{deputy_government_head|}}}{{{state_head|}}}{{{current_number|}}}{{{former_members_number|}}}{{{total_number|}}}{{{political_party|}}}{{{legislature_status|}}}{{{opposition_cabinet|}}}{{{opposition_party|}}}{{{opposition_leader|}}}|People}} | ||
| label4 = {{#if:{{{state_head_title|}}}|{{{state_head_title}}}|Head of state}} | | label4 = {{#if:{{{state_head_title|}}}|{{{state_head_title}}}|Head of state}} | ||
| data4 = | | data4 = {{{state_head|}}} | ||
| label5 = {{#if:{{{ | | label5 = {{#if:{{{governor_title|}}}|{{{governor_title}}}|Governor}} | ||
| data5 = {{{ | | data5 = {{{governor|}}} | ||
| label6 = {{#if:{{{ | | label6 = {{#if:{{{governor_general_title|}}}|{{{governor_general_title}}}|Governor-General}} | ||
| data6 = {{{ | | data6 = {{{governor_general|}}} | ||
| label7 = {{#if:{{{ | | label7 = {{#if:{{{represented_by_title|}}}|{{{represented_by_title}}}|Represented by}} | ||
| data7 = {{ | | data7 = {{{represented_by|}}} | ||
| label8 = {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|Head of government}} | | label8 = {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|Head of government}} | ||
| data8 = {{{ | | data8 = {{{government_head|}}} | ||
| label9 = | | label9 = {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|Head of government}}'s history | ||
| data9 = {{{ | | data9 = {{{government_head_history|}}} | ||
| label10 = {{ | | label10 = {{#if:{{{deputy_government_head_title|}}}|{{{deputy_government_head_title}}}|Deputy {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|head of government}}}} | ||
| | | data10 = {{{deputy_government_head|}}} | ||
| label11 = | | label11 = {{{other_government_minister_title|}}} | ||
| data11 = {{{ | | data11 = {{{other_government_minister|}}} | ||
| label12 = | | label12 = {{abbr|No.|Number}} of ministers | ||
| data12 = {{{ | | data12 = {{{members_number|{{{current_number|}}}}}} | ||
| label13 = {{#if:{{{ | | label13 = Ministers removed | ||
| | | data13 ={{br separated entries | ||
| 1 = {{#if:{{{former_members_number|}}}|{{{former_members_number|}}}}} | |||
| 2 = {{#if:{{{former_members_resigned|}}}|{{{former_members_resigned|}}} resigned }} | |||
| 3 = {{#if:{{{former_members_dismissed|}}}|{{{former_members_dismissed|}}} dismissed }} | |||
| 4 = {{#if:{{{former_members_died|}}}|{{{former_members_died|}}} died }} | |||
| 5 = {{#if:{{{former_members_other|}}}|{{{former_members_other|}}} left for other reasons }} | |||
}} | |||
| label14 = | | label14 = Total {{abbr|no.|number}} of members | ||
| data14 = {{{ | | data14 = {{{total_number|}}} | ||
| label15 = | | label15 = {{#if:{{{political_party|}}}|Member party|Member parties}} | ||
| data15 = {{{ | | data15 = {{#if:{{{political_party|}}}|{{{political_party}}}|{{{political_parties|}}}}} | ||
| label16 = | | label16 = Status in legislature | ||
| data16 = | | data16 = {{{legislature_status|}}} | ||
| label17 = | | label17 = Opposition cabinet | ||
| data17 = | | data17 = {{{opposition_cabinet|}}} | ||
| | | label18 = {{#if:{{{opposition_party|}}}|Opposition party|Opposition parties}} | ||
| data18 = {{#if:{{{opposition_party|}}}|{{{opposition_party}}}|{{{opposition_parties|}}}}} | |||
| label19 = | | label19 = {{#if:{{{opposition_leader|}}}|Opposition leader|Opposition leaders}} | ||
| data19 = {{{ | | data19 = {{#if:{{{opposition_leader|}}}|{{{opposition_leader}}}|{{{opposition_leaders|}}}}} | ||
| | | header20 = {{#if:{{{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|}}}{{{previous|{{{predecessor|}}}}}}{{{successor|}}}|History}} | ||
| | |||
| label21 = | | label21 = Election(s) | ||
| data21 = {{{ | | data21 = {{{election|}}} | ||
| label22 = | | label22 = Outgoing election | ||
| data22 = {{{ | | data22 = {{{last_election|}}} | ||
| label23 = Advice and consent | | label23 = Legislature term(s) | ||
| | | data23 = {{{legislature_term|}}} | ||
| label24 = Budget(s) | |||
| data24 = {{{budget|}}} | |||
| label25 = Advice and consent | |||
| data25 = {{br separated entries | |||
| 1 = {{{advice_and_consent1|}}} | | 1 = {{{advice_and_consent1|}}} | ||
| 2 = {{{advice_and_consent2|}}} | | 2 = {{{advice_and_consent2|}}} | ||
Line 92: | Line 104: | ||
}} | }} | ||
| | | label26 = Incoming formation | ||
| | | data26 = {{{incoming_formation|}}} | ||
| | | label27 = Outgoing formation | ||
| | | data27 = {{{outgoing_formation|}}} | ||
| | | label28 = Predecessor | ||
| | | data28 = {{{previous|{{{predecessor|}}}}}} | ||
| | | label29 = Successor | ||
| | | data29 = {{{successor|}}} | ||
}}{{#if:{{{cabinet_number|}}}|{{#if:{{{jurisdiction|}}}||[[Category:Pages using infobox government cabinet with number and without jurisdiction]]}}}}{{#if:{{{government_head_history|}}}|[[Category:Pages using infobox government cabinet with government_head_history]]}}<noinclude> | }}{{#if:{{{cabinet_number|}}}|{{#if:{{{jurisdiction|}}}||{{main other|[[Category:Pages using infobox government cabinet with number and without jurisdiction]]}}}}}}{{#if:{{{government_head_history|}}}|{{main other|[[Category:Pages using infobox government cabinet with government_head_history]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox government cabinet with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox government cabinet]] with unknown parameter "_VALUE_"|ignoreblank=y| advice_and_consent1 | advice_and_consent2 | advice_and_consent3 | advice_and_consent4 | advice_and_consent5 | alt | alt2 | alt3 | alt4 | budget | cabinet_name | cabinet_number | cabinet_type | caption | current_number | date_dissolved | date_formed | deputy_government_head | deputy_government_head_title | election | engvar | flag | flag_border | flag_width | former_members_died | former_members_dismissed | former_members_number | former_members_other | former_members_resigned | government_head | government_head_history | government_head_title | governor | governor_general | governor_general_title | governor_title | image | image_size | image_size2 | image_size3 | image_size4 | image2 | image3 | image4 | incoming_formation | incumbent | jurisdiction | last_election | legislature_status | legislature_term | members_number | opposition_cabinet | opposition_leader | opposition_leaders | opposition_parties | opposition_party | other_government_minister | other_government_minister_title | outgoing_formation | political_parties | political_party | predecessor | previous | represented_by | represented_by_title | state_head | state_head_title | successor | total_number }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:10, 4 September 2023
This template uses Lua: |
Usage
Infobox government cabinet | |
---|---|
[[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 =