Template:Cl: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>NotBrandX
No edit summary
1d4chan>NotBrandX
No edit summary
Line 17: Line 17:
<span id="{{{1}}}CollapseText" style="display:none;">[Collapse]</span>
<span id="{{{1}}}CollapseText" style="display:none;">[Collapse]</span>
<span id="{{{1}}}ExpandText" style="display:none;">[Expand]</span>
<span id="{{{1}}}ExpandText" style="display:none;">[Expand]</span>
<dt>{{{2}}}&nbsp;<span id="{{{1}}}Link" class="toggleLink" style="font-size: 86%; font-weight: bold;"></span></dt>
<dt>{{{2}}}&nbsp;<span id="{{{1}}}Link" class="toggleLink" style="font-size: 86%; font-weight: bold;"></span>
<dd id="{{{1}}}">
<dd id="{{{1}}}">
{{{3}}}
{{{3}}}
</dd></dl>
</dl>

Revision as of 15:50, 26 February 2010

Collapsable List template is a hack of Collapsable Gallery template, which was, in turn, stolen from Encyclopaeophiles Dramatica.

Doesn't work yet, still tinkering

Use:
 {{Cl|UniqueListName (nospaces, unique to the page)
 |Term
 |item

 item

 item
 }}

{{#addscript: src=/collapsible|pos=head|type=js}}

{{{2}}} 
{{{3}}}