Difference between revisions of "Template:Disability navbox"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(lighten background to address accessibility issues)
imported>Paine Ellsworth
(remove distracting styles)
Line 2: Line 2:
 
  | name = Disability navbox
 
  | name = Disability navbox
 
  | title = [[Disability]]
 
  | title = [[Disability]]
| groupstyle = background-color:LemonChiffon
 
| titlestyle = {{{titlestyle|background:lightgreen}}}
 
 
  | state = {{{state<noinclude>|uncollapsed</noinclude>}}}
 
  | state = {{{state<noinclude>|uncollapsed</noinclude>}}}
 
  | listclass = hlist
 
  | listclass = hlist
Line 30: Line 28:
 
  | group3 = Rights, Law, Support
 
  | group3 = Rights, Law, Support
 
  | list3 = {{Navbox|subgroup
 
  | list3 = {{Navbox|subgroup
| groupstyle = background-color:LemonChiffon
 
 
     | group1 = Rights
 
     | group1 = Rights
 
     | list1 =
 
     | list1 =
Line 114: Line 111:
  
 
  | belowclass = hlist
 
  | belowclass = hlist
| belowstyle = background:LemonChiffon
 
 
  | below =
 
  | below =
 
* {{icon|portal}} [[Portal:Disability|Portal]]
 
* {{icon|portal}} [[Portal:Disability|Portal]]

Revision as of 10:20, 11 February 2019

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

Usage

This template can be added to articles with a major topic area of "disability". Please use this template if the resulting article has more than one navigation box. The vertical sidebar template {{Disability sidebar}} is an alternative for articles in the single major topic area of "disability", but it is less suitable for very short articles.

Initial visibility: currently defaults to expanded

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

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