Help:Spoilers: Difference between revisions

Jump to navigation Jump to search
no edit summary
(→‎Template:Spoiler paragraph: Mentioned le hiding feature)
No edit summary
Line 15: Line 15:




== [[Template:Spoiler paragraph]] ==
== [[Template:Spoiler text]] ==
{{Spoiler paragraph|The Spoiler paragraph template places a dashed red border to the left of the inserted text.<br/>
{{Spoiler text|The Spoiler text template designates a block of text as a spoiler and
As such, anybody who wishes to ignore the Spoiler warning atop the page can still read an article but skip over the spoilers.<br/>
spoilers marked using this template will be hidden from view if a user selects "Hide Spoilers" on the {{tl|spoiler}} template.
Spoilers marked using this template will be hidden from view if a user selects "Hide Spoilers" on the {{tl|spoiler}} template.
}}
}}


=== How to use it ===
=== How to use it ===
Pass the text to be marked as-spoiler as the first parameter of the template.  The above example was generated by:
Pass the text to be marked as-spoiler as the first parameter of the template.  The above example was generated by:
<pre>{{Spoiler paragraph|The Spoiler paragraph template places a dashed red border to the left of the inserted text.<br/>
<pre>{{Spoiler text|The Spoiler text template designates a block of text as a spoiler and
As such, anybody who wishes to ignore the Spoiler warning atop the page can still read an article but skip over the spoilers.<br/>
spoilers marked using this template will be hidden from view if a user selects "Hide Spoilers" on the {{tl|spoiler}} template.
Spoilers marked using this template will be hidden from view if a user selects "Hide Spoilers" on the {{tl|spoiler}} template.
}}</pre>
}}</pre>


Navigation menu