模板:二代怪物模板
出自【暗黑百科】DiabloWiki_凯恩之角
对
模板:二代怪物模板
的源代码
跳转到:
导航
,
搜索
根据以下的原因,您无权限进行编辑这个页面操作:
您刚才请求的操作只有这个用户组中的用户才能使用: Diablowiki
您可以查看并复制此页面的源代码:
<includeonly> <!------------> <!-- HEADER --> <!-- Controls the header that displays in the template. Some cells disappear depending on what is specified in the rest of the template (Preset Attributes, Abilities and Locations). --> {{#ifeq:{{{1|}}} | top | {{{!}} class="dftable dfborder" cellpadding="6" style="height: 100%; width: 100%; text-align: center;" {{!}}- ! rowspan="2" width="15%" {{!}} <span style="font-size: 1.4em; letter-spacing: .10em; font-family: Georgia;">{{#if:{{{breed|}}} | {{{breed}}} | {{{name}}} }}</span><br />{{{type|}}} ! rowspan="2" width="6%" {{!}} [[暗黑2 难度级别|游戏<br>难度]] ! rowspan="2" {{!}} 生命 ! colspan="6" {{!}} [[暗黑2 抗性|各属性抗性]] ! rowspan="2" style="width: 1px;" {{!}} 伤害效果 ! {{#if:{{{superunique|}}} | colspan="2" | rowspan="2" }} {{!}} 出现位置<br> (怪物等级) {{#if:{{{superunique|}}} | | {{#if:{{{presets|}}} | ! rowspan="2" {{!}} 固有<br>属性 }} {{#if:{{{rune|}}} | ! rowspan="2" {{!}} 最高<br>掉落<br>符文 }} }} {{!}}- ! style="width: 2em;" {{!}} <span style="color: blue;">冰</span> ! style="width: 2em;" {{!}} <span style="color: red;">火</span> ! style="width: 2em;" {{!}} <span style="color: yellow;">电</span> ! style="width: 2em;" {{!}} <span style="color: orange;">魔</span> ! style="width: 2em;" {{!}} <span style="color: white;">物</span> ! style="width: 2em;" {{!}} <span style="color: lime;">毒</span> {{#if:{{{superunique|}}} | ! Regular ! [[Champion Monsters (Diablo II)|Champion]]/[[Unique Monsters (Diablo II)|Unique]] }} {{!}}- }} <!-----------------> <!-- NORMAL CELL --> <!-- If no |image is specified, the normal cell will be omitted and only the hell cell displayed. If no |imageN is specified, the template assumes one monster animation is used for all three difficulties. If it is specified, such as for act bosses, all difficulties will get their own image --> {{#if:{{{image|}}} | {{!}} {{#if:{{{imageN|}}} | | {{#if:{{{health|}}} | rowspan="3" {{!}} | {{#if:{{{healthN|}}} | rowspan="2" {{!}} }} }} }} {{{!}} cellpadding="0" cellspacing="0" style="height: 100%; width: 100%;" {{!}} valign="top" style="border-style: none;" {{!}} {{#if:{{{superunique|}}} | {{{name}}} }}<br /> {{!}}- {{!}} style="border-style: none; height: 1px;" {{!}} [[File:{{{image}}}]] {{!}}- {{!}} valign="bottom" style="border-style: none;" {{!}} {{#if:{{{superunique|}}} | [[Super Unique]]: {{{superunique}}} | {{#if:{{{basemonster|}}} | {{{basemonster}}} }} }}<br /> {{!}}} {{#if:{{{health|}}} | {{!}} 普通 {{!}} {{{health}}} {{!}} {{#ifexpr:{{{cold|}}} >= 100 | <span style="color: blue;">{{{cold}}}</span> | {{{cold}}} }} {{!}} {{#ifexpr:{{{fire|}}} >= 100 | <span style="color: red;">{{{fire}}}</span> | {{{fire}}} }} {{!}} {{#ifexpr:{{{lightning|}}} >= 100 | <span style="color: yellow;">{{{lightning}}}</span> | {{{lightning}}} }} {{!}} {{#ifexpr:{{{magic|}}} >= 100 | <span style="color: orange;">{{{magic}}}</span> | {{{magic}}} }} {{!}} {{#ifexpr:{{{physical|}}} >= 100 | <span style="color: white;">{{{physical}}}</span> | {{{physical}}} }} {{!}} {{#ifexpr:{{{poison|}}} >= 100 | <span style="color: lime;">{{{poison}}}</span> | {{{poison}}} }} {{!}} {{{drain}}}% {{!}} {{{location}}} {{#if:{{{superunique|}}} | {{!}} {{{ulocation}}} | {{#if:{{{health|}}} | {{#if:{{{presets|}}} | {{!}} rowspan="3" {{!}} {{{presets}}} }} }} {{#if:{{{rune|}}} | {{!}} {{{rune}}} }} }} {{!}}- }} }} <!--------------------> <!-- NIGHTMARE CELL --> {{#if:{{{healthN|}}} | {{#if:{{{imageN|}}} | {{!}} {{{!}} cellpadding="0" cellspacing="0" style="height: 100%; width: 100%;" {{!}} valign="top" style="border-style: none;" {{!}} <br /> {{!}}- {{!}} style="border-style: none; height: 1px;" {{!}} [[File:{{{imageN}}}]] {{!}}- {{!}} valign="bottom" style="border-style: none;" {{!}} <br /> {{!}}} }} {{!}} 噩梦 {{!}} {{{healthN}}} {{!}} {{#ifexpr:{{{coldN|}}} >= 100 | <span style="color: blue;">{{{coldN}}}</span> | {{{coldN}}} }} {{!}} {{#ifexpr:{{{fireN|}}} >= 100 | <span style="color: red;">{{{fireN}}}</span> | {{{fireN}}} }} {{!}} {{#ifexpr:{{{lightningN|}}} >= 100 | <span style="color: yellow;">{{{lightningN}}}</span> | {{{lightningN}}} }} {{!}} {{#ifexpr:{{{magicN|}}} >= 100 | <span style="color: orange;">{{{magicN}}}</span> | {{{magicN}}} }} {{!}} {{#ifexpr:{{{physicalN|}}} >= 100 | <span style="color: white;">{{{physicalN}}}</span> | {{{physicalN}}} }} {{!}} {{#ifexpr:{{{poisonN|}}} >= 100 | <span style="color: lime;">{{{poisonN}}}</span> | {{{poisonN}}} }} {{!}} {{{drainN}}}% {{!}} {{{locationN}}} {{#if:{{{superunique|}}} | {{!}} {{{ulocationN}}} | {{#if:{{{health|}}} | | {{#if:{{{presets|}}} | {{!}} rowspan="2" {{!}} {{{presets}}} }} }} {{#if:{{{runeN|}}} | {{!}} {{{runeN}}} }} }} {{!}}- }} <!---------------> <!-- HELL CELL --> <!-- If no |image is displayed, only this part shows up. It is designed to accommodate for monsters that only appear in Hell, such as DClone, Lilith and Pit Lords. --> {{#if:{{{imageH|}}} | {{!}} {{{!}} cellpadding="0" cellspacing="0" style="height: 100%; width: 100%;" {{!}} valign="top" style="border-style: none;" {{!}} {{#if:{{{image|}}} | | {{#if:{{{1|}}} | | {{{name}}} }} }}<br /> {{!}}- {{!}} style="border-style: none; height: 1px;" {{!}} [[File:{{{imageH}}}]] {{!}}- {{!}} valign="bottom" style="border-style: none;" {{!}} <br /> {{!}}} }} | 地狱 | {{{healthH}}} | {{#ifexpr:{{{coldH|}}} >= 100 | <span style="color: blue;">{{{coldH}}}</span> | {{{coldH}}} }} | {{#ifexpr:{{{fireH|}}} >= 100 | <span style="color: red;">{{{fireH}}}</span> | {{{fireH}}} }} | {{#ifexpr:{{{lightningH|}}} >= 100 | <span style="color: yellow;">{{{lightningH}}}</span> | {{{lightningH}}} }} | {{#ifexpr:{{{magicH|}}} >= 100 | <span style="color: orange;">{{{magicH}}}</span> | {{{magicH}}} }} | {{#ifexpr:{{{physicalH|}}} >= 100 | <span style="color: white;">{{{physicalH}}}</span> | {{{physicalH}}} }} | {{#ifexpr:{{{poisonH|}}} >= 100 | <span style="color: lime;">{{{poisonH}}}</span> | {{{poisonH}}} }} | {{{drainH}}}% | {{{locationH}}} {{#if:{{{superunique|}}} | {{!}} {{{ulocationH}}} | {{#if:{{{healthN|}}} | | {{#if:{{{presets|}}} | {{!}} {{{presets}}} }} }} {{#if:{{{runeH|}}} | {{!}} {{{runeH}}} }} }} |- </includeonly> <noinclude> This template is used to display [[Diablo II]] monster data. It accomodates regular monsters, superunique monsters and bosses. The formatting is screwed up on this page due to how it is designed. * The topmost monster must have |top added. This causes the table headers to appear. <pre>{{Monster (Diablo II)|top</pre> * Each monster uses a full template. If five monster breeds are to be displayed on the same page, the template needs to be used five times. * |imageN and |imageH are used to display color variations between difficulties for act bosses. They should be left blank for all other types of monsters. * |superunique is used to display what the superunique version of a monster is called. All regular monsters must have this field filled; if no superunique exists, enter "None". * Resists automatically color if they reach 100 or above. * |ulocation is where the champion/unique version of a monster type may spawn. For Super Uniques and Bosses, leave this blank. * |presets refers to Super Unique abilities like [[Spectral Hit]]. * When a page is done, the table must be ended like this: |}. Otherwise a navbox cannot be added to the bottom of the page. <pre> {{Monster (Diablo II) |name = |breed = |type = |image = |imageN = |imageH = |superunique = |basemonster = |health = |healthN = |healthH = |physical = |magic = |fire = |lightning = |cold = |poison = |physicalN = |magicN = |fireN = |lightningN = |coldN = |poisonN = |physicalH = |magicH = |fireH = |lightningH = |coldH = |poisonH = |drain = |drainN = |drainH = |location = |locationN = |locationH = |ulocation = |ulocationN = |ulocationH = |presets = |rune = |runeN = |runeH = }}</pre>[[Category:Monster Templates]]</noinclude>
返回到
模板:二代怪物模板
。
个人工具
分享到:
更多
登录
名字空间
模板
讨论
变换
查看
阅读
查看源代码
查看历史
动作
搜索
网站地图
暗黑百科首页
百科分类列表
玻璃渣首页
凯恩之角首页
凯恩之角社区
最近更改
随机页面
百科帮助
暗黑破坏神 III
首页
职业
技能
区域
物品
任务
怪物
成就
传说
人物
NPC
游戏系统
暴雪娱乐
暗黑破坏神 II
首页
基础
物品
职业
技能
区域
怪物
任务
NPC
暗黑破坏神
首页
职业
技能
区域
物品
怪物
任务
NPC
工具箱
链入页面
链出更改
特殊页面
编辑箱
快捷栏编辑
侧边栏编辑
关于暗黑百科
版权信息
免责声明
百科编辑组
联系我们