Template:SpoilerButton: Difference between revisions

From The Skullgirls Wiki
Jump to navigation Jump to search
(Imported template from my private wiki)
 
m (Protected "Template:SpoilerButton" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><div class="wds-button mw-customtoggle-ShowSpoiler">Show/Hide spoilers</div>
<noinclude>{{doc}}[[Category:Spoiler Templates]]</noinclude><div class="wds-button mw-customtoggle-ShowSpoiler">Show/Hide spoilers</div>
<noinclude>
<noinclude>

Latest revision as of 14:47, 28 October 2026


Template documentation(view) (edit) (history)


This template creates a button on the page to toggle spoiler content on and off. It is designed to work in conjunction with Spoiler and SpoilerReplace.

Spoiler includes a built-in button functionality when its second parameter is set to yes, making the standalone placement of this template optional. SpoilerReplace does not have this feature and relies on this template.

Please note that the inclusion of this button will affect all spoiler on the same page. It does not affect other collapsable elements.

Show/Hide spoilers