模板:Item infobox:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的30个中间版本) | |||
| 第80行: | 第80行: | ||
-->{{#if:{{#pos:{{lc:{{{type}}}}}|吸血}}|[[Category:吸血]]}}<!-- | -->{{#if:{{#pos:{{lc:{{{type}}}}}|吸血}}|[[Category:吸血]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|blind]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|blind]]}}|[[Category:致盲]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|block]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|block]]}}|[[Category:护甲]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|cold]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|cold]]}}|[[Category:冰冷]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|empower]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|empower]]}}|[[Category:充能]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|heat]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|heat]]}}|[[Category:狂热]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|luck]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|luck]]}}|[[Category:幸运]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|mana]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|mana]]}}|[[Category:魔法]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|poison]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|poison]]}}|[[Category:毒药]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|regeneration]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|regeneration]]}}|[[Category:恢复]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|spikes]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|spikes]]}}|[[Category:尖刺]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|vampirism]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|vampirism]]}}|[[Category:吸血]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|heal]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|heal]]}}|[[Category:治愈]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|battle rage]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|battle rage]]}}|[[Category:狂战士之怒]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|fatigue]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|fatigue]]}}|[[Category:疲惫]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability]]}}|[[Category:无敌]]|{{#if:{{#pos:{{lc:{{{effect}}}}}|invulnerability{{!}}}}|[[Category:无敌]]}}}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|nullify]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|nullify]]}}|[[Category:无效化]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|reflect]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|reflect]]}}|[[Category:反弹]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate]]}}|[[Category:复活]]|{{#if:{{#pos:{{lc:{{{effect}}}}}|reincarnate{{!}}}}|[[Category:复活]]}}}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|resist]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|resist]]}}|[[Category:抵挡]]}}<!-- | ||
-->{{#if:{{#pos:{{lc:{{{effect}}}}}|stun]]}}|[[Category: | -->{{#if:{{#pos:{{lc:{{{effect}}}}}|stun]]}}|[[Category:眩晕]]}} | ||
}}<!-- end ifeq:{{NAMESPACE}} | }}<!-- end ifeq:{{NAMESPACE}} | ||
--><div class="infobox item"><!-- START infobox | --><div class="infobox item"><!-- START infobox | ||
| 第115行: | 第115行: | ||
// statistics | // statistics | ||
--><div class="section statistics"><!-- | --><div class="section statistics"><!-- | ||
--><div class="title"> | --><div class="title">介绍</div><!-- | ||
--><table class="stat"><!-- | --><table class="stat"><!-- | ||
-->{{#if:{{{rarity|}}}|<!-- | -->{{#if:{{{rarity|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th>[[Rarity]]</th><!-- | --><th>[[Rarity|稀有度]]</th><!-- | ||
--><td>[[:Category:{{{rarity}}}|{{{rarity}}}]]</td><!-- | --><td>[[:Category:{{{rarity}}}|{{{rarity}}}]]</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第125行: | 第125行: | ||
-->{{#if:{{{type|}}}|<!-- | -->{{#if:{{{type|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>种类</th><!-- | ||
--><td>{{#arraymap:{{{type|}}}|,|x|[[:Category:x{{!}}x]]}}</td><!-- | --><td>{{#arraymap:{{{type|}}}|,|x|[[:Category:x{{!}}x]]|、}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{cost|}}}|<!-- | -->{{#if:{{{cost|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>花费</th><!-- | ||
--><td>{{{cost|}}}</td><!-- | --><td>{{{cost|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第137行: | 第137行: | ||
-->{{#if:{{{class|}}}|<!-- | -->{{#if:{{{class|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th>[[Characters#Playable_Classes| | --><th>[[Characters#Playable_Classes|角色]]</th><!-- | ||
--><td>{{#arraymap:{{{class|}}}|,|x|[[x]]}}</td><!-- | --><td>{{#arraymap:{{{class|}}}|,|x|[[x]]|、}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{effect|}}}|<!-- | -->{{#if:{{{effect|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>描述</th><!-- | ||
--><td> | --><td> | ||
{{#if:{{#pos:{{lc:{{{type}}}}}|食物}}| | {{#if:{{#pos:{{lc:{{{type}}}}}|食物}}| | ||
{{{effect|}}} | {{{effect|}}} | ||
* {{Tooltip|''' | * {{Tooltip|'''食物''':每有一种{{icon/star}}的食物,触发快10%。(不包括该食物)|这是食物的一项通用描述}} | ||
| | | | ||
{{{effect|}}}<!-- this newline supports lists e.g. <ol>, * Example --> | {{{effect|}}}<!-- this newline supports lists e.g. <ol>, * Example --> | ||
| 第156行: | 第156行: | ||
-->{{#if:{{{damage|}}}|<!-- | -->{{#if:{{{damage|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>伤害</th><!-- | ||
--><td>{{{damage|}}}</td><!-- | --><td>{{{damage|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第162行: | 第162行: | ||
-->{{#if:{{{stamina|}}}|<!-- | -->{{#if:{{{stamina|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>耐力消耗</th><!-- | ||
--><td>{{{stamina|}}}</td><!-- | --><td>{{{stamina|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第168行: | 第168行: | ||
-->{{#if:{{{accuracy|}}}|<!-- | -->{{#if:{{{accuracy|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>命中率</th><!-- | ||
--><td>{{{accuracy|}}}</td><!-- | --><td>{{{accuracy|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第174行: | 第174行: | ||
-->{{#if:{{{cooldown|}}}|<!-- | -->{{#if:{{{cooldown|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>冷却</th><!-- | ||
--><td>{{{cooldown|}}}</td><!-- | --><td>{{{cooldown|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第180行: | 第180行: | ||
-->{{#if:{{{sockets|}}}|<!-- | -->{{#if:{{{sockets|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>宝石孔</th><!-- | ||
--><td>{{{sockets|}}}</td><!-- | --><td>{{{sockets|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第186行: | 第186行: | ||
-->{{#if:{{{inshop|}}}|<!-- | -->{{#if:{{{inshop|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>在商店吗</th><!-- | ||
--><td>{{{inshop|}}}</td><!-- | --><td>{{{inshop|}}}</td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
| 第192行: | 第192行: | ||
-->{{#if:{{{addshop|}}}|<!-- | -->{{#if:{{{addshop|}}}|<!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>加入商店</th><!-- | ||
--><td> | --><td> | ||
{{#arraymap:{{{addshop|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | {{#arraymap:{{{addshop|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | ||
| 第205行: | 第205行: | ||
-->{{#if:{{{grid|}}}|<!-- | -->{{#if:{{{grid|}}}|<!-- | ||
--><div class="section item-grid"><!-- | --><div class="section item-grid"><!-- | ||
--><div class="title"> | --><div class="title">范围</div><!-- | ||
-->{{grid|{{{grid|}}}}}<!-- | -->{{grid|{{{grid|}}}}}<!-- | ||
--></div><!-- div.section.recipes | --></div><!-- div.section.recipes | ||
| 第213行: | 第213行: | ||
-->{{#if:{{{recipefrom|}}}{{{recipeimage|}}}{{#cargo_query:tables=Items|fields=IF(COUNT(1)>0,'Yes',NULL)|where=Items.recipefrom LIKE '%{{{name}}}%'|no html}}|<!-- The #cargo_query part counts if this item is an ingredient for any recipes. | -->{{#if:{{{recipefrom|}}}{{{recipeimage|}}}{{#cargo_query:tables=Items|fields=IF(COUNT(1)>0,'Yes',NULL)|where=Items.recipefrom LIKE '%{{{name}}}%'|no html}}|<!-- The #cargo_query part counts if this item is an ingredient for any recipes. | ||
--><div class="section recipes"><!-- | --><div class="section recipes"><!-- | ||
--><div class="title">[[Recipe]]</div><!-- | --><div class="title">[[Recipe|配方]]</div><!-- | ||
-->{{#if:{{{recipefrom|}}}{{{recipeimage|}}}|<!-- | -->{{#if:{{{recipefrom|}}}{{{recipeimage|}}}|<!-- | ||
--><ul><!-- | --><ul><!-- | ||
| 第227行: | 第227行: | ||
--><table class="stat"><!-- | --><table class="stat"><!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>适用</th><!-- | ||
--><td> | --><td> | ||
{{#cargo_query:tables=Recipes|fields=CONCAT('[[',recipename,']]')|where=ingredients HOLDS '{{{name}}}' OR catalysts HOLDS '{{{name}}}'|group by=recipename}}<!-- | {{#cargo_query:tables=Recipes|fields=CONCAT('[[',recipename,']]')|where=ingredients HOLDS '{{{name}}}' OR catalysts HOLDS '{{{name}}}'|group by=recipename}}<!-- | ||
| 第240行: | 第240行: | ||
-->{{#if:{{{transformfrom|}}}{{{transformimage|}}}{{{transformto|}}}{{{transformcatalyst|}}}|<!-- | -->{{#if:{{{transformfrom|}}}{{{transformimage|}}}{{{transformto|}}}{{{transformcatalyst|}}}|<!-- | ||
--><div class="section recipes"><!-- | --><div class="section recipes"><!-- | ||
--><div class="title">[[Transformation]]</div><!-- | --><div class="title">[[Transformation|变化]]</div><!-- | ||
-->{{#if:{{{transformfrom|}}}{{{transformimage|}}}|<!-- | -->{{#if:{{{transformfrom|}}}{{{transformimage|}}}|<!-- | ||
--><ul><!-- | --><ul><!-- | ||
| 第254行: | 第254行: | ||
--><table class="stat"><!-- | --><table class="stat"><!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>转变为</th><!-- | ||
--><td> | --><td> | ||
{{#arraymap:{{{transformto|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | {{#arraymap:{{{transformto|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | ||
| 第264行: | 第264行: | ||
--><table class="stat"><!-- | --><table class="stat"><!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th> | --><th>催化剂</th><!-- | ||
--><td> | --><td> | ||
{{#arraymap:{{{transformcatalyst|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | {{#arraymap:{{{transformcatalyst|}}}|,|x|[[x]]}}<!-- this newline supports lists e.g. <ol>, * Example | ||
| 第274行: | 第274行: | ||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- 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
}}




