Difference between revisions of "Template:govt/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Examples)
m (→‎Helpful List of PMs from 1979–present:)
Line 29: Line 29:
 
* {{govt|div|Con|Major}} Nov.1990–May.1997
 
* {{govt|div|Con|Major}} Nov.1990–May.1997
 
* {{govt|div|Con|Thatcher}} May.1979–Nov.1990
 
* {{govt|div|Con|Thatcher}} May.1979–Nov.1990
 +
* {{govt|div|Lab|Callaghan}} Apr.1976–May.1979
 +
* {{govt|div|Lab|Wilson}} Mar.1974–Apr.1976
 +
* {{govt|div|Con|Heath}} Jun.1970–Mar.1974
 +
* {{govt|div|Lab|Wilson}} Oct.1964–Jun.1970
 +
* {{govt|div|Con|Douglas-Home}} Oct.1963–Oct.1964
  
 
{{tc|Note to me:}} remove all instances of the old templates Template:Con, Template:Lab and Template:ConLib, and replace with this one.
 
{{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 14:28, 23 August 2018

<< Template:govt

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
  • 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

Note to me: remove all instances of the old templates Template:Con, Template:Lab and Template:ConLib, and replace with this one.