Template:CustomToggleButton

From Pathfinder Wiki
Revision as of 23:48, 8 November 2020 by DesignerThan (talk | contribs) (Created page with "<noinclude> This template is used to create a custom toggle button for a collapsable box. You need to add the text of the button and a name for the toggle button. This name ne...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to create a custom toggle button for a collapsable box. You need to add the text of the button and a name for the toggle button. This name needs to be used also for the collapsible box in the id-Property. For example like that:

{{CustomToggleButton|text=Show/Hide text|name=example-box}}
<div class="mw-collapsible" id="mw-customcollapsible-example-box">
This text will be shown/hidden by a press of the button.
</div>


[ Template:Name ]

This text will be shown/hidden by a press of the button.


[ Template:Name ]