Difference between revisions of "Template:Cover"

From Detective Conan Wiki
(Created page with "<includeonly><span style="background-color: #e6e6e6; padding: 2px 5px;"><span class="spoiler-text" style="color: #e6e6e6;" onmouseover="this.style.color='#000';" onmouseout="t...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="background-color: #e6e6e6; padding: 2px 5px;"><span class="spoiler-text" style="color: #e6e6e6;" onmouseover="this.style.color='#000';" onmouseout="this.style.color='#e6e6e6';">{{{1}}}</span></span></includeonly><noinclude>{{Documentation}}</noinclude>
+
<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}}
<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.
 
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

Documentation icon Template documentation[create]

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