Difference between revisions of "Template:Cover"
From Detective Conan Wiki
(Only testing, 99% chance failing) |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <span class="hover-reveal" style="background-color:#e6e6e6;"> | + | <span class="hover-reveal" style="background-color:#e6e6e6; display: inline-block;"> |
<span class="spoiler-text">{{{1}}}</span> | <span class="spoiler-text">{{{1}}}</span> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
</includeonly><noinclude>{{Documentation}} | </includeonly><noinclude>{{Documentation}} | ||
This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to select the designated chunk of text by highlighting the segment desired to see covered content''' - this works by setting the covered text in the same colour as the background, and as the user highlights it, the background would change, making the specified text visible. | This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to select the designated chunk of text by highlighting the segment desired to see covered content''' - this works by setting the covered text in the same colour as the background, and as the user highlights it, the background would change, making the specified text visible. |
Revision as of 22:11, 18 October 2024
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) 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 select the designated chunk of text by highlighting the segment desired to see covered content - this works by setting the covered text in the same colour as the background, and as the user highlights it, the background would change, making the specified text visible.
Despite the clunky method utilised to attain this effect, this mechanism is the most troubleless and uncomplicated one (as there is no need to modify CSS):
{{Cover|The culprit is Gosho Aoyama}}
Results in The culprit is Gosho Aoyama