Template:Spoiler: Difference between revisions
From Step Mods | Change The Game
No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly><div class="mw-collapsible mw-collapsed"><div class="mw-collapsible-toggle" style="float: none; | <includeonly><div class="mw-collapsible mw-collapsed"><div class="mw-collapsible-toggle" style="float: none; cursor:pointer; color: #8DA9C0; width: auto;">{{{1}}}</div><div class="mw-collapsible-content">{{{2}}}</div></div></includeonly><noinclude>__NOTOC__ | ||
==Purpose & Usage== | ==Purpose & Usage== | ||
Line 10: | Line 10: | ||
'''Result:''' | '''Result:''' | ||
{{Spoiler|Click Me!|Where did this come from?}} | {{Spoiler|Click Me!|Where did this come from?}} | ||
== Known Limitations == | |||
*Incompatible with CSS extension | |||
*The entire line for the text to click to reveal the text will be clickable instead of only the text. | |||
== See Also == | == See Also == |
Revision as of 01:56, August 29, 2014
Purpose & Usage
This template allows text to be clicked like a spoiler to show hidden text immediately underneath it.
Examples
Code:
{{Spoiler|Click Me!|Where did this come from?}}
Result:
Click Me!
Where did this come from?
Known Limitations
- Incompatible with CSS extension
- The entire line for the text to click to reveal the text will be clickable instead of only the text.
See Also
No similar templates known.