Editing Template:Spoiler/doc

From Dragon Quest Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:


==Usage==
==Usage==
This template should be called in pairs.Β  One call before spoiler information starts, and one after.
This template should be called in pairs so that the contents can be hidden.Β  One call before spoiler information starts, and one after.
===Start===
===Start===
A spoiler start should be the first invocation of the template.
A spoiler start should be the first invocation of the template.
Line 11: Line 11:
<pre>{{spoiler|end}}</pre>
<pre>{{spoiler|end}}</pre>
*end: A required parameter which marks a section as the end of a spoiler.
*end: A required parameter which marks a section as the end of a spoiler.
==Use this template without collapse function==
When you use this template just to show an warning of spoiler, use:
<pre>{{spoiler}}</pre>
Result:
{{spoiler}}


==Example==
==Example==
Please note that all contributions to Dragon Quest Wiki are released under the Creative Commons Attribution-ShareAlike License (see Dragon Quest Wiki:Copyrights).
Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: