Template:Infobox government cabinet: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
(Created page with "{{infobox | bodystyle = width:auto; max-width:30em | abovestyle = background-color: #ededed; | above = <includeonly><span class="fn org">{{{cabinet_name|{{PAGENAME}}}}}...") |
en>The Earwig (support organisations -> organizations using {{engvar}} inferred from {{{jurisdiction}}}) |
||
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><span class="fn org">{{{cabinet_name|{{ | | above = <includeonly><span class="fn org">{{{cabinet_name|{{PAGENAMEBASE}}}}}</span></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 and organisations}} | | 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 and {{engvar |defaultWord=organisations |defaultLang=en-UK |en-US=organizations |engvar={{{engvar|{{{jurisdiction|}}}}}}}}}} | ||
| | | label4 = {{#if:{{{state_head_title|}}}|{{{state_head_title}}}|Head of state}} | ||
| | | data4 = {{#if:{{{state_head|}}}|{{{state_head|}}}}} | ||
| | | label5 = {{#if:{{{governor_title|}}}|{{{governor_title}}}|Governor}} | ||
| | | data5 = {{{governor|}}} | ||
| | | label6 = {{#if:{{{governor_general_title|}}}|{{{governor_general_title}}}|Governor-General}} | ||
| data6 = {{{governor_general|}}} | |||
| | | label7 = {{#if:{{{represented_by_title|}}}|{{{represented_by_title}}}|Represented by}} | ||
| data7 = {{{represented_by|}}} | |||
| | | label8 = {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|Head of government}} | ||
| | | data8 = {{#if:{{{government_head|}}}|{{{government_head|}}}}} | ||
| | | label9 = {{#if:{{{government_head_title|}}}|{{{government_head_title}}}|Head of government}}'s history | ||
| | | data9 = {{{government_head_history|}}} | ||
| | | 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 = {{#if:{{{other_government_minister_title|}}}|{{{other_government_minister_title}}}}} | ||
| | | data11 = {{{other_government_minister|}}} | ||
| | | label12 = {{abbr|No.|Number}} of ministers | ||
| | | data12 = {{{members_number|{{{current_number|}}}}}} | ||
| | | label13 = Ministers removed | ||
| | | data13 ={{br separated entries | ||
| 1 = {{#if:{{{former_members_resigned|}}}|{{{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 = Total {{abbr|no.|number}} of members | ||
| | | data14 = {{{total_number|}}} | ||
| | | label15 = {{#if:{{{political_party|}}}|Member party|Member parties}} | ||
| data15 = {{#if:{{{political_party|}}}|{{{political_party}}}|{{{political_parties|}}}}} | |||
| | | label16 = Status in legislature | ||
| | | data16 = {{{legislature_status|}}} | ||
| | | label17 = Opposition cabinet | ||
| | | data17 = {{{opposition_cabinet|}}} | ||
| | | label18 = {{#if:{{{opposition_party|}}}|Opposition party|Opposition parties}} | ||
| | | data18 = {{#if:{{{opposition_party|}}}|{{{opposition_party}}}|{{{opposition_parties|}}}}} | ||
| | | label19 = {{#if:{{{opposition_leader|}}}|Opposition leader|Opposition leaders}} | ||
| | | data19 = {{#if:{{{opposition_leader|}}}|{{{opposition_leader}}}|{{{opposition_leaders|}}}}} | ||
| label21 = Advice and consent | | 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 = Election(s) | |||
| data21 = {{{election|}}} | |||
| label22 = Outgoing election | |||
| data22 = {{{last_election|}}} | |||
| 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 84: | Line 103: | ||
| 5 = {{{advice_and_consent5|}}} | | 5 = {{{advice_and_consent5|}}} | ||
}} | }} | ||
| | |||
| | | label26 = Incoming formation | ||
| | | data26 = {{{incoming_formation|}}} | ||
| | |||
| | | label27 = Outgoing formation | ||
| | | data27 = {{{outgoing_formation|}}} | ||
| | |||
| | | label28 = Predecessor | ||
}}{{#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> | | data28 = {{{previous|{{{predecessor|}}}}}} | ||
| label29 = Successor | |||
| data29 = {{{successor|}}} | |||
}}{{#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]]}}}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 06:32, 17 June 2021
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create]