Difference between revisions of "Template:govt/doc"
Jump to navigation
Jump to search
m (→Helpful List of PMs from 1916–present:) |
m (→Examples) |
||
| Line 20: | Line 20: | ||
* <code><nowiki>{{govt|span|ConLib}}</nowiki></code> {{govt|span|ConLib}} | * <code><nowiki>{{govt|span|ConLib}}</nowiki></code> {{govt|span|ConLib}} | ||
* <code><nowiki>{{govt|span|ConLib|CC}}</nowiki></code> {{govt|span|ConLib|CC}} | * <code><nowiki>{{govt|span|ConLib|CC}}</nowiki></code> {{govt|span|ConLib|CC}} | ||
| − | + | * <code><nowiki>{{govt|span|Lib|Lloyd George}}</nowiki></code> {{govt|span|Lib|Lloyd George}} | |
Revision as of 02:18, 27 October 2018
Usage
Tiny template to print "Conservatives / Labour / Cons/LibDems" in party colours. Optionally takes a PM as a 3rd argument, eg. "Thatcher".
ToDo: Remove all instances of the old templates Template:Con, Template:Lab and Template:ConLib, and replace with this one.
The parameters are:
{{govt
| arg-0 - One of [div / span]. Determines (a) whether the output is wrapped in a div and (b) what font size is used.
| arg-1 - Party name, abbreviated. One of [ Con | Lab | Lib | ConLib ]
| arg-2 - PM name (optional)
}}
Examples
{{govt|div|Con|May}}Conservatives (May){{govt|span|Con}}Conservatives{{govt|span|Lab|Blair}}Labour (Blair){{govt|span|ConLib}}Cons/LibDem{{govt|span|ConLib|CC}}Cons/LibDem (Cameron/Clegg){{govt|span|Lib|Lloyd George}}Liberals (Lloyd George)
Helpful List of PMs from 1916–present:
- Conservatives (May)Jul.2016-
- Conservatives (Cameron)May.2015-Jul.2016
- Cons/LibDem (Cameron/Clegg)May.2010-May.2015
- Labour (Brown)Jun.2007-May.2010
- Labour (Blair)May.1997-Jun.2007
- Conservatives (Major)Nov.1990-May.1997
- Conservatives (Thatcher)May.1979-Nov.1990
- Labour (Callaghan)Apr.1976-May.1979
- Labour (Wilson)Mar.1974-Apr.1976
- Conservatives (Heath)Jun.1970-Mar.1974
- Labour (Wilson)Oct.1964-Jun.1970
- Conservatives (Douglas-Home)Oct.1963-Oct.1964
- Conservatives (Macmillan)Jan.1957-Oct.1963
- Conservatives (Eden)Apr.1955-Jan.1957
- Conservatives (Churchill)Oct.1951-Apr.1955
- Labour (Attlee)Jul.1945-Oct.1951
- Conservatives (Churchill)May.1940-Jul.1945
- Conservatives (Chamberlain)May.1937-May.1940
- Conservatives (Baldwin)Jun.1935-May.1937
- Labour (MacDonald)Jun.1929-Jun.1935
- Conservatives (Baldwin)Nov.1924-Jun.1929
- Labour (MacDonald)Jan.1924-Nov.1924
- Conservatives (Baldwin)May.1923-Jan.1924
- Conservatives (Law)Oct.1922-May.1923
- Liberals (Lloyd George)Dec.1916-Oct.1922
- Liberals (Campbell-Bannerman)Dec.1905–Apr.1908