Jump to content

Template:Spoiler Warning: Difference between revisions

From Starship Simulator
m Updated
m Updated
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable message-box warning-box spoiler-warning-box" style="width: 80%; margin: 1em auto 1em auto; border: 1px solid #cc0000; background-color: #ffeeee;"
<div style="clear:both; margin-top:2em; background-color: #ffeeee; color: black; border: 2px solid black; padding: 10px; width: 90%; border-radius:5px; text-align: center; font-size: 1.2em; margin: 0 auto;">
|- style="vertical-align: middle;"
[[File:Spoiler warning.jpg|100px|alt=Warning icon|link=]] '''<span style="color: #cc0000;">Spoiler Warning:</span>''' This page contains details about hidden content, references or ''"Easter Eggs"''. Read ahead at your own discretion!
| style="width: 40px; text-align: center; font-size: 1.5em;" | [[File:Warning_icon.svg|30px|alt=Warning icon]] | '''<span style="color: #cc0000;">Spoiler Warning:</span>''' This page contains details about hidden content, references, or jokes ("Easter Eggs"). Read ahead at your own discretion!
</div>
|}
<noinclude>
<noinclude>
== Documentation ==
== Documentation ==
Line 9: Line 8:
=== Usage ===
=== Usage ===
Simply add the following code to the top of the relevant page:
Simply add the following code to the top of the relevant page:
<nowiki>{{Spoiler Warning}}</nowiki>
'''<nowiki>{{Spoiler Warning}}</nowiki>'''


[[Category:Formatting templates]]
[[Category:Formatting templates]]
[[Category:Wiki templates]]
</noinclude>
</noinclude>

Latest revision as of 15:58, 13 August 2025

Warning icon Spoiler Warning: This page contains details about hidden content, references or "Easter Eggs". Read ahead at your own discretion!

Documentation

This template should be placed at the top of any page containing spoilers, particularly Easter Eggs or hidden plot details.

Usage

Simply add the following code to the top of the relevant page: {{Spoiler Warning}}