From Brotato Wiki

(Set axolotl to isdlc=1 (because it's part of the DLC))
(fix typo in last edit, and extend docs main example to include `isdlc`)
Line 2,537: Line 2,537:
<pre>
<pre>
{{Item Data
{{Item Data
|any weapon name
|any item name
|rarity/stats/price/unique/unlockedby/limit
|rarity/stats/price/unique/unlockedby/limit/isdlc
}}
}}
</pre>
</pre>
Line 2,571: Line 2,571:
Example: Check if the item is part of the {{DLCLink|Abyssal Terrors DLC}}
Example: Check if the item is part of the {{DLCLink|Abyssal Terrors DLC}}
<pre>
<pre>
{{Item Data|acid}}
{{Item Data|acid|isdlc}}
{{Item Data|axolotl}}
{{Item Data|axolotl|isdlc}}
</pre>
</pre>
{{Item Data|acid}}
{{Item Data|acid}}

Revision as of 23:19, 10 November 2024

Usage:

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

Example:

{{Item Data|acid|rarity}}

2


Example:

{{Item Data|acid|stats}}

+8 Max HP
-2 % Dodge
-2 Knockback


Example: No options passed

{{Item Data|acid}}

-


Example: Not an item

{{Item Data|Knife}}

Item name not found

Example: Check if the item is part of the Abyssal Terrors DLC(DLC)

{{Item Data|acid|isdlc}}
{{Item Data|axolotl|isdlc}}

-
-


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

no description

Example
Acid
Stringrequired
Data2

no description

Example
price
Stringrequired