Template:Cover: Difference between revisions
Appearance
Emulation of Discord spoiler text |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><input type="checkbox" id="btnControl"/><label class="spoilerText" for="btnControl">{{{1}}}</label></includeonly> | |||
{{css| | {{css| | ||
#btnControl { | #btnControl { | ||
| Line 23: | Line 24: | ||
transition: 0.15s; | transition: 0.15s; | ||
} | } | ||
}} | }} | ||
<noinclude>{{Documentation}} | <noinclude>{{Documentation}} | ||
This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to hover their cursor on the chunk of covered text to uncover spoiler content'''. | This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to hover their cursor on the chunk of covered text to uncover spoiler content'''. | ||
Revision as of 19:54, 1 June 2025
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
This template permits the insertion of "spoiler information" with a concealed appearance by default; the user would have to hover their cursor on the chunk of covered text to uncover spoiler content.
{{Cover|The culprit is Gosho Aoyama}}
Results in <input type="checkbox" id="btnControl"/><label class="spoilerText" for="btnControl">The culprit is Gosho Aoyama</label> Template:Css