Template:Spoiler/doc: Difference between revisions

No edit summary
No edit summary
 
Line 6: Line 6:
A spoiler start should be the first invocation of the template.
A spoiler start should be the first invocation of the template.
<pre>{{spoiler|start|media}}</pre>
<pre>{{spoiler|start|media}}</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.
*'''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.
<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==