Jump to content

Template:Spoiler: Difference between revisions

From [YSDC] Into The Deep
Squashua (talk | contribs)
No edit summary
m Updated code to allow spoiler text to work on iOS devices.
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<br>
{| border="0" cellpadding="2" cellspacing="2" align="left"
|-
| nowrap="nowrap" style="white-space: nowrap; border: none;" | '''Begin Spoiler''' ''(highlight to read)''
|-
| align="left" style="background-color: #FFFFFF; color: #FFFFFF; border: none;" | {{{text}}}
|-
| nowrap="nowrap" style="white-space: nowrap; border: none;" | '''End Spoiler
|}
<br>
<noinclude>[[Category:Wiki:Templates|Spoiler]]</noinclude>
<!--
<p>
<p>
<style type="text/css">
<div style="padding:1px; background-color:#000000; color: #000000;" onclick="var bg=this.style.backgroundColor;this.style.backgroundColor=(bg!=='transparent'?'transparent':'#000000')">
div#spoiler { background-color:#DDDDDD; color: #DDDDDD; }
<span style="color: #FFFFFF;">'''&nbsp;Spoiler Section'''&nbsp;''(Highlight to Read)''<br></span>
div#spoiler a { font-weight: bold; color: #DDDDDD; }
{{{1}}}
div#spoiler a:hover { color: #CCCCCC; }
</style>
<b>Spoiler</b>&nbsp;<i>(Highlight to View)</i><br>
<div id="spoiler">
TEXT TEXT <a href="#">TEXT</a> TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
</div>
</div>
<b>End Spoiler</b>
</p>
</p>
-->
<noinclude>[[Category:Wiki:Templates|Spoiler]]</noinclude>

Latest revision as of 17:26, 13 December 2017

 Spoiler Section (Highlight to Read)
{{{1}}}