模板:String-handling templates/doc

来自决策链云智库
< 模板:String-handling templates
Zeroclanzhang讨论 | 贡献2024年1月17日 (三) 16:28的版本 (创建页面,内容为“{{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 <includeonly>{{Sandbox other| | <!----Categories b…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

How to manage this template's collapsible groups/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 expanded, meaning that 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=autocollapse}} will show the template autocollapsed, i.e. 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, but if not, it is fully visible.

See also