Template:Spoiler: Difference between revisions

From Terraformental
Jump to navigation Jump to search
css class
Altered to allow general spoiler with alternate text in raw version.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div class="banner_spoiler" style="
<includeonly>{{Spoiler_Raw | Read Spoiler Article | ''This article contains {{{1}}} {{{2}}}-game spoilers!'' Discovery is one of the core mechanics of the game, and getting spoiled could severely impact your game experience. }}</includeonly><noinclude>
  background: #000;
  border: 1.5px solid #5C77C8;
  border-radius: 10px;
  box-shadow: inset 0 0 10px 2px #063e5a;
  box-sizing: border-box;
  color: #fff;
  left: 0;
  padding: 20px 30px 20px 30px;
  position: relative;
  max-width: auto%;
  margin: 0 0 0;"
>
''This article contains {{{1}}} {{{2}}}-game spoilers!'' Discovery is one of the core mechanics of the game, and getting spoiled could severely impact your game experience.
</div></includeonly><noinclude>
Usage: <pre><nowiki>{{Spoiler | importance of spoiler (light/medium/heavy) | game stage (early / mid / late)}}</nowiki></pre>
Usage: <pre><nowiki>{{Spoiler | importance of spoiler (light/medium/heavy) | game stage (early / mid / late)}}</nowiki></pre>
{{Spoiler | medium | mid}}
{{Spoiler | medium | mid}}
[[Category:Banner]]
[[Category:Banner]]
</noinclude>
</noinclude>

Latest revision as of 08:58, 24 October 2026

Usage:

{{Spoiler | importance of spoiler (light/medium/heavy) | game stage (early / mid / late)}}