Difference between revisions of "Template:Spoiler"

From Project: Gorgon Wiki
Jump to: navigation, search
m
(Working on a SPOILER that allows formatting inside.)
Line 1: Line 1:
<abbr style="font-weight:bold;color:#C44;" title="{{{1|Hint text
+
<div class="spoilers">
 +
  <div class="spoilers-button">
 +
    <div class="spoilers-show">SHOWWWW</div>
 +
    <div class="spoilers-hide">HIDDDDE</div>
 +
  </div>
 +
  <div class="spoilers-body" style="display:none;">
 +
TESTING A SPOILER
  
will not use
+
  </div>
 +
</div>
  
linebreaks.}}}">SPOILER</abbr><noinclude>
 
  
 
== Description ==
 
== Description ==
Line 9: Line 15:
 
{{Spoiler|<text>}}
 
{{Spoiler|<text>}}
 
</pre>
 
</pre>
Use this template to add hints and spoilers to a page. The spoiler is hidden in a tooltip.
+
Use this template to add a spoiler section to a page (WIP).
 
 
Try to summarize the spoiler text, because it won't use linebreaks or any formatting.
 
 
 
<span style="color:red">Use single quotes instead of double quotes because the text is inserted in a html attribute!</span>
 
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 12:19, 23 September 2014

SHOWWWW
HIDDDDE


Description

{{Spoiler|<text>}}

Use this template to add a spoiler section to a page (WIP).

Parameters

None.