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

From blackwiki
Jump to navigation Jump to search
imported>Mirokado
(update for expanded parameter)
imported>Guavabutter
m
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
{{Documentation subpage}} {{Disability sidebar}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
 +
{{Caution |A horizontally aligned version of this template exists at {{tl|Disability navbox}}. Please ensure that its content matches that here.}}
  
{{Caution|A horizontal version of the {{tlx|Disability sidebar}} template is at {{tlx|Disability navbox}}.<br />Please update both these templates consistently.}}
+
===Usage===
 +
: {{tc|Disability sidebar&nbsp;(|''listname'')}}
  
=== Usage ===
+
This template can be added to articles whose single major topic area is [[disability]].  
<pre>
 
{{Disability sidebar}}
 
</pre>
 
This template can be added to articles whose single major topic area is [[Disability]]. For very short articles or articles needing more than one navigation template {{tlx|Disability navbox}} is more suitable.
 
  
If the single major topic area of an article corresponds very closely to one of the groups in the sidebar (for example [[Disabled sports]]), that group may be expanded by default by using one of the following definitions instead:
+
If the article is very short or suitable for the inclusion of more than one navigational template, use {{tl|Disability navbox}} instead.
<pre>
 
{{Disability sidebar |expanded=Theory}}
 
{{Disability sidebar |expanded=Education}}
 
{{Disability sidebar |expanded=Therapy}}
 
{{Disability sidebar |expanded=Societal}}
 
{{Disability sidebar |expanded=Personal}}
 
{{Disability sidebar |expanded=Socioeconomic}}
 
{{Disability sidebar |expanded=Groups}}
 
{{Disability sidebar |expanded=Sports}}
 
{{Disability sidebar |expanded=Culture}}
 
</pre>
 
<includeonly>
 
<!-- categories -->
 
[[Category:Social science and society navigational boxes|Disability]]
 
  
<!-- interwiki links -->
+
If the single major topic area of an article corresponds very closely to one of the groups in the sidebar, that group may be expanded by default as follows:
[[ja:Template:Disability]]
+
{{Collapsible lists option |listnames={{hlist |theory |education |therapy |societal |personal |socioeconomic |orgs |sports |culture}} }}
</includeonly>
+
 
 +
===See also===
 +
* {{tl|User disability}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
[[Category:Society and social science navigational boxes]]
 +
[[Category:Disability templates]]
 +
[[Category:Society and social science sidebar templates]]
 +
}}</includeonly>

Latest revision as of 03:33, 1 September 2020

Usage

{{Disability sidebar (|listname)}}

This template can be added to articles whose single major topic area is disability.

If the article is very short or suitable for the inclusion of more than one navigational template, use {{Disability navbox}} instead.

If the single major topic area of an article corresponds very closely to one of the groups in the sidebar, that group may be expanded by default as follows:

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Disability sidebar |expanded=all}} or, if enabled, {{Disability sidebar |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Disability sidebar |expanded=listname}} or, if enabled, {{Disability sidebar |listname}}
  • …where listname is one of the following (do not include any quotemarks):
    • theory
    • education
    • therapy
    • societal
    • personal
    • socioeconomic
    • orgs
    • sports
    • culture

See also