Difference between revisions of "Template:govt/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 28: | Line 28: | ||
* {{govt|div|Con|Thatcher}} May.1979–Nov.1990 | * {{govt|div|Con|Thatcher}} May.1979–Nov.1990 | ||
| − | {{tc|Note to me:}} remove all instances of the old templates [[Template:Con]], [[Template:Lab]] and [[Template: | + | {{tc|Note to me:}} remove all instances of the old templates [[Template:Con]], [[Template:Lab]] and [[Template:ConLib]], and replace with this one. |
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 00:17, 18 July 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
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.