Difference between revisions of "Template:Help desk searches/doc"

From blackwiki
Jump to navigation Jump to search
imported>Suntag
(Added cat)
imported>Teratornis
(add Template:Collapsible option to automatically document the "state" option on the template page)
Line 13: Line 13:
  
 
  {{Tl|Help desk searches}}
 
  {{Tl|Help desk searches}}
 +
<!-- Includes an explanation of the collapsible option. Note that it does show the right page name once shown in the green /doc box on the template page. -->
 +
{{collapsible option}}
  
 
=== Do not use in articles ===
 
=== Do not use in articles ===

Revision as of 19:47, 2 December 2008

Usage

{{Help desk searches}} is a navigation template that links to several {{Google custom}} searches that enable Help desk volunteers to answer questions on the Help desk. The template may also be useful to anyone who edits Wikipedia and wants to look up help pages, guidelines, and instructions from various locations.

The template is suitable for adding to at least these locations:

The template takes no parameters. To add it to a page, use the code:

{{Help desk searches}}

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Help desk searches|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Help desk searches|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Help desk searches|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 autocollapse.

Do not use in articles

See also