Difference between revisions of "Template:StatBox"

From Fallen Sword Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><center>
+
<includeonly>{| cellpadding="0" cellspacing="0"
{| cellpadding="0" cellspacing="0"
+
| align="center" valign="middle" width="60px" height="90" |
| align="center" valign="middle" width="60px" height="90" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/2x3.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
<div style="position:relative; left:0px; top:0px; background:transparent;">
 +
http://66.7.192.165/inventory/2x3.gif
 +
<div style="position:absolute; left:0px; top:0px; background:transparent;">
 
{| style="background:transparent" cellpadding="0" cellspacing="0"
 
{| style="background:transparent" cellpadding="0" cellspacing="0"
| align="center" valign="middle" width="60px" height="90" | {{{image|}}}
+
| align="center" valign="middle" width="60px" height="90" | <span class="plainlinks">[{{fullurl:{{{name|{{FULLPAGENAME}}}}}}} {{{image|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
</div><div style="position:absolute; left:0px; top:0px; background:transparent;">
+
</div>
{| width="{{{width|200px}}}" style="{{{table-css|background:transparent;font-size:7pt;color:#fff;}}}" cellpadding="0" cellspacing="1" class="collapsible collapsed"
+
<div style="position:absolute; left:0px; top:0px; background:transparent;">
! align="center" valign="middle" width="60px" | &nbsp;
+
{| width="{{{width|460px}}}" cellspacing="2" style="{{{table-css|background:transparent;font-size:7pt;color:#fff;}}}" cellpadding="0" cellspacing="1" class="collapsible collapsed"
! align="center" valign="middle" width="140px"  | &nbsp;
+
! align="center" valign="top" width="60px" | &nbsp;
|-
+
! align="center" valign="top" width="{{#expr:{{{width|460}}}-60}}px"  | &nbsp;
| &nbsp;
+
| align="center" style="{{{title-css|background-color:#000;}}}" | <span style="{{{name-css|font-size:8pt;}}}">'''[[{{{name|}}}]]'''</span><br>Crafted: {{{craft|N/A}}}
+
 
|-
 
|-
 
| &nbsp;
 
| &nbsp;
 
|
 
|
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
+
{| width="100%" style="border:1px solid #666666; background-color:#222222; color:#ffffff;"
| align="left" width="125px" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Attack]]:
+
| align="center" style="font-size:8pt;" | {{#if: {{{name|0}}} <> 0 | <span style="font-size:10pt;">'''[[{{{name}}}|<span style="{{#switch: {{lc:{{{rarity}}}}}
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{attack|0}}}}}</tt>
+
| rare = #00ffe2;
 +
| unique = #df00b0
 +
| legendary = #ffe900;
 +
| super elite = #ff0000;
 +
| crystalline = #df00b0;
 +
| epic = #23f711;
 +
|
 +
}}">{{{name}}}]]'''</span><br> | Unknown Item<br> }}{{{rarity}}}{{#if: {{{craft|0}}} <> 0 | &nbsp;-&nbsp;{{#switch: {{lc:{{{craft}}}}}
 +
| uncrafted = <span style="color:#999999;">Uncrafted</span>
 +
| very poor = <span style="color:#990000;">Very Poor</span>
 +
| poor = <span style="color:#bb0000;">Poor</span>
 +
| average = <span style="color:#dd0000;">Average</span>
 +
| good = <span style="color:#dd3300;">Good</span>
 +
| very good = <span style="color:#dd6600;">Very Good</span>
 +
| excellent = <span style="color:#dd9900;">Excellent</span>
 +
| perfect = <span style="color:#dddd00;">Perfect</span>
 +
|
 +
}} | }}<br>
 +
{| width="100%" cellpadding="0" cellspacing="0" style="font-size:8pt;background-color:transparent; border-top:1px solid #666666; border-bottom:1px solid #666666;"
 +
| valign="top" width="{{#ifeq: {{{set}}} | {{#expr: ({{{width|460}}}-60)/3}}px | {{#expr: ({{{width|460}}}-60)/2}}px }}" style="background-color:transparent;margin-left:3px;margin-right:3px;" |
 +
{| width="95%" cellspacing="0" cellpadding="0" style="background-color:transparent;font-size:8pt;color:#fff"
 +
| align="center" colspan="2" | Bonuses
 +
{{#ifeq: {{{stat-1|0}}} | 0 || {{StatBoxStat|stat={{{stat-1|}}}|value={{{stat-1-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-2|0}}} | 0 | {{#ifeq: {{{stat-1|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-2|}}}|value={{{stat-2-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-3|0}}} | 0 | {{#ifeq: {{{stat-2|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-3|}}}|value={{{stat-3-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-4|0}}} | 0 | {{#ifeq: {{{stat-3|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-4|}}}|value={{{stat-4-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-5|0}}} | 0 | {{#ifeq: {{{stat-4|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-5|}}}|value={{{stat-5-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-6|0}}} | 0 | {{#ifeq: {{{stat-5|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-6|}}}|value={{{stat-6-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-7|0}}} | 0 | {{#ifeq: {{{stat-6|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-7|}}}|value={{{stat-7-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-8|0}}} | 0 | {{#ifeq: {{{stat-7|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-8|}}}|value={{{stat-8-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-9|0}}} | 0 | {{#ifeq: {{{stat-8|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{stat-9|}}}|value={{{stat-9-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{stat-9|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}
 +
| valign="top" width="{{#ifeq: {{{set}}} | {{#expr: ({{{width|460}}}-60)/3}}px | {{#expr: ({{{width|460}}}-60)/2}}px }}" style="background-color:transparent;margin-left:3px;margin-right:3px;" |
 +
{| width="95%" cellspacing="0" cellpadding="0" style="background-color:transparent;font-size:8pt;color:#fff"
 +
| align="center" colspan="2" | Enhancements
 +
{{#ifeq: {{{enhancement-1|0}}} | 0 | {{StatBoxNoEnh}}
 +
{{!end}} | {{StatBoxStat|stat={{{enhancement-1|}}}|value={{{enhancement-1-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-2|0}}} | 0 | {{#ifeq: {{{enhancement-1|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-2|}}}|value={{{enhancement-2-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-3|0}}} | 0 | {{#ifeq: {{{enhancement-2|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-3|}}}|value={{{enhancement-3-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-4|0}}} | 0 | {{#ifeq: {{{enhancement-3|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-4|}}}|value={{{enhancement-4-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-5|0}}} | 0 | {{#ifeq: {{{enhancement-4|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-5|}}}|value={{{enhancement-5-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-6|0}}} | 0 | {{#ifeq: {{{enhancement-5|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-6|}}}|value={{{enhancement-6-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-7|0}}} | 0 | {{#ifeq: {{{enhancement-6|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-7|}}}|value={{{enhancement-7-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-8|0}}} | 0 | {{#ifeq: {{{enhancement-7|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-8|}}}|value={{{enhancement-8-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-9|0}}} | 0 | {{#ifeq: {{{enhancement-8|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-9|}}}|value={{{enhancement-9-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-10|0}}} | 0 | {{#ifeq: {{{enhancement-9|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-10|}}}|value={{{enhancement-10-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-11|0}}} | 0 | {{#ifeq: {{{enhancement-10|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-11|}}}|value={{{enhancement-11-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-12|0}}} | 0 | {{#ifeq: {{{enhancement-11|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-12|}}}|value={{{enhancement-12-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-13|0}}} | 0 | {{#ifeq: {{{enhancement-12|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-13|}}}|value={{{enhancement-13-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-14|0}}} | 0 | {{#ifeq: {{{enhancement-13|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-14|}}}|value={{{enhancement-14-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-15|0}}} | 0 | {{#ifeq: {{{enhancement-14|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-15|}}}|value={{{enhancement-15-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-16|0}}} | 0 | {{#ifeq: {{{enhancement-15|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-16|}}}|value={{{enhancement-16-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-17|0}}} | 0 | {{#ifeq: {{{enhancement-16|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-17|}}}|value={{{enhancement-17-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-18|0}}} | 0 | {{#ifeq: {{{enhancement-17|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-18|}}}|value={{{enhancement-18-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-19|0}}} | 0 | {{#ifeq: {{{enhancement-18|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-19|}}}|value={{{enhancement-19-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-20|0}}} | 0 | {{#ifeq: {{{enhancement-19|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-20|}}}|value={{{enhancement-20-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-21|0}}} | 0 | {{#ifeq: {{{enhancement-20|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-21|}}}|value={{{enhancement-21-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-22|0}}} | 0 | {{#ifeq: {{{enhancement-21|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-22|}}}|value={{{enhancement-22-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-23|0}}} | 0 | {{#ifeq: {{{enhancement-22|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-23|}}}|value={{{enhancement-23-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-24|0}}} | 0 | {{#ifeq: {{{enhancement-23|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-24|}}}|value={{{enhancement-24-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-25|0}}} | 0 | {{#ifeq: {{{enhancement-24|0}}} | 0 ||{{!end}}}} | {{StatBoxStat|stat={{{enhancement-25|}}}|value={{{enhancement-25-value|0}}}|stat-name-style=color:#999999;}}
 +
{{#ifeq: {{{enhancement-25|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
 +
| align="center" width="{{#ifeq: {{{set}}} | {{#expr: ({{{width|460}}}-60)/3}}px | 0px }}" valign="top" style="background-color:transparent;text-align:center;" | {{#ifeq: {{{set|0}}} | 0 || <span style="color:#ffffff">Set Details</span><br>{{#ifeq: {{{set-item-1|No}}} | No || [[{{{set-item-1|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-2|No}}} | No || [[{{{set-item-2|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-3|No}}} | No || [[{{{set-item-3|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-4|No}}} | No || [[{{{set-item-4|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-5|No}}} | No || [[{{{set-item-5|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-6|No}}} | No || [[{{{set-item-6|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-7|No}}} | No || [[{{{set-item-7|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-8|No}}} | No || [[{{{set-item-8|{{none}}}}}]]<br>}}{{#ifeq: {{{set-item-9|No}}} | No || [[{{{set-item-9|{{none}}}}}]]}}}}
 
|}
 
|}
 
|-
 
|-
| &nbsp;
+
|  
|
+
{| width="{{#expr: ({{{width|460}}}-60)-6}}px }}" cellspacing="0" cellpadding="0" style="background-color:transparent; font-size:8pt; margin-left:3px; margin-right:3px;{{#if: {{{guild|0}}} <> 0 | border-bottom:1px solid #666666; | }}{{#if: {{{forge-level|0}}} <> 0 | border-bottom:1px solid #666666; | }}"
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
+
| align="left" | <span style="color:#999999;">Min Level:</span>
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Defense]]:
+
| align="right" | <span style="color:#ffffff;">{{{level|0}}}</span>
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{defense|0}}}}}</tt>
+
|}
+
 
|-
 
|-
| &nbsp;
+
| align="left" | <span style="color:#999999;">Durability:</span>
|
+
| align="right" | <span style="color:#ffffff;">{{{durability|0}}}</span>
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
+
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Armor]]:
+
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{armor|0}}}}}</tt>
+
 
|}
 
|}
 
