Template:Infobox item: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Clubby789 (talk | contribs)
m Add cooldown icon to active items
Pillose (talk | contribs)
hide empty cells. link component item
Line 44: Line 44:
  | Vitality = background-color: #203500; color: #C7C9C6;
  | Vitality = background-color: #203500; color: #C7C9C6;
  | Spirit = background-color: #372248; color: #C9C7CB;
  | Spirit = background-color: #372248; color: #C9C7CB;
  | background-color: #9E630C; color: #DCCFC6;}}" {{
  | background-color: #9E630C; color: #DCCFC6;}} {{
#ifeq: {{{has_components|}}}|true
#ifeq: {{{has_components|}}}|true
|
|
"
  {{!}}-  
  {{!}}-  
  ! Components: <br> {{{component1_name}}}
  ! Components: <br> {{Item|{{{component1_name}}}}}
| }}
| display: none;"}}
|}
|}


Line 57: Line 58:
  | Vitality = background-color: #4D7214;
  | Vitality = background-color: #4D7214;
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}} {{
#if: {{{item_stat1|}}}
#if: {{{item_stat1|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{item_stat1}}}
  ! {{{item_stat1}}}
| }}
| display: none;"}}
{{#if: {{{item_stat2|}}}
{{#if: {{{item_stat2|}}}
|
|
Line 97: Line 99:
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{
  | background-color: #583B0E; color: #C4B49E;}} {{
#ifeq: {{{has_passive1|}}}|true
#ifeq: {{{has_passive1|}}}|true
|
|
"
  {{!}}-  
  {{!}}-  
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive1_cooldown}}}
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive1_cooldown}}}
| }}
| display: none;"}}
|}
|}


Line 112: Line 115:
  | Vitality = background-color: #4D7214;
  | Vitality = background-color: #4D7214;
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}} {{
#if: {{{passive1_description|}}}
#if: {{{passive1_description|}}}
|
|
"
  {{!}}-
  {{!}}-
  ! {{{passive1_description}}}
  ! {{{passive1_description}}}
| }}
| display: none;"}}


<div style="margin-left:0.5em; margin-right:0.5em;">
<div style="margin-left:0.5em; margin-right:0.5em;">
Line 125: Line 129:
  | Vitality = background-color: #3D5B0E;
  | Vitality = background-color: #3D5B0E;
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}} {{
#if: {{{passive1_stat1|}}}
#if: {{{passive1_stat1|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{passive1_stat1}}}
  ! {{{passive1_stat1}}}
| }}
| display: none;"}}
{{#if: {{{passive1_stat2|}}}
{{#if: {{{passive1_stat2|}}}
|
|
Line 161: Line 166:
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{
  | background-color: #583B0E; color: #C4B49E;}} {{
#ifeq: {{{has_passive2|}}}|true
#ifeq: {{{has_passive2|}}}|true
|
|
"
  {{!}}-  
  {{!}}-  
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown|}}}
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown|}}}
| }}
| display: none;"}}
|}
|}
</div>
</div>
Line 175: Line 181:
  | Vitality = background-color: #4D7214;
  | Vitality = background-color: #4D7214;
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}} {{
#if: {{{passive2_description|}}}
#if: {{{passive2_description|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{passive2_description}}}
  ! {{{passive2_description}}}
| }}
| display: none;"}}


<div style="margin-left:0.5em; margin-right:0.5em;">
<div style="margin-left:0.5em; margin-right:0.5em;">
Line 188: Line 195:
  | Vitality = background-color: #3D5B0E;
  | Vitality = background-color: #3D5B0E;
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}} {{
#if: {{{passive2_stat1|}}}
#if: {{{passive2_stat1|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{passive2_stat1}}}
  ! {{{passive2_stat1}}}
| }}
| display: none;"}}
{{#if: {{{passive2_stat2|}}}
{{#if: {{{passive2_stat2|}}}
|
|
Line 224: Line 232:
  | Vitality = background-color: #354F11;
  | Vitality = background-color: #354F11;
  | Spirit = background-color: #43265B;
  | Spirit = background-color: #43265B;
  | background-color: #583B0E;}}" {{
  | background-color: #583B0E;}} {{
#ifeq: {{{has_active1|}}}|true
#ifeq: {{{has_active1|}}}|true
|
|
"
  {{!}}-  
  {{!}}-  
  {{!}} '''Active''' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} <span><span>[[File:Cooldown Icon.png|20px]]</span>{{{active1_cooldown}}}</span>
  {{!}} '''Active''' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} <span><span>[[File:Cooldown Icon.png|20px]]</span>{{{active1_cooldown}}}</span>
| }}
| display: none;"}}
|}
|}
</div>
</div>
Line 238: Line 247:
  | Vitality = background-color: #4D7214;
  | Vitality = background-color: #4D7214;
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}} {{
#if: {{{active1_description|}}}
#if: {{{active1_description|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{active1_description}}}
  ! {{{active1_description}}}
| }}
| display: none;"}}


