Template:Spoil

From 118Wiki
Jump to navigation Jump to search
Template Documentation
This template functions as spoiler tags, i.e. hides a portion of text that can be revealed if the reader wants to read it.

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.

Template Data

Produces a spoiler bar over text that can be made visible by hovering over.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The spoiler text

Stringrequired