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..." |
NitramLegov (talk | contribs) No edit summary |
||
| 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> | |||
<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> | |||
Revision as of 21:38, 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!)
Hides text until clicked on ("opened") by the reader.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Headline | 1 | Which Headline should your Spoiler have?
| Unknown | required |
| Text | 2 | The text you want to hide (can be wikitext) | Unknown | required |