Template:Collapsible sections option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
→‎top: simplification
meta>Sardanaphalus
Rephrased, as e.g. a state parameter may also be involved; replaced thinsp
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 (collapsed) apart from their titles. To achieve this, use <code class="nowrap">{{((}}<includeonly>{{{template_name|{{PAGENAME}}}}}</includeonly><noinclude>[Template's name]</noinclude>&nbsp;{{!}}''group/section''{{))}}</code>, where ''group/section'' is one of the following names identifying the groups/sections (omit any speech or quote marks):
 
*: {{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>&#124;''group/section''</code>&nbsp; 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) ------------------
   ------------------ Example (optional) ------------------
   -->{{#if:{{{example<includeonly>|</includeonly>}}} |
   -->{{#if:{{{example<includeonly>|</includeonly>}}} |
: <noinclude>{{smaller|[&thinsp;''optional:''&thinsp;]}}&thinsp;</noinclude> For example: <code class="nowrap">{{((}}<includeonly>{{{template_name|{{PAGENAME}}}}}</includeonly><noinclude>[Template's name]</noinclude>&nbsp;{{!}}{{{example}}}{{))}}</code>
: <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!--
  -->For example: <code class="nowrap">{{((}}<includeonly>{{{template_name|{{PAGENAME}}}}}</includeonly><noinclude>[Template's name]</noinclude>&nbsp;{{!}}{{{example}}}{{))}}</code>
     }}<!--
     }}<!--
   ------------------ Default (optional) ------------------
   ------------------ Default (optional) ------------------
   -->{{#if:{{{default<includeonly>|</includeonly>}}} |
   -->{{#if:{{{default<includeonly>|</includeonly>}}} |
* <noinclude>{{smaller|[&thinsp;''optional:''&thinsp;]}}&thinsp;</noinclude> The group/section named '''<code>{{{default}}}</code>''' has been set to be shown when the template appears.
* <noinclude>{{smaller|[{{thinsp}}''optional:''{{thinsp}}]}}{{thinsp}}</noinclude> <!--
     }}<!--
  -->The group/section named '''<code>{{{default}}}</code>''' has been set to be shown when the template appears.
     }}<noinclude>


--><noinclude><!--(newline required here:)-->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 11:37, 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.