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

From blackwiki
Jump to navigation Jump to search
imported>HYH.124
(Made a mistake; added back category)
imported>Sardanaphalus
({{Disability sidebar}}, tc, a couple of rephrasings, {{Collapsible lists option}})
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- 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}}
+
If the article is very short or suitable for the inclusion of more than one navigational template, use {{tl|Disability navbox}} instead.
</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, that group may be expanded by default as follows:
 +
; {{bigger|Collapsible lists}} : {{Collapsible lists option |listnames={{hlist |theory |education |therapy |societal |personal |socioeconomic |orgs |sports |culture}} }}
 +
 
 +
===See also===
 +
* {{tl|User disability}}
  
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 by using one of the following definitions 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>
 
==See also==
 
*{{Tl|User disability}}
 
 
<includeonly>
 
<includeonly>
[[Category:Social science and society navigational boxes|Disability]]
+
[[Category:Social science and society navigational boxes]]
 
[[Category:Disability templates]]
 
[[Category:Disability templates]]
 
</includeonly>
 
</includeonly>

Revision as of 16:06, 27 December 2014

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:

Collapsible lists 

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