Difference between revisions of "Template:Camden local elections"

From blackwiki
Jump to navigation Jump to search
imported>NSH002
(tidy up new template (remove non-template cat; correct use of hlist, +{{collapsible option}}; + election template cat; fix "state=" parm; collapsible groups abbr))
imported>MRSC
(move electoral wards {{Wards of Camden}})
Line 20: Line 20:
 
* [[Camden Council election, 2010|2010]]
 
* [[Camden Council election, 2010|2010]]
 
* ''[[Camden Council election, 2014|2014]]''
 
* ''[[Camden Council election, 2014|2014]]''
 
| group2 = Electoral wards
 
| abbr2 = Wards
 
| state2 = <noinclude>expanded</noinclude>
 
| list2 =
 
* [[Belsize (ward)|Belsize]]
 
* [[Bloomsbury (ward)|Bloomsbury]]
 
* [[Camden Town with Primrose Hill (ward)|Camden Town with Primrose Hill]]
 
* [[Cantelowes (ward)|Cantelowes]]
 
* [[Fortune Green (ward)|Fortune Green]]
 
* [[Frognal and Fitzjohns (ward)|Frognal and Fitzjohns]]
 
* [[Gospel Oak (ward)|Gospel Oak]]
 
* [[Hampstead Town (ward)|Hampstead Town]]
 
* [[Highgate (Camden ward)|Highgate]]
 
* [[Holborn and Covent Garden (ward)|Holborn and Covent Garden]]
 
* [[Kentish Town (ward)|Kentish Town]]
 
* [[Kilburn (Camden ward)|Kilburn]]
 
* [[King's Cross (ward)|King's Cross]]
 
* [[Regent's Park (ward)|Regent's Park]]
 
* [[St Pancras and Somers Town (ward)|St Pancras and Somers Town]]
 
* [[Swiss Cottage (ward)|Swiss Cottage]]
 
* [[West Hampstead (ward)|West Hampstead]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 07:36, 6 February 2014

Template documentation

Initial visibility: currently defaults to autocollapse

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

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

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • Wards