Difference between revisions of "Template:Monster"

From NEStalgia
Jump to: navigation, search
(Removed the alignment and reduced the style to something less distracting.)
(Removed all of the extra style, and implemented alternating rows, so it should look very close to the Wikipedia infobox. I will need to check it for bugs though before editing the other templates.)
Line 1: Line 1:
{| width="400px" cellspacing="5" cellpadding="1" style="background: #f9f9f9; border: 1px solid darkgray; text-align: center; font-size:15px; font-family:'Garamond', Garamond, monospace;"
+
{| width="400px" style="background: #f9f9f9; border-collapse:collapse; border: 1px solid darkgray; text-align: left;"
 
|-
 
|-
| colspan="2" style="background: #0F1964; color: white; padding: 5px 20px; font-size: 25px; font-weight: bolder;" |{{BASEPAGENAME}}
+
! colspan="2"| <font size=2>'''{{BASEPAGENAME}}'''</font>
 
|-
 
|-
| colspan="2" style="background: black; padding: 20px;" | [[Image:{{{Picture}}} | 400x300px]]
+
| colspan="2"| <center>[[Image:{{{Picture}}} | 400x300px]]</center>
|-
+
{{Alternating rows table section|es=background:#f0f0f0;
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''HP:''' || style="padding-left: 10px; padding-right: 10px;" | {{{HP}}}
+
| {{!}} &#160;'''HP:''' {{!!}} {{{HP}}}
|-
+
| {{!}} &#160;'''MP:''' {{!!}} {{{MP}}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''MP:''' || style="padding-left: 10px; padding-right: 10px;" | {{{MP}}}
+
|{{#if:{{{Element|}}}| {{!}} &#160;'''Element:''' {{!!}} {{{Element}}} }}
|-
+
| {{!}} &#160;'''Gold:''' {{!!}} {{{GP}}}
{{#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}}} }}
+
| {{!}} &#160;'''Experience:''' {{!!}} {{{EXP}}}
|-
+
|{{#if:{{{Rep Rank Required|}}}| {{!}} &#160;'''Rep Rank Required:''' {{!!}} {{{Rep Rank Required}}} }}
{{#if: {{{Spell|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Abilities:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Spell}}} }}
+
| {{!}} &#160;'''Found:''' {{!!}} {{{Where}}}
|-
+
}}
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Gold:''' || style="padding-left: 10px; padding-right: 10px;" | {{{GP}}}
 
|-
 
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Experience:''' || style="padding-left: 10px; padding-right: 10px;" | {{{EXP}}}  
 
|-
 
{{#if: {{{Rep Rank Required|}}} | {{1}} style="padding-left: 10px; padding-right: 10px; text-align: left;" {{1}} '''Rep Rank Required:''' {{1}}{{1}} style="padding-left: 10px; padding-right: 10px;" {{1}} {{{Rep Rank Required}}} }}
 
|-
 
| style="padding-left: 10px; padding-right: 10px; text-align: left;" | '''Found:''' || style="padding-left: 10px; padding-right: 10px;" | {{{Where}}}
 
|-
 
{{#if: {{{Info|}}} | {{1}} colspan="2" style="background: #DDDDEE; padding-left: 20px; padding-right: 20px; text-align: center;" {{1}} '''Additional Information''' }}
 
|-
 
{{#if: {{{Info|}}} | {{1}} colspan="2" style="padding-left: 10px; padding-right: 10px; text-align: justify;" {{1}} {{{Info}}} }}
 
 
|}
 
|}
  
Line 34: Line 23:
 
|MP                    =  
 
|MP                    =  
 
|Element                =  
 
|Element                =  
|Spell                  =
 
 
|GP                    =  
 
|GP                    =  
 
|EXP                    =  
 
|EXP                    =  
 
|Rep Rank Required      =  
 
|Rep Rank Required      =  
 
|Where                  =  
 
|Where                  =  
|Info                  =
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>

Revision as of 10:33, 24 May 2012

Monster
[[Image:{{{Picture}}} | 400x300px]]
 HP: {{{HP}}}
 MP: {{{MP}}}
 Gold: {{{GP}}}
 Experience: {{{EXP}}}
 Found: {{{Where}}}


{{Monster
|Picture                = 
|HP                     = 
|MP                     = 
|Element                = 
|GP                     = 
|EXP                    = 
|Rep Rank Required      = 
|Where                  = 
}}