Difference between revisions of "Template:Inline spoiler"

From The Perfect Tower II
Jump to navigation Jump to search
(Explicitly specify foreground color, in case that's been set by a stylesheet)
(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 02: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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Spoiler text

Contentrequired