Difference between revisions of "Template:Disability navbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
imported>Paine Ellsworth
(update /doc)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
{{Caution|A vertical sidebar version of the {{tlx|Disability navbox}} template is at {{tlx|Disability sidebar}}.<br />Please update both these templates consistently.}}
+
{{Caution|A vertical sidebar version of this template is at {{tlx|Disability sidebar}}.<br />Please update both templates consistently.}}
  
 
=== Usage ===
 
=== 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 {{tlx|Disability sidebar}} is an alternative for articles whose single major topic area is Disability, but is less suitable for very short articles.
+
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 {{tlx|Disability sidebar}} is an alternative for articles in the single major topic area of "disability", but it is less suitable for very short articles.
  
<includeonly>
+
{{Collapsible option|default=expanded}}
<!-- categories -->
+
 
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Society and social science navigational boxes|Disability navbox]]
 
[[Category:Society and social science navigational boxes|Disability navbox]]
 
[[Category:Disability templates]]
 
[[Category:Disability templates]]
  
<!-- interwiki links -->
+
}}</includeonly>
</includeonly>
 

Latest revision as of 22:54, 10 February 2019

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.