Template:Collapsible sections option: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus newline required when no example/default provided |
meta>Sardanaphalus {{big}} ( {{{list}}} ) |
||
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}}{{ | 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}}{{big|'''<code>{{{list}}}</code>'''}}<!-- | ||
<!------------------ Example (optional) ------------------ | |||
------------------ Example (optional) ------------------ | |||
-->{{#if:{{{example<includeonly>|</includeonly>}}} | | -->{{#if:{{{example<includeonly>|</includeonly>}}} | | ||
: <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!-- | : <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!-- | ||
-->For example: <code class="nowrap">{{((}}<includeonly>{{{template_name|{{PAGENAME}}}}}</includeonly><noinclude>[Template's name]</noinclude> {{!}}{{{example}}}{{))}}</code> | -->For example: <code class="nowrap">{{((}}<includeonly>{{{template_name|{{PAGENAME}}}}}</includeonly><noinclude>[Template's name]</noinclude> {{!}}{{{example}}}{{))}}</code> | ||
}}<!-- | }}<!-- | ||
------------------ Default (optional) ------------------ | ------------------ Default (optional) ------------------ | ||
-->{{#if:{{{default<includeonly>|</includeonly>}}} | | -->{{#if:{{{default<includeonly>|</includeonly>}}} | | ||
Line 12: | Line 14: | ||
-->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 11:35, 7 July 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):
{{{list}}}
- [[[: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.