|
|
(2个中途的修订版本没有显示) |
第1行: |
第1行: |
- | | + | <includeonly>{{ {{#if:{{{name|}}} | Item (Diablo II) | 模板:{{{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|}}} | |<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>
| + | |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
| + | --> |
- | * 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> | + | |