From Brotato Wiki

m (Changed protection settings for "Template:Item Data": all users can edit this page now ([Move=Allow only autoconfirmed users] (indefinite)))
mNo edit summary
Line 1,142: Line 1,142:
|rip and tear = {{#switch:{{lc:{{{2|}}}}}
|rip and tear = {{#switch:{{lc:{{{2|}}}}}
|rarity=3
|rarity=3
|stats=Enemies have a <span style="color:rgb(0,255,0);">+100%</span> chance to explode for (50%{{StatIcon|MeleeDamage}}) damage when they die<br><span style="color:rgb(244,0,0);">-12</span> Harvesting
|stats=Enemies have a <span style="color:rgb(0,255,0);">+20%</span> chance to explode for (50%{{StatIcon|MeleeDamage}}) damage when they die<br><span style="color:rgb(244,0,0);">-12</span> Harvesting
|price=65
|price=65
|unique=
|unique=

Revision as of 02:43, 18 December 2022

Usage:

{{Item Data
|any weapon name
|rarity/stats/price/unique/unlockedby/limit
}}

Example:

{{Item Data|acid|rarity}}

2


Example:

{{Item Data
|acid
|stats
}}

+8 Max HP
-4% Dodge


Example: No options passed

{{Item Data|acid}}

-


Example: Not an item

{{Item Data|Knife}}

Item name not found

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

no description

Example
Acid
Stringrequired
Data2

no description

Example
price
Stringrequired