Template:Infobox item: Difference between revisions

Lacni (talk | contribs)
Undo revision 10229 by Lacni (talk)
Tag: Undo
Lacni (talk | contribs)
m Changed condition of display of passive stats box to not display when empty
Line 142: Line 142:
| display: none;"}}
| display: none;"}}
</div>
</div>
<div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline-block|display:none;}}">
<div style="{{#if:{{{passive1_stat1|}}}|display:inline-block|display:none;}}">
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px; color: #FFEFD7; font-family: 'Retail Demo Regular'; margin-top: 6px; {{
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px; color: #FFEFD7; font-family: 'Retail Demo Regular'; margin-top: 6px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
Line 208: Line 208:
| display: none;"}}
| display: none;"}}
</div>
</div>
<div style="{{#ifeq:{{{has_passive2|}}}|true|display:inline-block|display:none;}}">
<div style="{{#if:{{{passive2_stat1|}}}|display:inline-block|display:none;}}">
{|- style="text-align:left; width:480px; max-width:480px; border-radius:8px; color: #FFEFD7; {{
{|- style="text-align:left; width:480px; max-width:480px; border-radius:8px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}