|-
 
|-
| &nbsp;
+
| align="center" | {{#if: {{{forge-level|0}}} <> 0 | {{#switch: {{lc:{{{forge-level}}}}}
|
+
| 1 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged1}}<br>
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
+
| 2 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged2}}<br>
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[HP]]:
+
| 3 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged3}}<br>
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{hp|0}}}}}</tt>
+
| 4 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged4}}<br>
 +
| 5 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged5}}<br>
 +
|
 +
}} | }}
 +
{{#if: {{{guild|0}}} <> 0 | <span style="color:#ffffff;font-size:8pt;">Guild Locked:&nbsp;</span><span style="color:#23f711;font-size:8pt;">{{{guild|}}}</span> | }}
 
|}
 
|}
|-
 
| &nbsp;
 
|
 
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
 
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Damage]]:
 
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{damage|0}}}}}</tt>
 
|}
 
|-
 
| &nbsp;
 
|
 
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
 
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Stamina]]:
 
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{stamina|0}}}}}</tt>
 
|}
 
|-
 
| &nbsp;
 
|
 
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
 
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Stamina Gain]]:
 
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{stamina-gain|0}}}}}</tt>
 
|}
 
|-
 
| &nbsp;
 
|
 
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
 
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[Gold Gain]]:
 
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{gold-gain|0}}}}}</tt>
 
