Difference between revisions of "Template:govt/doc"
Jump to navigation
Jump to search
m |
m (→Examples) |
||
| Line 17: | Line 17: | ||
* <code><nowiki>{{govt|span|Lab|Blair}}</nowiki></code> {{govt|span|Lab|Blair}} | * <code><nowiki>{{govt|span|Lab|Blair}}</nowiki></code> {{govt|span|Lab|Blair}} | ||
* <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}} | ||
| + | |||
Revision as of 11:35, 17 August 2018
Usage
Tiny template to print "Conservatives / Labour / Cons/LibDems" in party colours. Optionally takes a PM as a 3rd argument, eg. "Thatcher".
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 | 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)
Helpful List of PMs from 1979–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
Note to me: remove all instances of the old templates Template:Con, Template:Lab and Template:ConLib, and replace with this one.