From Brotato Wiki

(replacing <span> with color template)
m (Alloy Elemental daaamaage)
Line 72: Line 72:
|alloy = {{#switch:{{lc:{{{2|}}}}}
|alloy = {{#switch:{{lc:{{{2|}}}}}
|rarity=3
|rarity=3
|stats={{Color|green|+3}} Melee Damage<br>{{Color|green|+3}} Ranged Damage<br>{{Color|green|+3}} Engineering<br>{{Color|green|+5%}} Crit Chance<br>{{Color|red|-6%}} Dodge
|stats={{Color|green|+3}} Melee Damage<br>{{Color|green|+3}} Ranged Damage<br>{{Color|green|+3}} Elemental Damage<br>{{Color|green|+3}} Engineering<br>{{Color|green|+5%}} Crit Chance<br>{{Color|red|-6%}} Dodge
|price=80
|price=80
|unique=
|unique=

Revision as of 10:56, 25 June 2023

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