Difference between revisions of "User:Tsutomu25/sandbox/Cover2"

From Detective Conan Wiki
m
Line 65: Line 65:
 
}}
 
}}
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
It hides the given input of spoiler text and reveals them when the user clicks on them. It takes two values. One is the name of the spoiler and another one is the actual spoiler text. Every time the template is used, every element has to have a unique id and class. Hence '''spoiler name''' is required.  
 
It hides the given input of spoiler text and reveals them when the user clicks on them. It takes two values. One is the name of the spoiler and another one is the actual spoiler text. Every time the template is used, every element has to have a unique id and class. Hence '''spoiler name''' is required.  

Revision as of 13:07, 21 August 2025


It hides the given input of spoiler text and reveals them when the user clicks on them. It takes two values. One is the name of the spoiler and another one is the actual spoiler text. Every time the template is used, every element has to have a unique id and class. Hence spoiler name is required.

Usage

The following is a list of required parameters:

{{User:Tsutomu25/sandbox/Cover2|<spoiler name>|<spoiler text>}}

Limitation

When the template is used multiple times on the same page, only one spoiler can remain visible at a time. If the user reveals another spoiler, the previously opened one will automatically be hidden.

Examples

Results is The weapon is Knife

Results is The motive is Love

Results is The culprit is Gosho Aoyama