Difference between revisions of "Template:Spoiler"

From Discovery Wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
<div class="dwspoiler">
+
<noinclude><!--</noinclude><div class="dwspoiler">
 
<div style="background: #dddddd; font-weight: bold;"></div>
 
<div style="background: #dddddd; font-weight: bold;"></div>
 
<div style="display: {{#if:{{{2|}}}|block|none}};">{{{1}}}</div>
 
<div style="display: {{#if:{{{2|}}}|block|none}};">{{{1}}}</div>
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 +
-->
 
==Usage==
 
==Usage==
 
This template allows you to hide or show any spoiler information. It is specifically useful for "selling locations" in the Availability sections.
 
This template allows you to hide or show any spoiler information. It is specifically useful for "selling locations" in the Availability sections.

Revision as of 04:55, 13 July 2009

Usage

This template allows you to hide or show any spoiler information. It is specifically useful for "selling locations" in the Availability sections.

  • NOTE: The template will screw up if you have an "=" in the text.
{{Spoiler|
The text you want to hide here.
*[[Ageira Technologies]]
*[[Deep Space Engineering]]
*[[Interspace Commerce]]
}}

Result