Advertisement:

Template:String-handling templates/doc

From Roovet Articles
Revision as of 19:54, 11 December 2021 by Thewolf12 (talk | contribs) (Created page with "{{Documentation subpage}} <!----Categories where indicated at the bottom of this page, please----> Add {{tlx|String-handling templates}} to the bottom of a documentation page of a template listed in the navbox. {{Collapsible sections option |list={{hlist|trim|IRL|anlys/tech}}}} {{Collapsible option |default=expanded}} == See also == * Module:String * Module:String2 * Help:Magic words#Formatting <includeonly>{{Sandbox other| | <!----Categories below this...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Template:Collapsible sections option Initial visibility: currently defaults to expanded

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

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

See also