Template:Spoiler: Difference between revisions

From IdleOn MMO Wiki
(Created page with "<includeonly>{{#vardefine:mainBoxClass|messagebox{{#ifeq:{{yesno|{{{inline|}}}|yes=yes}}|yes|-inline|}}{{#ifeq:{{yesno|{{{boxed|}}}|yes=yes}}|yes|-boxed|}}}}<!-- -->{{#vardefine:colorClass|{{#if:{{{box_color|}}}|boxcol-{{{box_color|}}}|}}}}<!-- --><div class="{{#var:mainBoxClass}} {{#var:colorClass}} {{{box_class|}}}" style="{{#if:{{{box_style|}}}|{{Replace|{{{box_style}}}|[\n\t]}}}}"> <div class="messagebox-main"> {{#if: {{{image|}}} |<div class="messagebox-image nomobi...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:mainBoxClass|messagebox{{#ifeq:{{yesno|{{{inline|}}}|yes=yes}}|yes|-inline|}}{{#ifeq:{{yesno|{{{boxed|}}}|yes=yes}}|yes|-boxed|}}}}<!--
'''<span style="color:#ff0000">WARNING:</span>''' '''This page mage contain spoilers!<br>If you would like to discover this feature for yourself it is adviced not to read any further.'''
-->{{#vardefine:colorClass|{{#if:{{{box_color|}}}|boxcol-{{{box_color|}}}|}}}}<!--
--><div class="{{#var:mainBoxClass}} {{#var:colorClass}} {{{box_class|}}}" style="{{#if:{{{box_style|}}}|{{Replace|{{{box_style}}}|[\n\t]}}}}">
<div class="messagebox-main">
{{#if: {{{image|}}}
|<div class="messagebox-image nomobile {{{image_class|}}}" style="{{#if:{{{image_style|}}}|{{Replace|{{{image_style}}}|[\n\t]}}}}">
{{{image}}}
</div>
}}
{{#if: {{{text|}}}
|<div class="messagebox-text" style="{{#if:{{{text_style|}}}|{{Replace|{{{text_style}}}|[\n\t]}}}}">
{{{text}}}
</div>
}}
</div><!-- end div.messagebox-main -->
<div class="messagebox-aside">
{{#if: {{{rtext|}}}
|<div class="messagebox-rtext" style="{{#if:{{{rtext_style|}}}|{{Replace|{{{rtext_style}}}|[\n\t]}}}}">
{{{rtext}}}
</div>
}}
</div><!-- end div.messagebox-aside -->
</div><!-- end div.messagebox -->
</includeonly>

Latest revision as of 12:59, 29 May 2023

WARNING: This page mage contain spoilers!
If you would like to discover this feature for yourself it is adviced not to read any further.