Template:Cabinet table minister

From MicroWiki, the micronational encyclopædia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

This template, {{Cabinet table minister}}, is intended to be used in cabinet articles, and creates a list of ministers in e.g. the Reinfeldt Cabinet. For this you need the templates {{Cabinet table start}}, {{Cabinet table ministry}} and {{Cabinet table end}}. It can create up to ten columns, for ten persons that held the same office.

Parameters

Cabinet table start

The following template is needed for start the list. The following parameters are only used when you do not want to show what party the minister belongs to or if you should have references. In this case, you _must_ omit all the |ministerX_party= parameters to allow the columns to align properly.

{{Cabinet table start
 | hidepartycol                = y
 | hiderefcol                  = y
}}

Cabinet table ministry

If you want to show ministries, shall the following template be used.

{{Cabinet table ministry
 | ministry                    = 
}}

Cabinet table minister

{{Cabinet table minister
 | title                       = 
 | minister1                   = 
 | minister1_party             = Used only when a government composed of a coalition of ministers from different parties.
 | minister1_termstart         = 
 | minister1_termend           = If omitted, this will be in the box, "Incumbent."
 | minister1_ref               = 
 | minister1_ministryhead      = y
 | minister2                   = 
 | minister2_party             =  
 | minister2_termstart         = 
 | minister2_termend           = 
 | minister2_ref               = 
 | minister2_ministryhead      = 
 | minister3                   = 
 | minister3_party             = 
 | minister3_termstart         = 
 | minister3_termend           = 
 | minister3_ref               = 
 | minister3_ministryhead      = 
 | minister4                   = 
 | minister4_party             = 
 | minister4_termstart         = 
 | minister4_termend           = 
 | minister4_ref               = 
 | minister4_ministryhead      = 
 | minister5                   = 
 | minister5_party             = 
 | minister5_termstart         = 
 | minister5_termend           = 
 | minister5_ref               = 
 | minister5_ministryhead      =
 | minister6                   =
 | minister6_party             =
 | minister6_termstart         =
 | minister6_termend           =
 | minister6_ref               =
 | minister6_ministryhead      =
 | minister7                   =
 | minister7_party             =
 | minister7_termstart         =
 | minister7_termend           =
 | minister7_ref               =
 | minister7_ministryhead      =
 | minister8                   =
 | minister8_party             =
 | minister8_termstart         =
 | minister8_termend           =
 | minister8_ref               =
 | minister8_ministryhead      =
 | minister9                   =
 | minister9_party             =
 | minister9_termstart         =
 | minister9_termend           =
 | minister9_ref               =
 | minister9_ministryhead      =
 | minister10                  =
 | minister10_party            =
 | minister10_termstart        =
 | minister10_termend          =
 | minister10_ref              =
 | minister10_ministryhead     =
 | minister11                  =
 | minister11_party            =
 | minister11_termstart        =
 | minister11_termend          =
 | minister11_ref              =
 | minister11_ministryhead     =
}}

<templatedata> { "params": {

       "minister11": {},

"minister10": {}, "minister9": {}, "minister8": {}, "minister7": {}, "minister6": {}, "minister5": {}, "minister4": {}, "minister3": {}, "minister2": {}, "title": {}, "minister1": {}, "minister1_party": {}, "minister1_acting": {}, "minister1_ministryhead": {}, "minister1_termstart": {}, "minister1_termend": {}, "minister1_diä": {}, "minister1_ref": {}, "minister2_party": {}, "minister2_acting": {}, "minister2_ministryhead": {}, "minister2_termstart": {}, "minister2_termend": {}, "minister2_diä": {}, "minister2_ref": {}, "minister3_party": {}, "minister3_acting": {}, "minister3_ministryhead": {}, "minister3_termstart": {}, "minister3_termend": {}, "minister3_diä": {}, "minister3_ref": {}, "minister4_party": {}, "minister4_acting": {}, "minister4_ministryhead": {}, "minister4_termstart": {}, "minister4_termend": {}, "minister4_diä": {}, "minister4_ref": {}, "minister5_party": {}, "minister5_acting": {}, "minister5_ministryhead": {}, "minister5_termstart": {}, "minister5_termend": {}, "minister5_diä": {}, "minister5_ref": {}, "minister6_party": {}, "minister6_acting": {}, "minister6_ministryhead": {}, "minister6_termstart": {}, "minister6_termend": {}, "minister6_diä": {}, "minister6_ref": {}, "minister7_party": {}, "minister7_acting": {}, "minister7_ministryhead": {}, "minister7_termstart": {}, "minister7_termend": {}, "minister7_diä": {}, "minister7_ref": {}, "minister8_party": {}, "minister8_acting": {}, "minister8_ministryhead": {}, "minister8_termstart": {}, "minister8_termend": {}, "minister8_diä": {}, "minister8_ref": {}, "minister9_party": {}, "minister9_acting": {}, "minister9_ministryhead": {}, "minister9_termstart": {}, "minister9_termend": {}, "minister9_diä": {}, "minister9_ref": {}, "minister10_party": {}, "minister10_acting": {}, "minister10_ministryhead": {}, "minister10_termstart": {}, "minister10_termend": {}, "minister10_diä": {}, "minister10_ref": {}, "minister11_party": {}, "minister11_acting": {}, "minister11_ministryhead": {}, "minister11_termstart": {}, "minister11_termend": {}, "minister11_diä": {}, "minister11_ref": {} } } </templatedata>

