Difference between revisions of "Template:England topics"

From blackwiki
Jump to navigation Jump to search
(state handling, bodyclass, sublists (list1, including new links), groupname, moved one-item list to 'above', belowstyle, moving {{collapsible option}}/categories/etc to documentation page, added comment re previous)
(tweak)
Line 14: Line 14:
 
   |group1 =[[History of England|History]]
 
   |group1 =[[History of England|History]]
 
   |list1 =
 
   |list1 =
   {{Navbox |child |bodyclass=hlist |groupstyle=padding:0.25em 0.5em;font-weight:normal;
+
   {{Navbox |child |bodyclass=hlist |groupstyle=padding:0.25em 0.5em;background:#ddf;font-weight:normal;
 
     |group1 = Overviews
 
     |group1 = Overviews
 
     |list1 =
 
     |list1 =

Revision as of 10:20, 25 November 2012

50px Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

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

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

See also

bg:Шаблон:Великобритания теми