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

From blackwiki
Jump to navigation Jump to search
imported>Mirokado
(initial contents, working up listclass=hlist, not yet satisfactory)
 
imported>Mirokado
(belowclass didn't work, flatlist does but is not the way I would like to do it)
Line 4: Line 4:
 
|titleclass = navbox-title
 
|titleclass = navbox-title
 
|headingclass = navbox-abovebelow
 
|headingclass = navbox-abovebelow
|listclassbelow = hlist
 
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[File:Disability symbols.svg|90px|Disability symbols]]
 
|image = [[File:Disability symbols.svg|90px|Disability symbols]]
Line 89: Line 88:
 
* [[Disability in the media]]
 
* [[Disability in the media]]
  
|below =
+
|below = {{flatlist|
 
* [[Portal:Disability|Disability portal]]
 
* [[Portal:Disability|Disability portal]]
 
* [[:Category:Disability|category]]
 
* [[:Category:Disability|category]]
 
* [[:Category:Disability lists|lists]]
 
* [[:Category:Disability lists|lists]]
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Please add category and language links to the <includeonly> section at the bottom of the [[Template:Disability/doc]] page, not here -->
 
<!-- Please add category and language links to the <includeonly> section at the bottom of the [[Template:Disability/doc]] page, not here -->
 
</noinclude>
 
</noinclude>

Revision as of 22:21, 9 January 2012

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

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