Template:Spoil
Usage
Code:
{{spoil| }}
Write the hidden text as the unnamed parameter. Please see the examples below!
The template produces a black bar over the hidden text. If the reader chooses to view the hidden text, this bar will turn light grey, revealing the hidden text. On computer, the text is revealed by hovering the cursor over the text. Once the cursor is off from the text, the text will be hidden again. On mobile devices, the reader must click on the bar to reveal the hidden text. Clicking elsewhere on the screen, including another bar, will cause the text to be hidden again.
The hidden text can be multiple lines long.
Examples
Lt. Commander Data is {{spoil|an android}}.
Lt. Commander Data is an android.
Lieutenant '''Jovenan''' is an {{spoil|[[Edo]] Starfleet officer}}. She is currently serving as the Chief Science Officer aboard the {{USS|Artemis|A}}. {{spoil|Born on the Edo homeworld in 2373, she enrolled in the University of Hurkos in 2390, when the planet was ending its isolation. Upon graduation with degree in Planetary Sciences, she entered the Starfleet Academy. In 2399, she received the commission as ensign and was posted on the {{USS|Excalibur|A}}, later transferring to the ''Artemis''}} with much of the ''Excalibur'' crew.
Lieutenant Jovenan is an Edo Starfleet officer. She is currently serving as the Chief Science Officer aboard the USS Artemis-A. Born on the Edo homeworld in 2373, she enrolled in the University of Hurkos in 2390, when the planet was ending its isolation. Upon graduation with degree in Planetary Sciences, she entered the Starfleet Academy. In 2399, she received the commission as ensign and was posted on the USS Excalibur-A, later transferring to the Artemis with much of the Excalibur crew.
Produces a spoiler bar over text that can be made visible by hovering over.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The spoiler text | String | required |