Difference between revisions of "Template:Collapse"
Jump to navigation
Jump to search
(Test making it a link) |
(docs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span class="mw-customtoggle-{{{2}}}" | + | <!-- |
+ | TOGGLE DOCUMENTATION: {{collapse|content|channel}} | ||
+ | content is wiki content that should appear after clicking [Toggle] | ||
+ | channel is an ID of sorts (ie 1, 2, 3) that toggle as one | ||
+ | if multiple toggles are on the same channel, they will collapse and reveal together. | ||
+ | --> | ||
+ | <span class="mw-customtoggle-{{{2}}}">[Toggle]</span> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{2}}}">{{{1}}}</div> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{2}}}">{{{1}}}</div> |
Latest revision as of 20:03, 17 November 2017
[Toggle]
{{{1}}}