模板:Item infobox/doc:修订间差异

(创建页面,内容为“==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 <code>tags</code> field. These detect page links (e.…”)
 
(已保护“模板:Item infobox/doc”([编辑=仅允许管理员](无限期)))
 

2024年4月3日 (三) 16:18的最新版本

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, Cold, 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=
|image=
|rarity=
|type=
|cost=
|class=
|effect=
|accuracy=
|damage=
|cooldown=
|stamina=
|sockets=
|recipefrom=
|recipeimage=
|recipecost=
|grid=
}}

Weapon example:

My Sword
HeroSword.png
介绍
稀有度Epic
种类Melee Weapon
花费50
角色Ranger
描述
  • Star items gain 5% critical hit chance for each Luck stack.
  • Effect line 2
  • Effect line 3
伤害3-6
耐力消耗1.1
命中率90%
冷却2s
宝石孔2
范围

Star.png

Star.pngCell.pngStar.png

Star.pngCell.pngStar.png

Star.png

{{Item infobox
|name=My 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
|recipefrom=[[Wooden Sword]] + [[Whetstone]]
|recipeimage=Hero Sword recipe.png
|recipecost=7 (3+4)
|grid=
-2-
212
212
-2-
}}

Non-weapon example:

Mana Potion
Mana Potion item.png
介绍
稀有度Rare
种类PotionMagic
花费6
描述

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

范围

Star.png

Cell.png

Cell.png

{{Item infobox
|name=Mana Potion
|image=Mana Potion item.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.
|recipefrom=[[Health Potion]] + [[Blueberries]]
|recipeimage=Mana Potion recipe.png
|recipecost=6 (4+2)
|grid=
2
1
1
}}