Difference between revisions of "Template:Disability navbox"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (fmt)
imported>Paine Ellsworth
(fmt)
Line 107: Line 107:
 
** [[Special Olympics]]
 
** [[Special Olympics]]
  
  | group8 = Portal
+
<!-- we don't have enough lists yet..
  | list8 =
+
  | group8 = Lists
* [[Portal:Disability|Portal]]
+
  | list8 = [[List of disability-related topics|Disability-related topics]]
** [[:Category:Disability|categories]]
+
* [[List of fictional characters with disabilities|Fictional characters]]
** [[:Category:Disability-related lists|lists]]
+
* [[List of people with disabilities|People]] -->
  
 +
| belowclass = hlist
 
  | belowstyle = background:LemonChiffon
 
  | belowstyle = background:LemonChiffon
 
  | below =
 
  | below =
 +
* {{icon|portal}} [[Portal:Disability|Portal]]
 +
* {{icon|category}} [[:Category:Disability|Category]]
 +
* {{icon|list}} [[:Category:Disability-related lists|Lists]]
  
 
}}<noinclude>
 
}}<noinclude>
<!-- we don't have any lists yet..
 
| group6 = Lists
 
| list6 = [[List of disability-related topics|Disability-related topics]]
 
* [[List of fictional characters with disabilities|Fictional characters]]
 
* [[List of people with disabilities|People]]
 
-->
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Please add category and language links to the <includeonly> section at the bottom of the [[Template:Disability navbox/doc]] page, not here -->
 
<!-- Please add category and language links to the <includeonly> section at the bottom of the [[Template:Disability navbox/doc]] page, not here -->
 
<noinclude>
 
<noinclude>

Revision as of 22:41, 10 February 2019

50px 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.