模板:Item

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

(修订版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
-
 
+
<includeonly>{{ {{#if:{{{name|}}} | Item (Diablo II) | Data:Items/{{{1}}} }}
-
<div style="vertical-align: top; display: inline-block; margin: .75em; {{{style}}}">
+
|2={{{2}}}
-
<table style="background:#000; border: 1px solid #2F0600; text-align: center;"><tr><td style="background:#2F0600; height: 70px; padding: .25em;"><span style="color: #{{#switch:{{{color}}}| orange = FFA500 | blue = 4169E1 | green = 00FF00 | gold = A59263 | white = CCCCCC | yellow = CCCC52 | #default =  }}; font-size: 1.4em; letter-spacing: .15em; margin: .25em; font-family: Georgia;">{{{name}}}</span>{{#if: {{{baseitem|}}} | {{#if: {{{hidebaseitem|}}} | &nbsp; |<br /><span style="font-size: .9em;">{{{baseitem}}}</span>}} }}{{#if: {{{setitem|}}} | {{#if: {{{hidesetitem|}}} | &nbsp; |<br /><span style="color:#00FF00; font-size: .9em;">Set: {{{setitem}}}</span>}} }}{{#if: {{{uniqueitem|}}} | {{#if:{{{hideuniqueitem|}}} | |<br /><span style="color:#A59263; font-size: .9em;">Unique: {{{uniqueitem}}}</span>}} }}</td></tr><tr style="height: .75em;"><td></td></tr><tr style="vertical-align: top;"><td>{{#if: {{{hideimage|}}} | | {{#if: {{{image|}}} | [[Image:{{{image}}}|center]]<br />}} }}{{#if:{{{hideingredients|}}}| |{{#if: {{{ingredients|}}} |<span style="font-size: .9em;">{{{ingredients}}}</span><br />}} }}{{#if:{{{hidebasestats|}}} | | {{#if: {{{basestats|}}} |<span style="color: #CCCCCC; font-size: .9em;">{{{basestats}}}</span><br />}} }}{{#if: {{{hideuniquestats|}}} | | {{#if: {{{uniquestats|}}} |<span style="color:#4169E1;">{{{uniquestats}}}</span><br />}} }}{{#if: {{{hidesetstats|}}} | | {{#if: {{{setstats|}}} |<span style="color:#00FF00;">{{{setstats}}}</span>}} }}{{#if:{{{setbonus|}}}|<span style="color:#00FF00;">Partial Set Bonuses</span><br /><span style="color:#A59263;">{{{setbonus}}}</span><br />}}{{#if:{{{fullsetbonus|}}}|<span style="color:#00FF00;">Full Set Bonuses</span><br /><span style="color:#A59263;">{{{fullsetbonus}}}</span>}}</td></tr></table></div><noinclude>
+
|3={{{3}}}
-
<div style="clear:both;"><pre>{{Item
+
|name        = {{{name|}}}
-
|name        =
+
|style        = {{{style|}}}
|style        = {{{style|}}}
-
|color        =  
+
|color        = {{{color|}}}
-
|baseitem    =  
+
|baseitem    = {{{baseitem|}}}
-
|setitem      =  
+
|setitem      = {{{setitem|}}}
-
|uniqueitem  =  
+
|uniqueitem  = {{{uniqueitem|}}}
-
|image        =  
+
|image        = {{{image|}}}
-
|ingredients  =  
+
|ingredients  = {{{ingredients|}}}
-
|basestats    =  
+
|basestats    = {{{basestats|}}}
-
|uniquestats  =  
+
|uniquestats  = {{{uniquestats|}}}
-
|setstats    =  
+
|setstats    = {{{setstats|}}}
-
|setbonus    =  
+
|setbonus    = {{{setbonus|}}}
-
|fullsetbonus =  
+
|fullsetbonus = {{{fullsetbonus|}}}
|hidebaseitem    = {{{hidebaseitem|}}}
|hidebaseitem    = {{{hidebaseitem|}}}
|hidesetitem    = {{{hidesetitem|}}}
|hidesetitem    = {{{hidesetitem|}}}
第24行: 第23行:
|hideuniquestats = {{{hideuniquestats|}}}
|hideuniquestats = {{{hideuniquestats|}}}
|hidesetstats    = {{{hidesetstats|}}}
|hidesetstats    = {{{hidesetstats|}}}
-
}}
+
 
-
INSTRUCTIONS FOR USE
+
}}</includeonly><noinclude>[[Category:Templates]]</noinclude><!--
-
-----------------------
+
 
-
* If no base item exists, leave blank
+
--><noinclude>{{docStart|nodoc=1}}</noinclude>
-
* Suffix each stat with <br />
+
-
* Style can be used to add properties to the table, such as right-align
+
-
* Colors are: blue, gold, green, orange, white and yellow
+
-
* Baseitem and setitem/uniqueitem should never be used in the same item template
+
-
* Setbonus and fullsetbonus are meant for partial and full set bonuses
+
-
* Hide parameters hides specific parts of the template on target pages.
+
-
** If creating a base template, copy and leave as is
+
-
** If you want to use an item in an article, change to a 1 to hide the field
+
-
</pre>
+
-
</div>
+
-
[[Category:Templates]]
+
-
</noinclude>
+

在2012年1月14日 (六) 09:13所做的修订版本

Documentation
[purge ]
This template has no documentation. When adding some please use

( docStart ) at the start of your documentation and ( docEnd

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