Difference between revisions of "Template:James Callaghan"

From blackwiki
Jump to navigation Jump to search
imported>Woodensuperman
imported>Neveselbert
(add below parameter)
Line 3: Line 3:
 
| title    = [[James Callaghan]]
 
| title    = [[James Callaghan]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| listclass = hlist
+
| bodyclass = hlist
 
| image    = [[File:James Callaghan.JPG|right|100px]]
 
| image    = [[File:James Callaghan.JPG|right|100px]]
  
 
|group1=Premiership
 
|group1=Premiership
 
|list1=
 
|list1=
* [[Labour Government 1976–1979|1976-1979]]
+
* [[Labour government 1974–79|1976–1979]]
  
 
|group2 = General elections
 
|group2 = General elections
Line 34: Line 34:
 
* [[Winter of Discontent]]
 
* [[Winter of Discontent]]
 
* [[1979 vote of no confidence in the government of James Callaghan|1979 vote of no confidence]]
 
* [[1979 vote of no confidence in the government of James Callaghan|1979 vote of no confidence]]
* [[1979 Prime Minister's Resignation Honours|Resignation Honours]]
+
* [[1979 Dissolution Honours|Resignation Honours]]
 
* [[Father of the House]]
 
* [[Father of the House]]
* [[Margaret Thatcher]]
+
 
 +
| below =
 +
* [[Harold Wilson|← Harold Wilson]]
 +
* [[Margaret Thatcher|Margaret Thatcher →]]
 +
 
 +
* {{Icon|Category}} [[:Category:James Callaghan|Category]]
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 13:02, 6 June 2017

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{James Callaghan|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{James Callaghan|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{James Callaghan|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.