Template:Spoiler: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
'''Code:''' | '''Code:''' | ||
<pre>{{Spoiler|Click Me!|width= | <pre>{{Spoiler|Click Me!|width=20px|Where did this come from?}}</pre> | ||
'''Result:''' | '''Result:''' | ||
{{Spoiler| | {{Spoiler|Click Me!|width=20px|Where did this come from?}} | ||
== Known Issues == | == Known Issues == |
Revision as of 15:04, 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?
Code:
{{Spoiler|Click Me!|width=20px|Where did this come from?}}
Result:
Click Me!
Where did this come from?
Known Issues
- 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.