From Brotato Wiki

(Add `isdlc` option to Items. (It's checked by GetDLCStatus, to be optionally used by Iconbox))
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 107: Line 107:
|limit=
|limit=
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 118: Line 118:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 151: Line 151:
|limit=
|limit=
|tags=[[HP Regeneration]]
|tags=[[HP Regeneration]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 228: Line 228:
|limit=1
|limit=1
|tags=[[Curse]]
|tags=[[Curse]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 305: Line 305:
|limit=1
|limit=1
|tags=[[Curse]], [[More Enemies]]
|tags=[[Curse]], [[More Enemies]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 371: Line 371:
|limit=2
|limit=2
|tags=[[Damage]]
|tags=[[Damage]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 437: Line 437:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
|builder's turret ii = {{#switch:{{lc:{{{2|}}}}}
|builder's turret ii = {{#switch:{{lc:{{{2|}}}}}
|rarity=2
|rarity=2
|stats=This turret's stats are derived from your best ranged weapon's base stats and scale with {{Color|green|Engineering}} ({{Color|green|-}})<br>{{Color|green|+1}} projectile<br>{{Color|green|+1}} projectile when you reach {{Color|green|30}} {{Color|green|Structure Range}}
|stats=This turret's stats are derived from your best ranged weapon's base stats and scale with {{Color|green|Engineering}} ({{Color|green|-}})<br>{{Color|green|+1}} projectile<br>{{Color|green|+1}} projectile when you reach {{Color|green|150}} {{Color|green|Structure Range}}
|price=1
|price=1
|unique=true
|unique=true
Line 448: Line 448:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
|builder's turret iii = {{#switch:{{lc:{{{2|}}}}}
|builder's turret iii = {{#switch:{{lc:{{{2|}}}}}
|rarity=3
|rarity=3
|stats=This turret's stats are derived from your best ranged weapon's base stats and scale with {{Color|green|Engineering}} ({{Color|green|-}})<br>{{Color|green|+2}} projectiles<br>{{Color|green|+1}} projectile when you reach {{Color|green|30}} {{Color|green|Structure Range}}
|stats=This turret's stats are derived from your best ranged weapon's base stats and scale with {{Color|green|Engineering}} ({{Color|green|-}})<br>{{Color|green|+2}} projectiles<br>{{Color|green|+1}} projectile when you reach {{Color|green|300}} {{Color|green|Structure Range}}
|price=1
|price=1
|unique=true
|unique=true
Line 459: Line 459:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 470: Line 470:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 536: Line 536:
|limit=1
|limit=1
|tags=[[Pickup]]
|tags=[[Pickup]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 668: Line 668:
|limit=
|limit=
|tags=[[HP Regeneration]], [[Stand Still]]
|tags=[[HP Regeneration]], [[Stand Still]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 679: Line 679:
|limit=
|limit=
|tags=[[Damage]], [[Curse]]
|tags=[[Damage]], [[Curse]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 712: Line 712:
|limit=
|limit=
|tags=[[Attack Speed]]
|tags=[[Attack Speed]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 889: Line 889:
|limit=
|limit=
|tags=[[Crit Chance]], [[Ranged Damage]]
|tags=[[Crit Chance]], [[Ranged Damage]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 922: Line 922:
|limit=
|limit=
|tags=[[Ranged Damage]], [[Dodge]]
|tags=[[Ranged Damage]], [[Dodge]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 954: Line 954:
|unlockedby=
|unlockedby=
|limit=3
|limit=3
|tags=[[Curse]], [[Lock]]
|tags=[[Curse]], [[Lock (Item Tag)]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,098: Line 1,098:
|limit=3
|limit=3
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,109: Line 1,109:
|limit=
|limit=
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,296: Line 1,296:
|limit=1
|limit=1
|tags=[[Consumable (Item Tag)|Consumable]]
|tags=[[Consumable (Item Tag)|Consumable]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,318: Line 1,318:
|limit=1
|limit=1
|tags=[[Damage]], [[Max HP]]
|tags=[[Damage]], [[Max HP]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,329: Line 1,329:
|limit=1
|limit=1
|tags=[[Explosive (Item Tag)|Explosive]], [[Max HP]], [[Curse]]
|tags=[[Explosive (Item Tag)|Explosive]], [[Max HP]], [[Curse]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,351: Line 1,351:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,406: Line 1,406:
|limit=1
|limit=1
|tags=[[Engineering]]
|tags=[[Engineering]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,571: Line 1,571:
|limit=
|limit=
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,703: Line 1,703:
|limit=20
|limit=20
|tags=[[Luck]]
|tags=[[Luck]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,725: Line 1,725:
|limit=3
|limit=3
|tags=[[HP Regeneration]]
|tags=[[HP Regeneration]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 1,968: Line 1,968:
|limit=1
|limit=1
|tags=[[Melee Damage]], [[Attack Speed]], [[Speed]]
|tags=[[Melee Damage]], [[Attack Speed]], [[Speed]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,001: Line 2,001:
|limit=
|limit=
|tags=[[HP Regeneration]], [[Melee Damage]], [[Speed]]
|tags=[[HP Regeneration]], [[Melee Damage]], [[Speed]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,023: Line 2,023:
|limit=1
|limit=1
|tags=[[Ranged Damage]]
|tags=[[Ranged Damage]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,101: Line 2,101:
|limit=
|limit=
|tags=[[Damage]]
|tags=[[Damage]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,178: Line 2,178:
|limit=2
|limit=2
|tags=[[Range]]
|tags=[[Range]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,189: Line 2,189:
|limit=3
|limit=3
|tags=[[Harvesting]]
|tags=[[Harvesting]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,244: Line 2,244:
|limit=1
|limit=1
|tags=[[Explosive (Item Tag)|Explosive]]
|tags=[[Explosive (Item Tag)|Explosive]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,332: Line 2,332:
|limit=5
|limit=5
|tags=[[Luck]]
|tags=[[Luck]]
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 2,486: Line 2,486:
|limit=1
|limit=1
|tags=
|tags=
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
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,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|isdlc}}
{{Item Data|axolotl|isdlc}}
</pre>
{{Item Data|acid|isdlc}}
<br>{{Item Data|axolotl|isdlc}}
<templatedata>
<templatedata>
{
{

Latest revision as of 14:03, 11 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}}

-
1


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

no description

Example
Acid
Stringrequired
Data2

no description

Example
price
Stringrequired