Template:Spoiler: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(changing the background color to a string instead of hexadecimal solved it somehow. I had to still change all the colors to black so text is properly hidden)
(trying new things with spoilers)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="spoiler" style="border-right:1px solid black; border-left:1px solid black; background: black; padding: 0 0.4em; border-radius: .3em; -moz-border-radius: .3em; -webkit-border-radius: .3em;">{{{1}}}</span><noinclude>
<span class="spoiler" style="border-right:1px solid black; border-left:1px solid black; background: black; padding: 0 0.4em; border-radius: .3em; -moz-border-radius: .3em; -webkit-border-radius: .3em;"><abbr title="SPOILER ALERT! (Select the text if you still want to read it)">{{{1}}}</abbr></span><noinclude>


== Description ==
== Description ==
Line 6: Line 6:
{{spoiler|EVERYBODY DIES}}
{{spoiler|EVERYBODY DIES}}
</pre>
</pre>
'''IMPORTANT: Avoid placing links inside spoilers. Links won't be hidden'''.


[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 12:48, 31 March 2013

{{{1}}}

Description

Template for hiding spoilers in text. Text should be selected to make it visible.

{{spoiler|EVERYBODY DIES}}

IMPORTANT: Avoid placing links inside spoilers. Links won't be hidden.