Difference between revisions of "Template:Spoiler"

From SP World Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
<!--
 
{| class="wikitable" style="width: 100%; background-color: #ff3300; text-align:center;"
 
{| class="wikitable" style="width: 100%; background-color: #ff3300; text-align:center;"
 
|'''WARNING! THIS PAGE CONTAINS SPOILERS!'''
 
|'''WARNING! THIS PAGE CONTAINS SPOILERS!'''
Line 4: Line 5:
 
|This page contains spoilers on {{{name}}} revealing the following details: {{{details}}} <br> '''View this page at your own discretion!''' [[File:Evil.gif]]
 
|This page contains spoilers on {{{name}}} revealing the following details: {{{details}}} <br> '''View this page at your own discretion!''' [[File:Evil.gif]]
 
|}
 
|}
 +
-->
 +
<div style="box-shadow: 0 0 0.2em #999999; border-radius: 0.2em; margin: 0.5em 0.5em 1em 0.5em; background: {{{background-content-color|#fff}}}; {{{style|}}};">
 +
<!-- CSS for icon and background -->
 +
<div style="background: {{{background-title-color|#c25555}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em; text-align:center;">
 +
<!-- {{#if:{{{icon|}}}|<span style="opacity: 0.8;">[[File:{{{icon}}}|20px|link=|alt=]]</span>&#32;}} -->
 +
<span style="color: {{{title-color|#000000}}}; font-weight: bold;">WARNING! THIS PAGE CONTAINS SPOILERS!</span>
 +
<!-- -->
 +
<!-- {{#if:{{{link|}}}|<div style="float: right; font-size: 0.7em;">[[{{{link}}}|<span style="color: {{{link-color|{{{title-color|#000000}}}}}};">{{{view-text|view}}}</span>]]</div>}} -->
 +
</div>
 +
<!-- CSS for the content -->
 +
<div style="padding: 0.5em 1em 0.5em 1em; border-radius: 0 0 0.2em 0.2em; background: #d69f9f; text-align:center;">
 +
This page contains spoilers on {{{name}}} revealing the following details: {{{details}}} <br> '''View this page at your own discretion!''' [[File:Evil.gif]]
 +
</div>
 +
</div><noinclude>

Revision as of 14:06, 21 February 2025

WARNING! THIS PAGE CONTAINS SPOILERS!

This page contains spoilers on {{{name}}} revealing the following details: {{{details}}}
View this page at your own discretion! Evil.gif