Template:Collapsible sections option: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus Rephrased, as e.g. a state parameter may also be involved; replaced thinsp |
meta>Sardanaphalus newline required when no example/default provided |
||
Line 1: | Line 1: | ||
{{big|'''How to manage this template's collapsible groups/sections option'''}} | {{big|'''How to manage this template's collapsible groups/sections option'''}} | ||
This template uses {{tl|Navbox with collapsible groups}}. When [[Wikipedia:Transclusion|it first appears]], one of its groups/sections may be set to be visible ("expanded") while the others remain hidden apart from their titlebars ("collapsed"). To achieve this, [[Help:Template#Parameters|include the parameter]] <code>|''group/section''</code> where ''group/section'' is one of the following names identifying the groups/sections (omit any speech or quote marks):<br/>{{pad|1.4em}}{{larger|'''<code>{{{list}}}</code>'''}}<! | This template uses {{tl|Navbox with collapsible groups}}. When [[Wikipedia:Transclusion|it first appears]], one of its groups/sections may be set to be visible ("expanded") while the others remain hidden apart from their titlebars ("collapsed"). To achieve this, [[Help:Template#Parameters|include the parameter]] <code>|''group/section''</code> where ''group/section'' is one of the following names identifying the groups/sections (omit any speech or quote marks):<br/>{{pad|1.4em}}{{larger|'''<code>{{{list}}}</code>'''}} | ||
<!------------------ Example (optional) ------------------ | |||
-->{{#if:{{{example<includeonly>|</includeonly>}}} | | -->{{#if:{{{example<includeonly>|</includeonly>}}} | | ||
: <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!-- | : <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!-- | ||
Line 13: | Line 12: | ||
-->The group/section named '''<code>{{{default}}}</code>''' has been set to be shown when the template appears. | -->The group/section named '''<code>{{{default}}}</code>''' has been set to be shown when the template appears. | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:04, 29 June 2014
How to manage this template's collapsible groups/sections option
This template uses {{Navbox with collapsible groups}}. When it first appears, one of its 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 |group/section
where group/section is one of the following names identifying the groups/sections (omit any speech or quote marks):
Template:Larger
- [[[:Template:Thinsp]]optional:Template:Thinsp]Template:Thinsp For example:
{{[Template's name] |{{{example}}}}}
- [[[:Template:Thinsp]]optional:Template:Thinsp]Template:Thinsp The group/section named
{{{default}}}
has been set to be shown when the template appears.