Template:Item infobox/doc

From Backpack Battles Wiki
Jump to navigation Jump to search

Automatic detection

The following keywords are detected in the bolded fields.

Auto add categories:

  • Item
  • rarity: Common, Rare, Legendary, Epic, Godly, Unique
  • type: Accessory, Armor, Bag, Food, Gemstone, Gloves, Helmet, Melee Weapon, Pet, Playing Card, Potion, Ranged Weapon, Shield, Shoes
  • type: Dark, Fire, Holy, Magic, Nature, Vampiric

Auto add categories and added into the tags field. These detect page links (e.g. blind):

  • effect: Blind, Block, Buff, Cold, Debuff, Empower, Heat, Luck, Mana, Poison, Regeneration, Spikes, Vampirism
  • effect: Heal, Battle Rage, Fatigue, Invulnerability, Nullify, Reflect, Reincarnate, Resist, Stun

Usage

Available parameters:

{{Item infobox
|name=
|subclassname=
|image=
|rarity=
|type=
|cost=
|class=
|effect=
|mindamage=
|maxdamage=
|stamina=
|accuracy=
|cooldown=
|sockets=
|addshop=
|grid=
}}

Weapon example:

Hero Sword
HeroSword.png
Statistics
RarityEpic
TypeMelee Weapon
Cost11 Gold
Effect

Start of battle: Star Weapons gain 2 damage.

Damage2-4 (2.1/s)
Stamina0.7 (0.5/s)
Accuracy90%%
Cooldown1.4s
Sockets1
In shop No
Grid

Star.png

Star.pngCell.pngStar.png

Star.pngCell.pngStar.png

Star.png

{{Item infobox
|name=Hero Sword
|image=HeroSword.png
|rarity=Epic
|type=Melee Weapon
|cost=50
|class=Ranger
|effect=
* {{icon/star}} items gain 5% critical hit chance for each {{icon/luck}} stack.
* Effect line 2
* Effect line 3
|accuracy=90%
|damage=3-6
|cooldown=2s
|stamina=1.1
|sockets=2
|grid=
-2-
212
212
-2-
}}

Non-weapon example:

Mana Potion
ManaPotion.png
Statistics
RarityRare
TypePotion, Magic
Cost6 Gold
Effect

Mana used or health drops below 50%: Consume this and gain 4 Mana and 15 maximum health.

In shop No
Grid

Star.png

Cell.png

Cell.png

{{Item infobox
|name=Mana Potion
|image=ManaPotion.png
|rarity=Rare
|type=Potion, Magic
|cost=6
|effect='''{{icon/mana}} used or health drops below 50%:''' Consume this and gain 4 {{icon/mana}} and 15 maximum health.
|grid=
2
1
1
}}