Template:Spoiler: Difference between revisions

Template page
(Created page with "<span class="spoiler">{{{text}}}</span> <noinclude><templatedata> { "description": "Tooltip that shows when hovering over text.", "params": { "text": { "label": "Regular Text", "description": "The text to hide.", "type": "string", "required": true } } } </templatedata> {{Spoiler|text=bababa}} </noinclude>")
 
m (Removes example)
Line 12: Line 12:
     }
     }
}
}
</templatedata>
</templatedata></noinclude>
{{Spoiler|text=bababa}}
</noinclude>

Revision as of 03:02, 16 September 2023

{{{text}}}

Tooltip that shows when hovering over text.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Regular Texttext

The text to hide.

Stringrequired