Template:Collapsible sections option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
like Collapsible lists option
No edit summary
Line 8: Line 8:
         <!------- Example (optional) ------->
         <!------- Example (optional) ------->
         |item3_style=padding-left:1.6em;
         |item3_style=padding-left:1.6em;
         | 3 = {{#if:{{{example|}}} |For example: {{plaincode|<nowiki>{{</nowiki>{{{template|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}&nbsp;{{!}}{{{example}}}<nowiki>}}</nowiki>}} }}
         | 3 = {{#if:{{{example|}}} |For example: {{plaincode|<nowiki>{{</nowiki>{{{template|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}&nbsp;&#124;selected&#61;{{{example}}}<nowiki>}}</nowiki>}} (or, if enabled, {{mono|<nowiki>{{</nowiki>{{{template|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}&nbsp;{{!}}{{{example}}}<nowiki>}}</nowiki>}}).}}
       }}
       }}
       <!-------- Default (optional) ------->
       <!-------- Default (optional) ------->

Revision as of 11:10, 14 February 2015

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 apart from their titlebars ("collapsed"). To achieve this, include the parameter Template:Plaincode (or, if enabled, |name)  where name is one of the following names identifying the groups/sections (omit any speech or quote marks):
  • Template:Plaincode