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>")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<noinclude><templatedata>
<noinclude><templatedata>
{
{
     "description": "Tooltip that shows when hovering over text.",
     "description": "Spoiler text. Becomes visible on hover.",
     "params": {
     "params": {
         "text": {
         "text": {
             "label": "Regular Text",
             "label": "Text",
             "description": "The text to hide.",
             "description": "The text to hide.",
             "type": "string",
             "type": "string",
Line 12: Line 12:
     }
     }
}
}
</templatedata>
</templatedata></noinclude>
{{Spoiler|text=bababa}}
</noinclude>

Latest revision as of 03:03, 16 September 2023

{{{text}}}

Spoiler text. Becomes visible on hover.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Texttext

The text to hide.

Stringrequired