From Brotato Wiki

(Add `isdlc` option to Items. (It's checked by GetDLCStatus, to be optionally used by Iconbox))
(Set axolotl to isdlc=1 (because it's part of the DLC))
Line 118: Line 118:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,568: Line 2,568:
</pre>
</pre>
{{Item Data|Knife}}
{{Item Data|Knife}}
Example: Check if the item is part of the {{DLCLink|Abyssal Terrors DLC}}
<pre>
{{Item Data|acid}}
{{Item Data|axolotl}}
</pre>
{{Item Data|acid}}
<br>{{Item Data|axolotl}}
<templatedata>
<templatedata>
{
{

Revision as of 23:17, 10 November 2024

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
-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}}
{{Item Data|axolotl}}

-
-


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

no description

Example
Acid
Stringrequired
Data2

no description

Example
price
Stringrequired