Template:Spoiler/doc: Difference between revisions

m Code: ok lol but i'm removing that
No edit summary
Line 7: Line 7:
<pre>{{spoiler|start}}</pre>
<pre>{{spoiler|start}}</pre>
*start: A required parameter which marks a section as the start of a spoiler.
*start: A required parameter which marks a section as the start of a spoiler.
*media: An optional parameter which indicates which media the information might be spoiling.
===End===
===End===
A spoiler end should be the second invocation of the template.
A spoiler end should be the second invocation of the template.
Line 18: Line 19:
{{spoiler|end}}
{{spoiler|end}}


{{spoiler|start|[[Dragon Quest V]]}}
This is spoiler information.  OMGz!
{{spoiler|end}}


===Code===
===Code===
<pre>
<pre>
{{spoiler|start}}
{{spoiler|start}}
Spoiler text goes here.
{{spoiler|end}}
</pre>
<pre>
{{spoiler|start|[[Dragon Quest V]]}}
Spoiler text goes here.
Spoiler text goes here.
{{spoiler|end}}
{{spoiler|end}}
</pre>
</pre>