Difference between revisions of "Template:Cover"
From Detective Conan Wiki
(Only testing, 99% chance failing) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><span style="background-color:#e6e6e6"><span class="spoiler-text" style="color:#e6e6e6;" onmouseover="this.style.color='#000';" onmouseout="this.style.color='#e6e6e6';">{{{1}}}</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. | ||
Latest revision as of 22:22, 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