From Brotato Wiki

(Add templatedata)
m (power generator: Fix missing space in "stats")
Line 1,042: Line 1,042:
|power generator = {{#switch:{{lc:{{{2|}}}}}
|power generator = {{#switch:{{lc:{{{2|}}}}}
|rarity=3
|rarity=3
|stats=<span style="color:rgb(0,255,0);">+1%</span>Damage for every 1% Speed you have.<br><span style="color:rgb(244,0,0);">-5%</span> Damage
|stats=<span style="color:rgb(0,255,0);">+1%</span> Damage for every 1% Speed you have.<br><span style="color:rgb(244,0,0);">-5%</span> Damage
|price=50
|price=50
|unique=true
|unique=true

Revision as of 12:04, 10 November 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