User:Tsutomu25/sandbox/Cover4

From Detective Conan Wiki

It hides the given input of spoiler text and reveals them when the user clicks on them. It takes just one value i.e., spoiler text.

Usage

The following is a list of required parameters:

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

Limitations

  • 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.
  • If the page is refreshed while a spoiler is revealed, that spoiler will remain open even after the page reloads.

Examples

Result: The weapon is Knife

Result: The culprit wore Orange clothes

Result: The culprit is Gosho Aoyama and his editor