<div style="margin-left:0.5em; margin-right:0.5em;">
<div style="margin-left:0.5em; margin-right:0.5em;">
Line 251: Line 261:
  | Vitality = background-color: #3D5B0E;
  | Vitality = background-color: #3D5B0E;
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}} {{
#if: {{{active1_stat1|}}}
#if: {{{active1_stat1|}}}
|
|
"
  {{!}}-  
  {{!}}-  
  ! {{{active1_stat1}}}
  ! {{{active1_stat1}}}
| }}
| display: none;"}}
{{#if: {{{active1_stat2|}}}
{{#if: {{{active1_stat2|}}}
|
|
Line 286: Line 297:
  | Vitality = background-color: #436310; color: #CACFC7;
  | Vitality = background-color: #436310; color: #CACFC7;
  | Spirit = background-color: #552D74; color: #CCC8D2;
  | Spirit = background-color: #552D74; color: #CCC8D2;
  | background-color: #704A0C; color: #D1CBC6;}}" {{
  | background-color: #704A0C; color: #D1CBC6;}} {{
#ifeq: {{{has_iscomponentof|}}}|true
#ifeq: {{{has_iscomponentof|}}}|true
|
|
"
  {{!}}-  
  {{!}}-  
  {{!}} IS COMPONENT OF: <br> {{{iscomponentof1_name}}}
  {{!}} IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}
| }}
| display: none;"}}
|}
|}



Revision as of 19:22, 26 August 2024

{{{item_name}}} is a {{{item_type}}} item purchasable at the shop.

[[File:{{{item_imagefilepath}}}.png|50px]]
{{{item_name}}}


{{{item_name}}}
Souls{{{souls}}}


Template Data

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
item_imagefilepathitem_imagefilepath

no description

Stringrequired
item_nameitem_name

no description

Page namerequired
item_typeitem_type

no description

Suggested values
Weapon Vitality Spirit
Stringrequired
has_componentshas_components

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_passive1has_passive1

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_passive2has_passive2

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_active1has_active1

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_iscomponentofhas_iscomponentof

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
item_stat1item_stat1

no description

Stringsuggested
item_stat2item_stat2

no description

Stringoptional
item_stat3item_stat3

no description

Stringoptional
item_stat4item_stat4

no description

Stringoptional
item_stat5item_stat5

no description

Stringoptional
soulssouls

no description

Numberrequired
component1_namecomponent1_name

no description

Page nameoptional
passive1_descriptionpassive1_description

no description

Stringoptional
passive1_cooldownpassive1_cooldown

no description

Numberoptional
passive1_stat1passive1_stat1

no description

Stringoptional
passive1_stat2passive1_stat2

no description

Stringoptional
passive1_stat3passive1_stat3

no description

Stringoptional
passive1_stat4passive1_stat4

no description

Stringoptional
passive1_stat5passive1_stat5

no description

Stringoptional
passive2_descriptionpassive2_description

no description

Stringoptional
passive2_cooldownpassive2_cooldown

no description

Numberoptional
passive2_stat1passive2_stat1

no description

Stringoptional
passive2_stat2passive2_stat2

no description

Stringoptional
passive2_stat3passive2_stat3

no description

Stringoptional
passive2_stat4passive2_stat4

no description

Stringoptional
passive2_stat5passive2_stat5

no description

Stringoptional
active1_descriptionactive1_description

no description

Stringoptional
active1_cooldownactive1_cooldown

no description

Numberoptional
active1_stat1active1_stat1

no description

Stringoptional
active1_stat2active1_stat2

no description

Stringoptional
active1_stat3active1_stat3

no description

Stringoptional
active1_stat4active1_stat4

no description

Stringoptional
active1_stat5active1_stat5

no description

Stringoptional
iscomponentof1_nameiscomponentof1_name

no description

Page nameoptional