模板:Item
出自【暗黑百科】DiabloWiki_凯恩之角
(修订版本间的差异)
人人都是和命运抗争的斗士 (讨论 | 贡献) (清空页面) |
人人都是和命运抗争的斗士 (讨论 | 贡献) |
||
第1行: | 第1行: | ||
+ | <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|}}} | |<br /><span style="font-size: .9em;">{{{baseitem}}}</span>}} }}{{#if: {{{setitem|}}} | {{#if: {{{hidesetitem|}}} | |<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>{{Item | ||
+ | |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 | ||
+ | </pre> | ||
+ | </div> | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
在2011年9月23日 (五) 16:47所做的修订版本
{{{name}}} |
{{Item |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