模板:Item List

出自【暗黑百科】DiabloWiki_凯恩之角

(修订版本间的差异)
跳转到: 导航, 搜索
 
(4个中途的修订版本没有显示)
第1行: 第1行:
<includeonly>{{#ifeq:{{{3|}}} | top |</includeonly>
<includeonly>{{#ifeq:{{{3|}}} | top |</includeonly>
-
{{{!}} class="dftable dfborder sortable" cellpadding="4" style="width: 100%;"
+
{{{!}} class="dftable dfborder " cellpadding="4" style="text-align: center; width: 100%;"
! 名称
! 名称
-
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} DPS
+
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} 秒伤
-
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} DPS
+
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} 秒伤
-
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} Damage
+
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} 伤害
-
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} Damage
+
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} 伤害
-
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} Attacks Per Second
+
! style="{{#if:{{{item_damage_min|}}}      | | display: none; }}" {{!}} 攻速
-
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} Attacks Per Second
+
! style="{{#if:{{{item_damage_min_min|}}}  | | display: none; }}" {{!}} 攻速
-
! style="{{#if:{{{item_armor_min|}}}        | | display: none; }}" {{!}} Armor
+
! style="{{#if:{{{item_armor_min|}}}        | | display: none; }}" {{!}} 护甲
-
! style="{{#if:{{{item_damage_min|}}}      | | {{#if:{{{item_damage_min_min|}}} | | display: none; }} }}" {{!}} Sockets
+
! style="{{#if:{{{item_damage_min|}}}      | | {{#if:{{{item_damage_min_min|}}} | | display: none; }} }}" {{!}} 镶嵌孔
-
! style="{{#if:{{{item_armor_min|}}}        | | display: none; }}" {{!}} Sockets
+
! style="{{#if:{{{item_armor_min|}}}        | | display: none; }}" {{!}} 镶嵌孔
! style="{{#ifexpr:{{{item_durability|}}}>0 | display: none; }}" {{!}} 描述
! style="{{#ifexpr:{{{item_durability|}}}>0 | display: none; }}" {{!}} 描述
! 需求等级
! 需求等级
! 物品等级
! 物品等级
! 来源 <includeonly>}}</includeonly>
! 来源 <includeonly>}}</includeonly>
-
|- style="text-align: right;"<!--
+
|- style="text-align: center;"<!--
-- Name and Coloring ---
-- Name and Coloring ---
-->  
-->  
-
| [[{{{item_name_en}}}|'''<span class="{{#switch:{{{item_rarity|}}} | Common = d3color_white | Normal = d3color_white | Magic = d3color_blue | Rare = d3color_yellow | Legendary = d3color_orange | Set = d3color_green }}">{{{item_name_ch}}}<br>{{{item_name_en}}}</span>''']]<!--
+
| [[{{{item_name_en}}}|'''<span style ="color: {{#switch:{{{item_rarity|}}} | Common = d3color_white | Normal = d3color_white | Magic = d3color_blue | Rare = d3color_yellow | Legendary = d3color_orange | Set = d3color_green }}">{{{item_name_ch}}}<br>{{{item_name_en}}}</span>''']]<!--
--- DPS ---
--- DPS ---
-->
-->
-
| style="{{#if:{{{item_damage_min|}}} | | {{#if:{{{item_damage_min_min|}}} | | display: none;}} }}" |<!--
+
| style="{{#if:{{{item_damage_min|}}} | | {{#if:{{{item_damage_min_min|}}} | | display: none;}} }}" |{{{item_damage_dps}}}
-
-->{{Weapon DPS|<!--
+
-
  -->{{{item_damage_min|}}}|<!--
+
-
  -->{{{item_damage_max|}}}|<!--
+
-
  -->{{{item_damage_min_min|}}}|<!--
+
-
  -->{{{item_damage_max_min|}}}|<!--
+
-
  -->{{{item_damage_min_max|}}}|<!--
+
-
  -->{{{item_damage_max_max|}}}|<!--
+
-
  -->{{{item_speed|}}}|<!--
+
-
  -->{{{item_speed_min|}}}|<!--
+
-
  -->{{{item_speed_max|}}}|<!--
+
-
  -->{{{item_holy_damage_min|}}}|<!--
+
-
  -->{{{item_holy_damage_max|}}}|<!--
+
-
  -->{{{item_fire_damage_min|}}}|<!--
+
-
  -->{{{item_fire_damage_max|}}}|<!--
+
-
  -->{{{item_cold_damage_min|}}}|<!--
+
-
  -->{{{item_cold_damage_max|}}}|<!--
+
-
  -->{{{item_lightning_damage_min|}}}|<!--
+
-
  -->{{{item_lightning_damage_max|}}}|<!--
+
-
  -->{{{item_poison_damage_min|}}}|<!--
+
-
  -->{{{item_poison_damage_max|}}}|<!--
+
-
  -->{{{item_arcane_damage_min|}}}|<!--
+
-
  -->{{{item_arcane_damage_max|}}}|<!--
+
-
  -->{{{item_property1|}}}|<!--
+
-
  -->{{{item_property1_desc|}}}|<!--
+
-
  -->{{{item_property2|}}}|<!--
+
-
  -->{{{item_property2_desc|}}}|<!--
+
-
  -->{{{item_property3|}}}|<!--
+
-
  -->{{{item_property3_desc|}}}|<!--
+
-
  -->{{{item_property4|}}}|<!--
+
-
  -->{{{item_property4_desc|}}}|<!--
+
-
  -->{{{item_property5|}}}|<!--
+
-
  -->{{{item_property5_desc|}}}|<!--
+
-
  -->{{{item_property6|}}}|<!--
+
-
  -->{{{item_property6_desc|}}}|<!--
+
-
  -->{{{item_property7|}}}|<!--
+
-
  -->{{{item_property7_desc|}}}<!--
+
-
-->}}<!--
+
-
 
+
-
--- Damage with two or three damage parameters ---
+
-
-->
+
| style="{{#if:{{{item_damage_min|}}} | | display: none; }}" |<!--
| style="{{#if:{{{item_damage_min|}}} | | display: none; }}" |<!--
  -->{{#if:{{{item_damage_min|}}} |<!--
  -->{{#if:{{{item_damage_min|}}} |<!--

在2012年1月14日 (六) 13:17的最新修订版本

名称 秒伤 秒伤 伤害 伤害 攻速 攻速 护甲 镶嵌孔 镶嵌孔 描述 需求等级 物品等级 来源
[[{{{item_name_en}}}|{{{item_name_ch}}}
{{{item_name_en}}}
]]
{{{item_damage_dps}}} ? ? ? ? ? ? ?  ?  ?  ?


This template displays items in a list format and uses the Data namespace to get the information needed. It should not be used directly but instead used through the Item template.

目录

Limitations

The template can only list items of the same item type. Weapons and armor can thus not be displayed in the same list.

Different item types require different parameters be specified in the data namespace in order for the template to work.

Usage

Simple

{{Item||list}}

Full

{{Item|X|list|top}}

Notes

个人工具
分享到: 更多
名字空间
变换
动作
网站地图
暗黑破坏神 III
暗黑破坏神 II
暗黑破坏神
工具箱
编辑箱
关于暗黑百科