Template:StatusBox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
QuinnBinn (talk | contribs)
m Added description param for another template
QuinnBinn (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div style="display:inline-block; margin: 15px 10px 15px 0px; max-width:650px;">
<div style="max-width:400px;">
{|- style="text-align:center; {{#ifeq:{{{isBuff|}}}|true|background-color:#0BA372;|background-color:#CA401C;}} border:solid, 4px; border-radius:12px; {{#ifeq:{{{isBuff|}}}|true|border-color:#1D9460;|border-color:#B24523;}} font-family: 'PT Serif','Palatino','Georgia',serif;"
<div style="display:flex; flex-direction:column; {{#ifeq:{{{isBuff|}}}|true|background-color:#0BA372;|background-color:#CA401C;}} border:solid, 4px; border-radius:12px; {{#ifeq:{{{isBuff|}}}|true|border-color:#1D9460;|border-color:#B24523;}} padding: 0px 8px 4px 2px">
| rowspan="2" style="margin-left:10px; width:50px;" | {{#if:{{{status icon|}}}|[[File:{{{status icon|}}}.png|50px|link=]]|[[File:Status {{{status|}}}.png|50px|link=]]}}
<div style="display:flex; flex-direction:row;">
| style="width:300px; color:#FFEFD7; font-family: 'Retail Demo'; font-size:18px; font-weight:bold; text-align:left; | {{{status|}}}
<span style="filter: brightness(0) saturate(100%) invert(98%) sepia(19%) saturate(1458%) hue-rotate(301deg) brightness(102%) contrast(109%);"> {{#if:{{{status icon|}}}|[[File:{{{status icon|}}}.png|50px|link=]]|[[File:Status {{{status|}}}.png|50px|link=]]}} </span>
|- style="text-align:left; color:#FFEFD7; font-family: 'Retail Demo'; font-size:13px;"
<span style="color:#FFEED4; font-family:'Retail Demo'; font-size:18px; font-weight:bold;"> {{{status|}}} </span>
|{{{description|}}}
</div>
|}
{{#if:{{{description|}}}|
</div></onlyinclude>
<div style="display:flex; flex-direction:row; align-items:end;">
<span style="color:#FFEED4; font-family:'Retail Demo'; font-size:12px;>{{{description|}}}</span>
</div>
|}}
</div></div></onlyinclude>


'''Debuff'''
'''Debuff'''

Latest revision as of 02:13, 29 September 2024

Debuff

Burn

Buff

Barrage Amp

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
isBuffisBuff

Determines StatusBox color

Suggested values
true false
Unknownoptional
status iconstatus icon

Icon used for display, if the name doesn't match. Extension already included.

Example
Affliction, Pulse Grenade
Unknownoptional
statusstatus

Name of the Status effect

Example
Burn, Bleed
Unknownoptional