模板:Item infobox:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的8个中间版本) | |||
第24行: | 第24行: | ||
|grid={{{grid|}}} | |grid={{{grid|}}} | ||
|tags={{#if:{{{effect|}}}|{{#replace:{{#replace:@@<!-- | |tags={{#if:{{{effect|}}}|{{#replace:{{#replace:@@<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|blind]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|blind]]}}|,Blind}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|block]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|block]]}}|,Block}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|cold]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|cold]]}}|,Cold}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|empower]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|empower]]}}|,Empower}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|heat]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|heat]]}}|,Heat}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|luck]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|luck]]}}|,Luck}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|mana]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|mana]]}}|,Mana}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|poison]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|poison]]}}|,Poison}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|regeneration]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|regeneration]]}}|,Regeneration}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|spikes]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|spikes]]}}|,Spikes}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|vampirism]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|vampirism]]}}|,Vampirism}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|heal]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|heal]]}}|,Heal}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|battle rage]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|battle rage]]}}|,Battle Rage}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|fatigue]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|fatigue]]}}|,Fatigue}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability]]}}|,Invulnerability|{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability{{!}}}}|,Invulnerability}}}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|nullify]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|nullify]]}}|,Nullify}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|reflect]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|reflect]]}}|,Reflect}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate]]}}|,Reincarnate|{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate{{!}}}}|,Reincarnate}}}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|resist]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|resist]]}}|,Resist}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|stun]]}}|, | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|stun]]}}|,Stun}}<!-- | ||
-->|@@,|}}|@|}}}} | -->|@@,|}}|@|}}}} | ||
}}<!-- end cargo_store --><!-- | }}<!-- end cargo_store --><!-- | ||
第274行: | 第274行: | ||
-->}}<!-- | -->}}<!-- | ||
--></div>{{#seo: title={{PAGENAME}} - 17173背包乱斗Wiki资料大全|keywords={{PAGENAME}},背包乱斗物品图片,背包乱斗配方,背包乱斗版本历史,背包乱斗:福西法的宝藏,Backpack Battles|description={{PAGENAME}}的描述是{{{effect|}}}...。查询背包乱斗:福西法的宝藏 Backpack Battles 详细资料,可以到17173背包乱斗Wiki查询}}<!-- END div.infobox | --></div>{{#seo: title={{PAGENAME}} - 17173背包乱斗Wiki资料大全 - 17173WIKI百科|keywords={{PAGENAME}},背包乱斗物品图片,背包乱斗配方,背包乱斗版本历史,背包乱斗:福西法的宝藏,Backpack Battles|description={{PAGENAME}}的描述是{{{effect|}}}...。查询背包乱斗:福西法的宝藏 Backpack Battles 详细资料,可以到17173背包乱斗Wiki查询}}<!-- END div.infobox | ||
--></includeonly><!-- | --></includeonly><!-- |
2024年4月9日 (二) 10:43的最新版本
此模板定义表格“Items”。 查看表格.
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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
介绍
稀有度 | Epic |
---|---|
种类 | Melee Weapon |
花费 | 50 |
角色 | Ranger |
描述 | |
伤害 | 3-6 |
耐力消耗 | 1.1 |
命中率 | 90% |
冷却 | 2s |
宝石孔 | 2 |
{{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
{{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 }}