模板:二代装备通用模板

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

(修订版本间的差异)
跳转到: 导航, 搜索
(以内容“<div style="vertical-align: top; display: inline-block; margin: .75em; {{{style}}}"> <table style="background:#000; border: 1px solid #2F0600; text-align: center;"><tr>...”创建新页面)
第1行: 第1行:
<div style="vertical-align: top; display: inline-block; margin: .75em; {{{style}}}">
<div style="vertical-align: top; display: inline-block; margin: .75em; {{{style}}}">
-
<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>
+
<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 = FF9900 | blue = 4850b8 | green = 00c400 | gold = cebc86 | white = FFFFFF | yellow = ffff00 | #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>
<div style="clear:both;"><pre>{{二代装备通用模板
<div style="clear:both;"><pre>{{二代装备通用模板
|name        =  
|name        =  

在2011年9月24日 (六) 12:02所做的修订版本

{{{name}}}
{{二代装备通用模板
|name         = 
|style        = {{{style|}}}
|color        = 
|baseitem     = 
|setitem      = 
|uniqueitem   = 
|image        = 
|ingredients  = 
|basestats    = 
|uniquestats  = 
|setstats     = 
|setbonus     = 
|fullsetbonus = 
|hidebaseitem    = {{{hidebaseitem|}}}
|hidesetitem     = {{{hidesetitem|}}}
|hideuniqueitem  = {{{hideuniqueitem|}}}
|hideimage       = {{{hideimage|}}}
|hideingredients = {{{hideingredients|}}}
|hidebasestats   = {{{hidebasestats|}}}
|hideuniquestats = {{{hideuniquestats|}}}
|hidesetstats    = {{{hidesetstats|}}}
}}
INSTRUCTIONS FOR USE
-----------------------
* If no base item exists, leave blank
* 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
个人工具
分享到: 更多
名字空间
变换
动作
网站地图
暗黑破坏神 III
暗黑破坏神 II
暗黑破坏神
工具箱
编辑箱
关于暗黑百科