Difference between revisions of "Template:Leaders of the Liberal Party of Australia"

From blackwiki
Jump to navigation Jump to search
imported>Philiashasspots
(Added the autocollapse and describe on the article how to manage this template's visibility)
Line 6: Line 6:
 
| image = <!--Please don't add a flag or other image as this template combined with others-->
 
| image = <!--Please don't add a flag or other image as this template combined with others-->
 
| list1 =
 
| list1 =
* [[Robert Menzies|Menzies]]
+
* [[Robert Menzies]]
* [[Harold Holt|Holt]]
+
* [[Harold Holt]]
* [[John Gorton|Gorton]]
+
* [[John Gorton]]
* [[William McMahon|McMahon]]
+
* [[William McMahon]]
* [[Billy Snedden|Snedden]]
+
* [[Billy Snedden]]
* [[Malcolm Fraser|Fraser]]
+
* [[Malcolm Fraser]]
* [[Andrew Peacock|Peacock]]
+
* [[Andrew Peacock]]
* [[John Howard|Howard]]
+
* [[John Howard]]
* [[Andrew Peacock|Peacock]]
+
* [[Andrew Peacock]]
* [[John Hewson|Hewson]]
+
* [[John Hewson]]
* [[Alexander Downer|Downer]]
+
* [[Alexander Downer]]
* [[John Howard|Howard]]
+
* [[John Howard]]
* [[Brendan Nelson|Nelson]]
+
* [[Brendan Nelson]]
* [[Malcolm Turnbull|Turnbull]]
+
* [[Malcolm Turnbull]]
* [[Tony Abbott|Abbott]]
+
* [[Tony Abbott]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 05:46, 5 February 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Leaders of the Liberal Party of Australia|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Leaders of the Liberal Party of Australia|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Leaders of the Liberal Party of Australia|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.