Difference between revisions of "Template:Armor"

From NEStalgia
Jump to: navigation, search
(Right aligned template and changed the font to something less ugly.)
(Removed the extra style and implemented alternating rows.)
Line 1: Line 1:
<table align="right" cellspacing="0" cellpadding="0" style="border: 1px solid #000000;"><tr><td>
+
{| width="400px" style="background: #f9f9f9; border-collapse:collapse; border: 1px solid darkgray; text-align: left;"
<table cellspacing="0" cellpadding="0" style="border: 2px solid #969696;"><tr><td>
 
{| width="400px" cellspacing="2" cellpadding="1" style="border: 2px solid #000000; text-align: center; font-size:15px; font-family:'Garamond', Garamond, monospace;"
 
 
|-
 
|-
| colspan=2 style="background: #0F1964; color: white; padding: 0 20px; line-height: 1em; font-size: 25px; font-weight: bolder;" | {{#if: {{{Icon|}}} | [[image:{{{Icon}}}]] }} {{BASEPAGENAME}}
+
! colspan="2" style="padding-bottom:10px;"| <center>{{#if:{{{Icon|}}}| [[image:{{{Icon}}}]] }} <font size=2>'''{{BASEPAGENAME}}'''</font></center>
|-
+
{{Alternating rows table section|os=background:#f0f0f0;
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Level:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Level}}}
+
| {{!}} &#160;'''Level:''' {{!!}} {{{Level}}}
|-
+
| {{!}} &#160;'''Type:''' {{!!}} {{{Type}}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Type:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Type}}}
+
| {{!}} &#160;'''Classes:''' {{!!}} {{{Classes}}}
|-
+
| {{!}} &#160;'''Defense:''' {{!!}} {{{Defense}}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Classes:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Classes}}}
+
|{{#if:{{{Bonus|}}}| {{!}} &#160;'''Bonus:''' {{!!}} {{{Bonus}}} }}
|-
+
|{{#if:{{{Ability|}}}| {{!}} &#160;'''Ability:''' {{!!}} {{{Ability}}} }}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Defense:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Defense}}}
+
| {{!}} &#160;'''Binding:''' {{!!}} {{{Binding}}}
|-
+
|{{#if:{{{Sold|}}}| {{!}} &#160;'''Sold:''' {{!!}} {{{Sold}}} }}
{{#if: {{{Bonus|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Bonus:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Bonus}}} }}
+
|{{#if:{{{Cost|}}}| {{!}} &#160;'''Cost:''' {{!!}} {{{Cost}}} }}
|-
+
|{{#if:{{{Quest|}}}| {{!}} &#160;'''Quest:''' {{!!}} {{{Quest}}} }}
{{#if: {{{Ability|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Ability:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Ability}}} }}
+
|{{#if:{{{Chest|}}}| {{!}} &#160;'''Chest:''' {{!!}} {{{Chest}}} }}
|-
+
|{{#if:{{{Drops|}}}| {{!}} &#160;'''Drops:''' {{!!}} {{{Drops}}} }}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Binding:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Binding}}}
+
| {{!}} &#160;'''Rarity:''' {{!!}} {{{Rarity}}}
|-
+
|{{#if:{{{Set|}}}| {{!}} &#160;'''Set:''' {{!!}} {{{Set}}} }}
{{#if: {{{Sold|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Sold:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Sold}}} }}
+
}}
|-
 
{{#if: {{{Cost|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Cost:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Cost}}} }}
 
|-
 
{{#if: {{{Quest|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Quest:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Quest}}} }}
 
|-
 
{{#if: {{{Chest|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Chest:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Chest}}} }}
 
|-
 
{{#if: {{{Drops|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Drops:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Drops}}} }}
 
|-
 
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Rarity:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Rarity}}}
 
|-
 
{{#if: {{{Set|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Set:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Set}}} }}
 
 
|}
 
|}
</td></tr></table>
 
</td></tr></table>
 
  
 
<noinclude>
 
<noinclude>

Revision as of 14:13, 24 May 2012

Armor
 Level: {{{Level}}}
 Type: {{{Type}}}
 Classes: {{{Classes}}}
 Defense: {{{Defense}}}
 Binding: {{{Binding}}}
 Rarity: {{{Rarity}}}


{{Armor
|Icon                   = 
|Level                  = 
|Type                   = 
|Classes                = 
|Defense                = 
|Bonus                  = 
|Ability                = 
|Binding                = 
|Sold                   = 
|Cost                   = 
|Quest                  = 
|Chest                  = 
|Drops                  = 
|Rarity                 = 
|Set                    = 
}}