|}
 
|-
 
| &nbsp;
 
|
 
{| cellspacing="0" cellpadding="0" style="color:#fff;" width="100%"
 
| align="left" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | [[XP Gain]]:
 
| align="right" style="{{{stat-css|background-color:#000;padding-left:5px;padding-right:5px;}}}" | <tt>{{formatnum:{{{xp-gain|0}}}}}</tt>
 
|}
 
|-
 
| &nbsp;
 
| align="center" style="{{{bottom-css|background-color:#000;padding-bottom:5px;}}}" | Upgrade Level:<br>{{{HF|<nowiki>[none]</nowiki>}}}
 
 
|}
 
|}
 +
<!-- Why won't it let me close the div tags?
 
</div></div>
 
</div></div>
 +
-->
 
|}
 
|}
</center></includeonly><noinclude><center>
+
 
 +
</includeonly><noinclude><center>
 
{| width="100%" style="border:3px dashed #f00;"
 
{| width="100%" style="border:3px dashed #f00;"
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit this page!
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit this page!
Line 91: Line 117:
 
|}
 
|}
 
</center>
 
</center>
 
 
  
 
== How to Use ==
 
== How to Use ==
Line 101: Line 125:
 
! ''Code''
 
! ''Code''
 
|-
 
|-
| width="50%" style="border:1px solid #aaa;" | {{StatBox
+
| width="50%" valign="top" style="border:1px solid #aaa;" |  
|name=Weapon of Barrela
+
{{StatBox
|craft=Very Poor
+
|image=http://66.7.192.165/items/2292.gif
|image=http://66.7.192.165/items/2220.gif
+
|name=Blade of Vashku
|attack=4
+
|rarity=Unique
|defense=57
+
|craft=Perfect
|armor=57
+
|stat-1=Attack
|hp=4
+
|stat-1-value=3
|damage=67
+
|stat-2=Defense
|stamina=32
+
|stat-2-value=897
|stamina-gain=9
+
|stat-3=Damage
|gold-gain=2
+
|stat-3-value=56
|xp-gain=578
+
|stat-4=Stamina Gain
|HF={{Hellforged3}}
+
|stat-4-value=8
 +
|enhancement-1=Piercing Strike
 +
|enhancement-1-value=45
 +
|set=Vashku Set
 +
|set-item-1=Blade of Vashku
 +
|set-item-2=Armor of Vashku
 +
|set-item-3=Shield of Vashku
 +
|forge-level=3
 +
|guild=Anathema
 
}}
 
}}
| width="50%" style="border:1px solid #aaa;" | <pre>{{StatBox
+
| width="50%" style="border:1px solid #aaa;" | <pre>
|name=
+
{{StatBox
|craft=
+
|image=http://66.7.192.165/items/2292.gif
|image=
+
|name=Blade of Vashku
|attack=
+
|rarity=Unique
|defense=
+
|craft=Perfect
|armor=
+
|stat-1=Attack
|hp=
+
|stat-1-value=3
|damage=
+
|stat-2=Defense
|stamina=
+
|stat-2-value=897
|stamina-gain=
+
|stat-3=Damage
|gold-gain=
+
|stat-3-value=56
|xp-gain=
+
|stat-4=Stamina Gain
|HF=
+
|stat-4-value=8
}}</pre>
+
|enhancement-1=Piercing Strike
 +
|enhancement-1-value=45
 +
|set=Vashku Set
 +
|set-item-1=Blade of Vashku
 +
|set-item-2=Armor of Vashku
 +
|set-item-3=Shield of Vashku
 +
|forge-level=3
 +
|guild=Anathema
 +
}}
 +
