Template:String-handling templates/doc

This is an old revision of this page, as edited by Sardanaphalus (talk | contribs) at 11:58, 7 July 2014 (sandbox non-categorization, {{Collapsible sections option}}, {{Collapsible option}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Add {{Navbox string handling templates}} to the bottom of a documentation page of a template listed in the navbox.

Collapsible groups and sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • trim, IRL, anlys/tech

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{String-handling templates|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{String-handling templates|state=expanded}} will show the template expanded, i.e. fully visible.

See also