Difference between revisions of "Template:Inline spoiler"
Jump to navigation
Jump to search
(Create inline spoiler template) |
|||
Line 1: | Line 1: | ||
− | <span class="mw-customtoggle-{{{1|spoiler}}} mw-collapsible" id="mw-customcollapsible-{{{1|spoiler}}}" title="Spoiler, click to reveal" style="background-color:#000">{{{1|spoiler}}}</span><span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{1|spoiler}}}" style="display:none; background-color:#e4e4e4">{{{1|spoiler}}}</span> | + | <span class="mw-customtoggle-{{#invoke:Hash|crc|{{{1|spoiler}}}}} mw-collapsible" id="mw-customcollapsible-{{#invoke:Hash|crc|{{{1|spoiler}}}}}" title="Spoiler, click to reveal" style="background-color:#000">{{{1|spoiler}}}</span><span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{#invoke:Hash|crc|{{{1|spoiler}}}}}" style="display:none; background-color:#e4e4e4">{{{1|spoiler}}}</span> |
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 23:54, 12 February 2022
spoiler
Creates an inline-spoiler that displays as a black box, in the style of Discord. This should be used sparingly! (Prefer <spoiler> blocks when possible.)
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Spoiler text | String | required |