Difference between revisions of "User:Tsutomu25/sandbox/Cover4"
From Detective Conan Wiki
(Credits to just eva) |
|||
| Line 27: | Line 27: | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| − | It hides the given input of spoiler text and reveals them when the user clicks on them. It takes | + | 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 == | == Usage == | ||
The following is a list of required parameters: | The following is a list of required parameters: | ||
<pre> | <pre> | ||
| − | {{User:Tsutomu25/sandbox/ | + | {{User:Tsutomu25/sandbox/Cover4|<spoiler text>}} |
</pre> | </pre> | ||
== Limitations == | == 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. | * 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. | * If the page is refreshed while a spoiler is revealed, that spoiler will remain open even after the page reloads. | ||
Latest revision as of 15:47, 26 August 2025
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