</pre>
 
|}
 
|}
 
+
<small>*Stats shown above are for demonstration only and are not true for that specific item.</small>
  
 
== All Parameters ==
 
== All Parameters ==
{| width="100%"
+
<small>*As this template is improved, more parameters will be added to customize styles.</small>
! List
+
<pre>{{StatBox
! Descriptions
+
|image=
|-
+
| width="25%" style="border:1px solid #aaa;" valign="top" |<pre>{{StatBox
+
 
|name=
 
|name=
 +
|rarity=
 
|craft=
 
|craft=
|image=
+
|stat-1=
|attack=
+
|stat-1-value=
|defense=
+
|stat-2=
|armor=
+
|stat-2-value=
|hp=
+
|stat-3=
|damage=
+
|stat-3-value=
|stamina=
+
|stat-4=
|stamina-gain=
+
|stat-4-value=
|gold-gain=
+
|stat-5=
|xp-gain=
+
|stat-5-value=
|HF=
+
|stat-6=
|table-css=
+
|stat-6-value=
|title-css=
+
|stat-7=
|name-css=
+
|stat-7-value=
|stat-css=
+
|stat-8=
|bottom-css=
+
|stat-8-value=
|width=
+
|stat-9=
}}</pre>
+
|stat-9-value=
| width="75%" style="border:1px solid #aaa;" |
+
|enhancement-1=
'''name:''' This is the item name. Leaving it out will just leave that line blank.
+
|enhancement-1-value=
 
+
|enhancement-2=
'''craft:''' This is the item's crafted level. It defaults to <tt>N/A</tt>.
+
|enhancement-2-value=
 
+
|enhancement-3=
'''image:''' This is the item's image URL. Leaving it out will leave the statbox without an item.
+
|enhancement-3-value=
 
+
|enhancement-4=
{| width="100%"
+
|enhancement-4-value=
| '''attack:'''<br>'''defense:'''<br>'''armor:'''<br>'''hp:'''<br>'''damage:'''<br>'''stamina:'''<br>'''stamina-gain:'''<br>'''gold-gain:'''<br>'''xp-gain:'''
+
|enhancement-5=
| valign="top" | These are the item stats. Currently all of them will be listed in the template but leaving them out will default them to <tt>0</tt>
+
|enhancement-5-value=
|}
+
|enhancement-6=
 
+
|enhancement-6-value=
'''HF:''' This is the item's hellforge level. It defaults to <tt>{{none}}</tt>
+
|enhancement-7=
 
+
|enhancement-7-value=
* <tt><nowiki>{{Hellforged1}}</nowiki></tt>: {{Hellforged1}} 
+
|enhancement-8=
* <tt><nowiki>{{Hellforged2}}</nowiki></tt>: {{Hellforged2}} 
+
|enhancement-8-value=
* <tt><nowiki>{{Hellforged3}}</nowiki></tt>: {{Hellforged3}} 
+
|enhancement-9=
* <tt><nowiki>{{Hellforged4}}</nowiki></tt>: {{Hellforged4}} 
+
|enhancement-9-value=
* <tt><nowiki>{{Hellforged5}}</nowiki></tt>: {{Hellforged5}}
+
|enhancement-10=
 
+
|enhancement-10-value=
'''table-css: Default: <tt>background:transparent;font-size:7pt;color:#fff;</tt>
+
|enhancement-11=
 
+
|enhancement-11-value=
'''title-css: Default: <tt>background-color:#000;</tt>
+
|enhancement-12=
 
+
|enhancement-12-value=
'''name-css: Default: <tt>font-size:8pt;</tt>
+
|enhancement-13=
 
+
|enhancement-13-value=
'''stat-css: Default: <tt>background-color:#000;padding-left:5px;padding-right:5px;</tt>
+
|enhancement-14=
 
+
|enhancement-14-value=
'''bottom-css: Default: <tt>background-color:#000;padding-bottom:5px;</tt>
+
|enhancement-15=
|}
+
|enhancement-15-value=
 +
|enhancement-16=
 +
|enhancement-16-value=
 +
|enhancement-17=
 +
|enhancement-17-value=
 +
|enhancement-18=
 +
|enhancement-18-value=
 +
|enhancement-19=
 +
|enhancement-19-value=
 +
|enhancement-20=
 +
|enhancement-20-value=
 +
|enhancement-21=
 +
|enhancement-21-value=
 +
|enhancement-22=
 +
|enhancement-22-value=
 +
|enhancement-23=
 +
|enhancement-23-value=
 +
|enhancement-24=
 +
|enhancement-24-value=
 +
|enhancement-25=
 +
|enhancement-25-value=
 +
|set=
 +
|set-item-1=
 +
|set-item-2=
 +
|set-item-3=
 +
|set-item-4=
 +
|set-item-5=
 +
|set-item-6=
 +
|set-item-7=
 +
|set-item-8=
 +
|set-item-9=
 +
|forge-level=
 +
|guild=
 +
}}
 +
</pre>
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 21:57, 21 September 2008

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

How to Use

This template allows you to shows an item and allows an a viewer to see the stats if they click [show]. This template is still in its early stages of development and more parameters or alternate templates may become available in the future.

Example Code
2x3.gif
2292.gif
{{StatBox
|image=http://66.7.192.165/items/2292.gif
|name=Blade of Vashku
|rarity=Unique
|craft=Perfect
|stat-1=Attack
|stat-1-value=3
|stat-2=Defense
|stat-2-value=897
|stat-3=Damage
|stat-3-value=56
|stat-4=Stamina Gain
|stat-4-value=8
|enhancement-1=Piercing Strike
|enhancement-1-value=45
|set=Vashku Set
|set-item-1=Blade of Vashku
|set-item-2=Armor of Vashku
|set-item-3=Shield of Vashku
|forge-level=3
|guild=Anathema
}}

*Stats shown above are for demonstration only and are not true for that specific item.

All Parameters

*As this template is improved, more parameters will be added to customize styles.

{{StatBox
|image=
|name=
|rarity=
|craft=
|stat-1=
|stat-1-value=
|stat-2=
|stat-2-value=
|stat-3=
|stat-3-value=
|stat-4=
|stat-4-value=
|stat-5=
|stat-5-value=
|stat-6=
|stat-6-value=
|stat-7=
|stat-7-value=
|stat-8=
|stat-8-value=
|stat-9=
|stat-9-value=
|enhancement-1=
|enhancement-1-value=
|enhancement-2=
|enhancement-2-value=
|enhancement-3=
|enhancement-3-value=
|enhancement-4=
|enhancement-4-value=
|enhancement-5=
|enhancement-5-value=
|enhancement-6=
|enhancement-6-value=
|enhancement-7=
|enhancement-7-value=
|enhancement-8=
|enhancement-8-value=
|enhancement-9=
|enhancement-9-value=
|enhancement-10=
|enhancement-10-value=
|enhancement-11=
|enhancement-11-value=
|enhancement-12=
|enhancement-12-value=
|enhancement-13=
|enhancement-13-value=
|enhancement-14=
|enhancement-14-value=
|enhancement-15=
|enhancement-15-value=
|enhancement-16=
|enhancement-16-value=
|enhancement-17=
|enhancement-17-value=
|enhancement-18=
|enhancement-18-value=
|enhancement-19=
|enhancement-19-value=
|enhancement-20=
|enhancement-20-value=
|enhancement-21=
|enhancement-21-value=
|enhancement-22=
|enhancement-22-value=
|enhancement-23=
|enhancement-23-value=
|enhancement-24=
|enhancement-24-value=
|enhancement-25=
|enhancement-25-value=
|set=
|set-item-1=
|set-item-2=
|set-item-3=
|set-item-4=
|set-item-5=
|set-item-6=
|set-item-7=
|set-item-8=
|set-item-9=
|forge-level=
|guild=
}}