Template:Spoiler: Difference between revisions

From CoMakingSpace Wiki

(Created page with "<onlyinclude><includeonly><div style="clear:both; padding-left:{{{paddingleft|0em}}}; padding-right:{{{paddingright|0}}}" class="mw-collapsible mw-collapsed {{{hintergrundfarb...")
 
m (Template Data)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


''(Copied from Wikipedia's [https://de.wikipedia.org/wiki/Vorlage:Klappbox#ausklappbarer_Zusatztext "Vorlage:Klappbox"] - more features there!)''
''(Copied from Wikipedia's [https://de.wikipedia.org/wiki/Vorlage:Klappbox#ausklappbarer_Zusatztext "Vorlage:Klappbox"] - more features there!)''
<noinclude>
== Template Parameters ==
<templatedata>
{
"params": {
"1": {
"label": "Headline",
"description": "Which Headline should your Spoiler have?",
"example": "Movie Ending",
"required": true
},
"2": {
"label": "Text",
"description": "The text you want to hide (can be wikitext)",
"required": true
}
},
"description": "Hides text until clicked on (\"opened\") by the reader.",
"paramOrder": [
"1",
"2"
]
}
</templatedata>
</noinclude>

Latest revision as of 22:26, 13 March 2022

Hides text until clicked on ("opened") by the reader.

To use, copy this onto a page:

{{Spoiler
|''Headline''
|2= text you want to hide
}}

(Copied from Wikipedia's "Vorlage:Klappbox" - more features there!)

Template Parameters

Hides text until clicked on ("opened") by the reader.

Template parameters

ParameterDescriptionTypeStatus
Headline1

Which Headline should your Spoiler have?

Example
Movie Ending
Unknownrequired
Text2

The text you want to hide (can be wikitext)

Unknownrequired