Help:Spoilers: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Hiding a spoiler: Rephrased text.)
Line 21: Line 21:
{{Spoiler|Hidden text}}, visible text.</div><br /><div style="border:1px solid #aaa; background:#F0F8FF; width=100%; padding:1em">'''Spoiler image example:'''
{{Spoiler|Hidden text}}, visible text.</div><br /><div style="border:1px solid #aaa; background:#F0F8FF; width=100%; padding:1em">'''Spoiler image example:'''
<pre>[[File:Wiki logo.png|left|thumb|{{Spoiler|Hidden caption text}}]]</pre>
<pre>[[File:Wiki logo.png|left|thumb|{{Spoiler|Hidden caption text}}]]</pre>
<p style="font-size:85%">''Note: This image has a caption wrapped by the template, therefore censoring both image and caption if spoilers are set to off.''</p>
[[File:Wiki logo.png|left|thumb|{{Spoiler|Hidden caption text}}]]
[[File:Wiki logo.png|left|thumb|{{Spoiler|Hidden caption text}}]]
{{Clr}}</div>
{{Clr}}
<p style="font-size:85%">''Note: This image has a caption wrapped by the template, therefore censoring both image and caption if spoilers are set to off.''</p></div>


=== When to use the template ===
=== When to use the template ===

Navigation menu