Difference between revisions of "Template:SpoilerBox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(added a second parameter to describe what the spoiler is about)
m
 
Line 1: Line 1:
{{FlipBox|style=word-wrap: normal; margin: 0em 0em 0.5em; border-style: none solid solid none; padding: 0px; background-color: #FFFDDF; font-size: 95%; border-color:#aaaaaa; border-width:1px;|title=Spoiler: {{{description}}}|style-content=padding: 5px; padding-top: 10px; border-style: solid none none none; border-color:#aaaaaa; border-width:1px;|content={{{content}}}}}<noinclude>Creates a box with hidable content to prevent spoilers. Has two parameter {{{content}}} and {{{description}}}.
+
{{FlipBox|style=word-wrap: normal; margin: 0em 0em 0.5em; border-style: none solid solid none; padding: 0px; background-color: #FFFDDF; font-size: 95%; border-color:#aaaaaa; border-width:1px;|title='''Spoiler:''' {{{description}}}|style-content=padding: 5px; padding-top: 10px; border-style: solid none none none; border-color:#aaaaaa; border-width:1px;|content={{{content}}}}}<noinclude>Creates a box with hidable content to prevent spoilers. Has two parameter {{{content}}} and {{{description}}}.
  
 
Example:
 
Example:
  
{{SpoilerBox|description=Darth Vader is the father of|content=Luke Skywalker and Princess Leia
+
{{SpoilerBox|description=Darth Vader is the father of|content=Luke Skywalker and Princess Leia}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:25, 12 March 2013

Spoiler: {{{description}}}
{{{content}}}
Creates a box with hidable content to prevent spoilers. Has two parameter {{{content}}} and {{{description}}}.

Example:

Spoiler: Darth Vader is the father of
Luke Skywalker and Princess Leia