Difference between revisions of "Template:Cover"

From Detective Conan Wiki
Line 19: Line 19:
 
}
 
}
 
}}</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 hover their cursor on the chunk of covered text to see covered content'''.
 
 
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):
 
  
 
<pre>{{Cover|The culprit is Gosho Aoyama}}</pre>
 
<pre>{{Cover|The culprit is Gosho Aoyama}}</pre>

Revision as of 15:44, 1 June 2025

Documentation icon Template documentation[create]

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 see covered content.

{{Cover|The culprit is Gosho Aoyama}}

Results in