Template:Spoiler: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#css:
{{#css:
   mw-collapsible-content:hover {
   .mw-collapsible-content:hover {
     background: yellow;
     background: yellow;
     font-size: 20pt;
     font-size: 20pt;

Revision as of 00:48, 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:

{{#css:

 .mw-collapsible-content:hover {
   background: yellow;
   font-size: 20pt;
   color: red;
 }

}}

Click Me!
Where did this come from?

See Also

No similar templates known.