Template:Spoiler/doc: Difference between revisions
Jump to navigation
Jump to search
m 5 revisions: importing Template namespace from Wikia |
cleaning up |
||
| Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
This template should be called in pairs | This template should be called in pairs. 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. | ||
==Example== | ==Example== | ||
Revision as of 01:22, 21 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
Code
{{spoiler|start}}
This is spoiler information. OMGz!
{{spoiler|end}}