模板:Monsters (Diablo2)

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

(修订版本间的差异)
跳转到: 导航, 搜索
 
(1个中途的修订版本没有显示)
第1行: 第1行:
-
<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="1%" {{!}} {{2|Difficulty}}
 
-
! rowspan="2" {{!}} Health
 
-
! colspan="6" {{!}} [[Damage Reduction#Monster Resistances|Resistances]]
 
-
! rowspan="2" style="width: 1px;" {{!}} Drain Effectiveness
 
-
! {{#if:{{{superunique|}}} | colspan="2" | rowspan="2" }} {{!}} Locations (Monster Level)
 
-
{{#if:{{{superunique|}}} | |
 
-
{{#if:{{{presets|}}} | ! rowspan="2" {{!}} Preset Attributes }}
 
-
{{#if:{{{rune|}}} | ! rowspan="2" {{!}} Highest Rune Drop }} }}
 
-
{{!}}-
 
-
! style="width: 2em;" {{!}} <span style="color: blue;">C</span>
 
-
! style="width: 2em;" {{!}} <span style="color: red;">F</span>
 
-
! style="width: 2em;" {{!}} <span style="color: yellow;">L</span>
 
-
! style="width: 2em;" {{!}} <span style="color: orange;">M</span>
 
-
! style="width: 2em;" {{!}} <span style="color: white;">Phy</span>
 
-
! style="width: 2em;" {{!}} <span style="color: lime;">Psn</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|}}} |
 
-
{{!}} Normal
 
-
{{!}} {{{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 />
 
-
{{!}}} }}
 
-
{{!}} Nightmare
 
-
{{!}} {{{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 />
 
-
{{!}}} }}
 
-
| Hell
 
-
| {{{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.
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.
* The topmost monster must have |top added. This causes the table headers to appear.
第117行: 第10行:
* When a page is done, the table must be ended like this: |}. Otherwise a navbox cannot be added to the bottom of the page.
* 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>
<pre>
-
{{Monster (Diablo II)
+
{{Monster  
|name        =  
|name        =  
第167行: 第60行:
|runeH      =  
|runeH      =  
-
}}</pre>[[Category:Monster Templates]]</noinclude>
+
}}</pre>[[Category:Monster Templates]]

在2011年10月1日 (六) 12:47的最新修订版本

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.

{{Monster (Diablo II)|top
{{Monster 

|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       = 

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