YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Spoiler"

From Discovery Wiki
Jump to navigationJump to search
m
Line 2: Line 2:
 
<div class="dwspoiler">
 
<div class="dwspoiler">
 
<div style="background: #dddddd; font-weight: bold;"></div>
 
<div style="background: #dddddd; font-weight: bold;"></div>
<div>{{{1}}}</div>
+
<div style="display: {{#if:{{{2|}}}|none|block}};">{{{1}}}</div>
 
</div>
 
</div>
  
 
<noinclude>
 
<noinclude>
 
-->
 
-->
=Usage=
+
==Usage==
 
<pre>{{Spoiler|
 
<pre>{{Spoiler|
 
The text you want to hide here.
 
The text you want to hide here.
Line 13: Line 13:
 
*[[Deep Space Engineering]]
 
*[[Deep Space Engineering]]
 
*[[Interspace Commerce]]
 
*[[Interspace Commerce]]
}}</pre>
+
|hidden}}</pre>
  
=Result=
+
==Result==
 
{{Spoiler|
 
{{Spoiler|
 
The text you want to hide here.
 
The text you want to hide here.
Line 21: Line 21:
 
*[[Deep Space Engineering]]
 
*[[Deep Space Engineering]]
 
*[[Interspace Commerce]]
 
*[[Interspace Commerce]]
}}
+
|hidden}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:42, 13 July 2009

Usage

{{Spoiler|
The text you want to hide here.
*[[Ageira Technologies]]
*[[Deep Space Engineering]]
*[[Interspace Commerce]]
|hidden}}

Result