Template:Infobox item: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
GDoe5 (talk | contribs)
mNo edit summary
GDoe5 (talk | contribs)
#if were not working to filter out sections where no data is found
Line 45: Line 45:
  | Spirit = background-color: #372248; color: #C9C7CB;
  | Spirit = background-color: #372248; color: #C9C7CB;
  | background-color: #9E630C; color: #DCCFC6;}}" {{
  | background-color: #9E630C; color: #DCCFC6;}}" {{
#if: {{{has_components}}}
#if: {{{has_components|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 58: Line 58:
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}}" {{
#if: {{{item_stat1}}}
#if: {{{item_stat1|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat1}}}
  ! {{{item_stat1}}}
| }}
| }}
{{#if: {{{item_stat2}}}
{{#if: {{{item_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat2}}}
  ! {{{item_stat2}}}
| }}
| }}
{{#if: {{{item_stat3}}}
{{#if: {{{item_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat3}}}
  ! {{{item_stat3}}}
| }}
| }}
{{#if: {{{item_stat4}}}
{{#if: {{{item_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat4}}}
  ! {{{item_stat4}}}
| }}
| }}
{{#if: {{{item_stat5}}}
{{#if: {{{item_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 98: Line 98:
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{
  | background-color: #583B0E; color: #C4B49E;}}" {{
#if: {{{has_passive1}}}
#if: {{{has_passive1|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 113: Line 113:
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}}" {{
#if: {{{passive1_description}}}
#if: {{{passive1_description|}}}
|
|
  {{!}}-
  {{!}}-
Line 126: Line 126:
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}}" {{
#if: {{{passive1_stat1}}}
#if: {{{passive1_stat1|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive1_stat1}}}
  ! {{{passive1_stat1}}}
| }}
| }}
{{#if: {{{passive1_stat2}}}
{{#if: {{{passive1_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive1_stat2}}}
  ! {{{passive1_stat2}}}
| }}
| }}
{{#if: {{{passive1_stat3}}}
{{#if: {{{passive1_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive1_stat3}}}
  ! {{{passive1_stat3}}}
| }}
| }}
{{#if: {{{passive1_stat4}}}
{{#if: {{{passive1_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive1_stat4}}}
  ! {{{passive1_stat4}}}
| }}
| }}
{{#if: {{{passive1_stat5}}}
{{#if: {{{passive1_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 162: Line 162:
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{
  | background-color: #583B0E; color: #C4B49E;}}" {{
#if: {{{has_passive2}}}
#if: {{{has_passive2|}}}
|
|
  {{!}}-  
  {{!}}-  
  {{!}} ''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|}}}
| }}
| }}
|}
|}
Line 176: Line 176:
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}}" {{
#if: {{{passive2_description}}}
#if: {{{passive2_description|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 189: Line 189:
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}}" {{
#if: {{{passive2_stat1}}}
#if: {{{passive2_stat1|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive2_stat1}}}
  ! {{{passive2_stat1}}}
| }}
| }}
{{#if: {{{passive2_stat2}}}
{{#if: {{{passive2_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive2_stat2}}}
  ! {{{passive2_stat2}}}
| }}
| }}
{{#if: {{{passive2_stat3}}}
{{#if: {{{passive2_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive2_stat3}}}
  ! {{{passive2_stat3}}}
| }}
| }}
{{#if: {{{passive2_stat4}}}
{{#if: {{{passive2_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{passive2_stat4}}}
  ! {{{passive2_stat4}}}
| }}
| }}
{{#if: {{{passive2_stat5}}}
{{#if: {{{passive2_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 225: Line 225:
  | Spirit = background-color: #43265B;
  | Spirit = background-color: #43265B;
  | background-color: #583B0E;}}" {{
  | background-color: #583B0E;}}" {{
#if: {{{has_active1}}}
#if: {{{has_active1|}}}
|
|
  {{!}}-  
  {{!}}-  
  {{!}} '''Active''' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown}}}
  {{!}} '''Active''' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{active1_cooldown}}}
| }}
| }}
|}
|}
Line 239: Line 239:
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}}" {{
#if: {{{active1_description}}}
#if: {{{active1_description|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 252: Line 252:
  | Spirit = background-color: #4D2869;
  | Spirit = background-color: #4D2869;
  | background-color: #67430A;}}" {{
  | background-color: #67430A;}}" {{
#if: {{{active1_stat1}}}
#if: {{{active1_stat1|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{active1_stat1}}}
  ! {{{active1_stat1}}}
| }}
| }}
{{#if: {{{active1_stat2}}}
{{#if: {{{active1_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{active1_stat2}}}
  ! {{{active1_stat2}}}
| }}
| }}
{{#if: {{{active1_stat3}}}
{{#if: {{{active1_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{active1_stat3}}}
  ! {{{active1_stat3}}}
| }}
| }}
{{#if: {{{active1_stat4}}}
{{#if: {{{active1_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{active1_stat4}}}
  ! {{{active1_stat4}}}
| }}
| }}
{{#if: {{{active1_stat5}}}
{{#if: {{{active1_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
Line 287: Line 287:
  | Spirit = background-color: #552D74; color: #CCC8D2;
  | Spirit = background-color: #552D74; color: #CCC8D2;
  | background-color: #704A0C; color: #D1CBC6;}}" {{
  | background-color: #704A0C; color: #D1CBC6;}}" {{
#if: {{{has_components}}}
#if: {{{has_components|}}}
|
|
  {{!}}-  
  {{!}}-  

Revision as of 13:08, 26 August 2024

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

[[File:{{{item_imagefilepath}}}.png|100px]]
{{{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
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
has_componentshas_components

no description

Booleanoptional
component1_namecomponent1_name

no description

Page nameoptional
has_passive1has_passive1

no description

Booleanrequired
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
has_passive2has_passive2

no description

Booleanrequired
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
has_active1has_active1

no description

Booleanrequired
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
has_iscomponentofhas_iscomponentof

no description

Booleanrequired
iscomponentof1_nameiscomponentof1_name

no description

Page nameoptional