Template:Infobox item: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
GDoe5 (talk | contribs)
Misunderstood what Template Data meant by "boolean", changed relevant '#if's to '#ifeq's
GDoe5 (talk | contribs)
mNo edit summary
Line 13: Line 13:
  | Vitality = color: #233A00;
  | Vitality = color: #233A00;
  | Spirit = color: #3C254E;
  | Spirit = color: #3C254E;
  | color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|100px]]</span>
  | color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|50px]]</span>


|- style="text-align: center; {{
|- style="text-align: center; height:50px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #FFF0D7; color: #151912;
  | Weapon = background-color: #FFF0D7; color: #151912;

Revision as of 13:15, 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

Default
false
Example
true,false
Auto value
false
Booleanrequired
has_passive1has_passive1

no description

Default
false
Example
true,false
Auto value
false
Booleanrequired
has_passive2has_passive2

no description

Default
false
Example
true,false
Auto value
false
Booleanrequired
has_active1has_active1

no description

Default
false
Example
true,false
Auto value
false
Booleanrequired
has_iscomponentofhas_iscomponentof

no description

Default
false
Example
true,false
Auto value
false
Booleanrequired
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