Template:Spoiler Warning: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
Started Spoiler Warning template
Tag: 2017 source edit
 
center text
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><templatedata>
<noinclude>
{
{{Documentation}}
"params": {},
</noinclude>{{cmbox
"description": "A warning for users that a section is about content in KSP2 regarding the story, lore, Discoverables, or other 'spoilerable' moments."
}
</templatedata>
 
==How to use==
;Description
:This template is used to annotate content that is considered a "spoiler".
;Syntax
:Type <code><nowiki>{{Spoiler Warning}}</nowiki></code> at the beginning of a page or section about spoiler content. This template does not require any parameters.
</noinclude>
 
{{mbox
|header  = Spoiler Warning
|header  = Spoiler Warning
|image    = [[File:Valentina Thumbs Up EVA.png|50px]]
|type    = notice
|type    = notice
|style = border: 2px solid red; border-radius: 5px; background-color: lightgray;
|style   = border: 2px solid red; background-color: transparent; text-align:center;
|text    = This section contains content considered to be spoilers for KSP 2. ''Tharr be Krakens here!''
|text    = This section contains content considered to be spoilers for KSP 2.<br><small>''Tharr be Krakens here!''</small>
}}
}}

Latest revision as of 05:45, 16 March 2025