Template:Spoiler: Difference between revisions

Template page
m (Removes example)
mNo edit summary
 
(One intermediate revision 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",

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