Template:Inline spoiler: Difference between revisions

From The Perfect Tower II
Jump to navigation Jump to search
D0sboots (talk | contribs)
Explicitly specify foreground color, in case that's been set by a stylesheet
D0sboots (talk | contribs)
Change argument type to "content"
 
Line 5: Line 5:
"1": {
"1": {
"description": "Spoiler text",
"description": "Spoiler text",
"type": "string",
"type": "content",
"required": true
"required": true
}
}

Latest revision as of 00:43, 13 February 2022

spoiler

Creates an inline-spoiler that displays as a black box, in the style of Discord. This should be used sparingly! (Prefer <spoiler> blocks when possible.)

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Spoiler text

Contentrequired