Cabinet table end

When you are finished with the list, you close it with the template {{Cabinet table end}}.

Example

Coalition government

The following example is an excerpt from the article Kekkonen I Cabinet.

{{Cabinet table start|hiderefcol=y}}
{{Cabinet table minister
 | title                 = Prime Minister
 | minister1             = [[Urho Kekkonen]] 
 | minister1_termstart   = March 17, 1950
 | minister1_termend     = January 17, 1951
 | minister1_party       = Agrarian League (Finland)
}}
{{Cabinet table minister
 | title                 = Minister of  Foreign Affairs
 | minister1             = [[Åke Gartz]] 
 | minister1_termstart   = March 17, 1950
 | minister1_termend     = January 17, 1951
 | minister1_party       = Independent politician
}}
{{Cabinet table minister
 | title                 = Deputy Minister of Foreign Affairs
 | minister1             = [[Sakari Tuomioja]]
 | minister1_termstart   = March 17, 1950
 | minister1_termend     = January 17, 1951
 | minister1_party       = National Progressive Party (Finland)
}}
{{Cabinet table end}}
Portfolio Minister Took office Left office Party
Prime Minister Urho KekkonenMarch 17, 1950January 17, 1951Agrarian League (Finland)
Minister of Foreign Affairs Åke GartzMarch 17, 1950January 17, 1951Independent
Deputy Minister of Foreign Affairs Sakari TuomiojaMarch 17, 1950January 17, 1951National Progressive Party (Finland)

No party or ref columns

The following is an excerpt from the article Third Gladstone ministry

{{Cabinet table start
 | hidepartycol                = y
 | hiderefcol                  = y
}}
{{Cabinet table minister
 | title                 = {{unbulleted list|[[First Lord of the Treasury]]|[[Lord Privy Seal]]|[[Leader of the House of Commons]]}}
 | minister1             = [[William Ewart Gladstone]]
 | minister1_termstart   = {{start date|1886|2|1|df=yes}}
 | minister1_termend     = {{end date|1886|7|20|df=yes}}
 | minister1_ministryhead= y
}}
{{Cabinet table minister
 | title                 = [[Lord Chancellor]]
 | minister1             = [[Farrer Herschell, 1st Baron Herschell|The Lord Herschell]]
 | minister1_termstart   = {{start date|1886|2|6|df=yes}}
 | minister1_termend     = {{end date|1886|8|3|df=yes}}
}}
{{Cabinet table minister
 | title                 = [[Lord President of the Council]]
 | minister1             = [[John Spencer, 5th Earl Spencer|The Earl Spencer]]
 | minister1_termstart   = {{start date|1886|2|6|df=yes}}
 | minister1_termend     = {{end date|1886|8|3|df=yes}}
}}
{{Cabinet table minister
 | title                 = [[Home Secretary|Secretary of State for the Home Department]]
 | minister1             = [[Hugh Childers]]
 | minister1_termstart   = {{start date|1886|2|6|df=yes}}
 | minister1_termend     = {{end date|1886|8|3|df=yes}}
}}
{{Cabinet table minister
 | title                 = [[Secretary of State for Foreign Affairs]]
 | minister1             = [[Archibald Primrose, 5th Earl of Rosebery|The Earl of Rosebery]]
 | minister1_termstart   = {{start date|1886|2|6|df=yes}}
 | minister1_termend     = {{end date|1886|8|3|df=yes}}
}}
{{cabinet table end}}
Portfolio Minister Took office Left office
William Ewart Gladstone*1 February 1886 (1886-02-01)20 July 1886 (1886-07-20)
Lord ChancellorThe Lord Herschell6 February 1886 (1886-02-06)3 August 1886 (1886-08-03)
Lord President of the CouncilThe Earl Spencer6 February 1886 (1886-02-06)3 August 1886 (1886-08-03)
Secretary of State for the Home DepartmentHugh Childers6 February 1886 (1886-02-06)3 August 1886 (1886-08-03)
Secretary of State for Foreign AffairsThe Earl of Rosebery6 February 1886 (1886-02-06)3 August 1886 (1886-08-03)

See also