Difference between revisions of "Template:2011 United Kingdom Alternative Vote referendum"

From blackwiki
Jump to navigation Jump to search
blackwiki>BrownHairedGirl
blackwiki>Frietjes
(navbox subgroup syntax update)
Line 16: Line 16:
  
 
|group3 = Parties
 
|group3 = Parties
|list3  = {{Navbox subgroup
+
|list3  = {{Navbox|subgroup
|groupstyle = width:15em;
+
|groupwidth = 15em
|liststyle = width:auto;
+
 
 
  |group1 = For a "Yes" vote
 
  |group1 = For a "Yes" vote
 
  |list1  =
 
  |list1  =
Line 57: Line 57:
  
 
|group4 = Advocacy groups
 
|group4 = Advocacy groups
|list4  = {{Navbox subgroup
+
|list4  = {{Navbox|subgroup
|groupstyle = width:15em;
+
|groupwidth = 15em
|liststyle = width:auto;
+
 
 
  |group1 = Advocating a "Yes" vote
 
  |group1 = Advocating a "Yes" vote
 
  |list1  =
 
  |list1  =
Line 69: Line 69:
  
 
|group5 = Print media
 
|group5 = Print media
|list5  = {{Navbox subgroup
+
|list5  = {{Navbox|subgroup
|groupstyle = width:15em;
+
|groupwidth = 15em
|liststyle = width:auto;
+
 
 
  |group1 = For a "Yes" vote
 
  |group1 = For a "Yes" vote
 
  |list1  =
 
  |list1  =
Line 91: Line 91:
 
|below = '''[[Portal:Politics|Politics Portal]]'''
 
|below = '''[[Portal:Politics|Politics Portal]]'''
 
}}<noinclude>
 
}}<noinclude>
<br/>{{collapsible option}}
+
 
 +
{{collapsible option}}
 
{{DEFAULTSORT:United Kingdom Alternative Vote Referendum, 2011}}
 
{{DEFAULTSORT:United Kingdom Alternative Vote Referendum, 2011}}
 
[[Category:Election and referendum templates]]
 
[[Category:Election and referendum templates]]
 
[[Category:United Kingdom templates]]
 
[[Category:United Kingdom templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:15, 16 September 2017

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{2011 United Kingdom Alternative Vote referendum|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{2011 United Kingdom Alternative Vote referendum|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{2011 United Kingdom Alternative Vote referendum|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.