Difference between revisions of "Template:Cover"

From Detective Conan Wiki
Line 1: Line 1:
<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><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>
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.
+
<noinclude>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):
 
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):

Revision as of 13:26, 3 May 2024

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