Fyrimynd:Cabinet table minister/doc

Frá Wikipedia, hin frælsa alfrøðin

Usage[rætta wikitekst]

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 six columns, for six persons that held the same office.

Parameters[rætta wikitekst]

Cabinet table start[rætta wikitekst]

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.

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

Cabinet table ministry[rætta wikitekst]

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

{{Cabinet table ministry
 | ministry                    = 
}}

Cabinet table minister[rætta wikitekst]

{{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, "sitandi."
 | 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      =
}}

Cabinet table end[rætta wikitekst]

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

Example[rætta wikitekst]

Coalition government[rætta wikitekst]

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}}
Starvsøki Ráðharri Tók við Fór frá Flokkur
Prime Minister Urho KekkonenMarch 17, 1950January 17, 1951[[Agrarian League (Finland)|Fyrimynd:Agrarian League (Finland)/meta/shortname]]
Minister of Foreign Affairs Åke GartzMarch 17, 1950January 17, 1951Uttanflokka
Deputy Minister of Foreign Affairs Sakari TuomiojaMarch 17, 1950January 17, 1951[[National Progressive Party (Finland)|Fyrimynd:National Progressive Party (Finland)/meta/shortname]]

See also[rætta wikitekst]