(Created page with "{{doc/start}} Displays a segment of text as black text on a black background, with a toggle to remove it. ==Usage== {{Tlx|Spoiler|1}} * where 1 is the text to be hidden ==Ex...") |
No edit summary |
||
Line 3: | Line 3: | ||
==Usage== |
==Usage== |
||
− | {{Tlx|Spoiler|1}} |
+ | {{Tlx|Spoiler|1|inline}}<br/> |
+ | where |
||
− | * |
+ | * 1 is the text to be hidden |
+ | * (optional) if not null, the spoiler will be inline |
||
==Example== |
==Example== |
||
Line 12: | Line 14: | ||
{{Spoiler|Ezio kills Dumbledore}} |
{{Spoiler|Ezio kills Dumbledore}} |
||
+ | |||
+ | ---- |
||
+ | Example of inline<br/> |
||
+ | Ezio kills {{Tlx|Spoiler|Dumbledore|inline=1}} |
||
+ | |||
+ | produces: |
||
+ | |||
+ | Ezio kills {{Spoiler|Dumbledore|inline=1}} |
||
+ | |||
{{Doc/end}} |
{{Doc/end}} |
Revision as of 01:58, 13 February 2019
Displays a segment of text as black text on a black background, with a toggle to remove it.
Usage
{{Spoiler|1|inline}}
where
- 1 is the text to be hidden
- (optional) if not null, the spoiler will be inline
Example
{{Spoiler|Ezio kills Dumbledore}}
produces:
Reveal Spoiler
Ezio kills Dumbledore Ezio kills Dumbledore
Example of inline
Ezio kills {{Spoiler|Dumbledore}}
produces:
Ezio kills Dumbledore Dumbledore