Template:Collapsible sections option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
(simplifying)
meta>Sardanaphalus
(white-space:nowrap to ensure code kept unwrapped (less potentially confusing))
Line 1: Line 1:
* This template uses {{tl|Navbox with collapsible sections}}. To show a particular section of the template while leaving the other sections collapsed, use <code style="font-size:95%;"><nowiki>{{</nowiki><noinclude>[Template name]</noinclude><includeonly>{{PAGENAME}}</includeonly> |expanded=''Section''}}</code>, where ''Section'' is one of {{{list}}}. (Omit any speech or quotemarks.)<!--
* This template uses {{tl|Navbox with collapsible sections}}. To show a particular section of the template while leaving the other sections collapsed, use <code style="font-size:95%; white-space:nowrap;"><nowiki>{{</nowiki><noinclude>[Template name]</noinclude><includeonly>{{PAGENAME}}</includeonly> |expanded=''Section''}}</code>, where ''Section'' is one of {{{list}}}. (Omit any speech or quotemarks.)<!--


  -->{{#if:{{{example<includeonly>|</includeonly>}}}
  -->{{#if:{{{example<includeonly>|</includeonly>}}}
     | <br/><noinclude>[</noinclude>For example, <code style="font-size:95%;"><nowiki>{{</nowiki><noinclude>[Template name]</noinclude><includeonly>{{PAGENAME}}</includeonly> {{!}}expanded={{{example}}}<nowiki>}}</nowiki></code>.<!--
     | <br/><noinclude>[</noinclude>For example, <code style="font-size:95%; white-space:nowrap;"><nowiki>{{</nowiki><noinclude>[Template name]</noinclude><includeonly>{{PAGENAME}}</includeonly> {{!}}expanded={{{example}}}<nowiki>}}</nowiki></code>.<!--
  -->}}<noinclude>]
  -->}}<noinclude>]
<br/>{{documentation}}
<br/>{{documentation}}

Revision as of 19:48, 25 September 2008

  • This template uses {{Navbox with collapsible sections}}. To show a particular section of the template while leaving the other sections collapsed, use {{[Template name] |expanded=Section}}, where Section is one of {{{list}}}. (Omit any speech or quotemarks.)
    [For example, {{[Template name] |expanded={{{example}}}}}.]