Template:Spoiler: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) (reverting) |
FlyingRagnar (talk | contribs) m (132 revisions: importing Template namespace from Wikia) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{/doc}} | {{/doc}} | ||
[[Category:Templates|Spoilers]] | [[Category:Templates|Spoilers]] | ||
[[Category:Notices|{{PAGENAME}}]] | |||
</noinclude><onlyinclude><includeonly> | </noinclude><onlyinclude><includeonly> | ||
{{ #switch: {{{1}}} | {{ #switch: {{{1}}} |
Revision as of 17:49, 20 October 2010
The spoiler template is used to mark sections of an article which might contain spoiler information.
Usage
This template should be called in pairs. One call before spoiler information starts, and one after.
Start
A spoiler start should be the first invocation of the template.
{{spoiler|start}}
- start: A required parameter which marks a section as the start of a spoiler.
End
A spoiler end should be the second invocation of the template.
{{spoiler|end}}
- end: A required parameter which marks a section as the end of a spoiler.
Example
Sample
A spoiler draws near! Click 'show' to display, otherwise run away!
This is spoiler information. OMGz!
Thou hast defeated the spoiler.
Code
{{spoiler|start}} Spoiler text goes here. {{spoiler|end}}