Difference between revisions of "Template:Collapsible lists option/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(added note)
imported>Sardanaphalus
(update)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION
+
<!-----
    AT THE BOTTOM OF THIS PAGE--->
+
Note: Please only add metadata (e.g. categories) within the <includeonly> section at the bottom of this page
* The "{{resize|90%|&nbsp;[''optional example'':]&nbsp;}}" text will not appear when this template is [[Wikipedia:Transclusion|transcluded]].
+
------>
 +
* When this template is [[Wikipedia:Transclusion|transcluded]], the "{{small|&nbsp;[''optional example'']&nbsp;}}" text on the penultimate line will not appear.
  
 
===Usage===
 
===Usage===
Line 16: Line 17:
 
* {{tl|Collapsible sections option}}
 
* {{tl|Collapsible sections option}}
  
 
+
<includeonly>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Wikipedia metatemplates]]}}
[[Category:Wikipedia metatemplates]]
+
</includeonly>
}}</includeonly>
 

Revision as of 11:30, 12 April 2014

  • When this template is transcluded, the " [optional example" text on the penultimate line will not appear.

Usage

{{collapsible lists option
 |listnames = 
 |example =
}}

See also