Template:Spoiler: Difference between revisions

From Step Mods | Change The Game
No edit summary
Line 17: Line 17:
== Known Issues ==
== Known Issues ==
*Incompatible with CSS extension
*Incompatible with CSS extension
*The entire line for the text to click to reveal the text will be clickable instead of only the text. This can be alleviated by specifying the width with the width=<value> parameter, where <value> is the correct width for your phrase.


== See Also ==
== See Also ==

Revision as of 01:39, May 7, 2015


Purpose & Usage

This template allows text to be clicked like a spoiler to show hidden text immediately underneath it.

Parameters

  • parameter shown is the text clicked to show the hidden content
  • parameter hidden is the hidden content

Examples

Code:

{{Spoiler|shown=Click Me!|hidden=Where did this come from?}}

Result:

Click Me!
Where did this come from?

Known Issues

  • Incompatible with CSS extension

See Also

No similar templates known.