Difference between revisions of "Template:Skill"

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;" | '''Learned:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Learned}}}
+
| {{!}} &#160;'''Learned:''' {{!!}} {{{Learned}}}
|-
+
|{{#if:{{{Cost|}}}| {{!}} &#160;'''Cost:''' {{!!}} {{{Cost}}} }}
{{#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}}} }}
+
| {{!}} &#160;'''Target:''' {{!!}} {{{Target}}}
|-
+
| {{!}} &#160;'''Type:''' {{!!}} {{{Type}}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Target:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Target}}}
+
|{{#if:{{{Element|}}}| {{!}} &#160;'''Element:''' {{!!}} {{{Element}}} }}
|-
+
}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Type:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Type}}}
 
|-
 
{{#if: {{{Element|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Element:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Element}}} }}
 
|-
 
| colspan=2 style="background: #DDDDEE; padding-left: 20px; padding-right: 20px; text-align: center;" | '''Effect'''
 
|-
 
| colspan=2 style="padding-left: 10px; padding-right: 10px; text-align: justify;" | {{{Effect}}}
 
 
|}
 
|}
</td></tr></table>
 
</td></tr></table>
 
 
{| style="margin-top: 20px;"
 
{| style="margin-top: 20px;"
 
|-
 
|-
{{#if: {{{Picture|}}} | {{1}} {{{Picture}}} }}
+
{{#if:{{{Picture|}}}| {{!}} {{{Picture}}} }}
 
|}
 
|}
  
Line 36: Line 25:
 
|Type =  
 
|Type =  
 
|Element                =  
 
|Element                =  
|Effect =
 
 
|Picture                =  
 
|Picture                =  
 
}}
 
}}

Revision as of 18:06, 24 May 2012

Skill
 Learned: {{{Learned}}}
 Target: {{{Target}}}
 Type: {{{Type}}}


{{Skill
|Icon                   = 
|Learned                = 
|Cost                   = 
|Target                 = 
|Type                   = 
|Element                = 
|Picture                = 
}}