Difference between revisions of "Template:Spoiler"

From Discovery Wiki
Jump to navigationJump to search
Line 8: Line 8:
 
This template allows you to hide or show any spoiler information. It is specifically useful for "selling locations" in the [[Ageira_Technologies_ID|Availability sections]]. You can also specify the spoiler heading text.
 
This template allows you to hide or show any spoiler information. It is specifically useful for "selling locations" in the [[Ageira_Technologies_ID|Availability sections]]. You can also specify the spoiler heading text.
 
*'''NOTE: The template will screw up if you have an "=" in the text.'''
 
*'''NOTE: The template will screw up if you have an "=" in the text.'''
 +
 
<pre>{{Spoiler|
 
<pre>{{Spoiler|
 
The text you want to hide here.
 
The text you want to hide here.
Line 19: Line 20:
 
}}
 
}}
 
</pre>
 
</pre>
 +
* You could also use the collapsible table.
 +
 +
{| class="wikitable sortable collapsible collapsed"
 +
! collapsible table test
 +
|-
 +
| class="wikitable sortable collapsible collapsed"
 +
*use the class
 +
*above for good tables
 +
Price = $your eternal soul
 +
*moo
 +
|}
  
 
==Result==
 
==Result==

Revision as of 09:01, 1 September 2009

Usage

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

  • 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]]
}}

{{Spoiler|Spoiler title idea from Tazuras|
information
}}
  • You could also use the collapsible table.

Result

SPOILER: 


Spoiler title idea from Tazuras: 
None known

price $1233 The text you want to hide here.