Difference between revisions of "Template:StatBox"
From Fallen Sword Wiki
(New page: <includeonly><center> {| cellpadding="0" cellspacing="0" | align="center" valign="middle" width="60px" height="90" | <div style="position:relative; left:0px; top:0px; background:transparen...) |
(use the dontedittemplate-template) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| cellpadding="0" cellspacing="0" style="background-color:transparent;" |
− | {| cellpadding="0" cellspacing="0" | + | | align="center" valign="middle" width="60px" height="90" |<div style="position:relative; left:0px; top:0px; background-color:transparent;height:90px;width:60px;">http://66.7.192.165/inventory/2x3.gif<div style="position:absolute; left:0px; top:0px; background-color:transparent;"> |
− | | 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;"> | + | {| style="background-color:transparent" cellpadding="0" cellspacing="0" |
− | {| style="background:transparent" cellpadding="0" cellspacing="0" | + | | 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> |
− | | align="center" valign="middle" width="60px" height="90" | {{{image|}}} | + | |
|} | |} | ||
− | </div><div style="position:absolute; left:0px; top:0px; background:transparent;"> | + | </div> |
− | {| width=" | + | <div style="position:absolute; left:0px; top:0px; background-color:transparent;"> |
− | ! align="center" valign=" | + | {| width="{{{width|460px}}}" cellspacing="2" style="{{{table-css|background-color:transparent;font-size:7pt;color:#fff;}}}" cellpadding="0" cellspacing="1" class="collapsible collapsed" |
− | ! align="center" valign=" | + | ! align="center" valign="top" width="60px" | |
− | + | ! align="center" valign="top" width="{{#expr:{{{width|460}}}-60}}px" | | |
|- | |- | ||
| | | | ||
− | | | + | | |
+ | {| width="100%" style="border:1px solid #666666; background-color:#222222; color:#ffffff;" | ||
+ | | align="center" style="font-size:8pt;" | {{#if: {{{name|0}}} <> 0 | <span style="font-size:10pt;">'''[[{{{name}}}|<span style="{{#switch: {{lc:{{{rarity}}}}} | ||
+ | | rare = #00ffe2; | ||
+ | | unique = #df00b0 | ||
+ | | legendary = #ffe900; | ||
+ | | super elite = #ff0000; | ||
+ | | crystalline = #df00b0; | ||
+ | | epic = #23f711; | ||
+ | | | ||
+ | }}">{{{name}}}]]'''</span><br> | Unknown Item<br> }}{{{rarity}}}{{#if: {{{craft|0}}} <> 0 | {{#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}}} | 33% | 50% }}" 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}}} | 33% | 50% }}" 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}}} | 33% | 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}}}}}]]}}}} | ||
+ | |} | ||
|- | |- | ||
− | | | + | | |
− | | | + | {| 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; | }}" |
− | | align=" | + | | align="left" | <span style="color:#999999;">Min Level:</span> |
+ | | align="right" | <span style="color:#ffffff;">{{{level|0}}}</span> | ||
|- | |- | ||
− | + | | align="left" | <span style="color:#999999;">Durability:</span> | |
− | | align="left" style=" | + | | align="right" | <span style="color:#ffffff;">{{{durability-min|{{{durability|0}}}}}} <nowiki>/</nowiki> {{{durability|0}}}</span> |
− | | align="right" style=" | + | |} |
|- | |- | ||
− | + | | align="center" | {{#if: {{{forge-level|0}}} <> 0 | {{#switch: {{lc:{{{forge-level}}}}} | |
− | | align=" | + | | 1 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged1}}<br> |
− | + | | 2 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged2}}<br> | |
− | | | + | | 3 = <span style="color:#ffffff;font-size:8pt;">Upgrade Level</span><br>{{Hellforged3}}<br> |
− | + | | 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: </span><span style="color:#23f711;font-size:8pt;">{{{guild|}}}</span> | }} | |
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
|} | |} | ||
+ | |} | ||
+ | <!-- Why won't it let me close the div tags? | ||
</div></div> | </div></div> | ||
− | |} | + | --> |
− | + | |}</includeonly><noinclude>{{DontEditTemplate}} | |
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== How to Use == | == How to Use == | ||
Line 72: | Line 108: | ||
{| width="100%" | {| width="100%" | ||
+ | ! ''Example'' | ||
! ''Code'' | ! ''Code'' | ||
− | |||
|- | |- | ||
− | | width="50%" style="border:1px solid #aaa;" | <pre>{{StatBox | + | | width="50%" valign="top" style="border:1px solid #aaa;" | |
+ | {{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 | ||
+ | }} | ||
+ | | width="50%" style="border:1px solid #aaa;" | <pre> | ||
+ | {{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 | ||
+ | }} | ||
+ | </pre> | ||
+ | |} | ||
+ | <small>*Stats shown above are for demonstration only and are not true for that specific item.</small> | ||
+ | |||
+ | == All Parameters == | ||
+ | <small>*As this template is improved, more parameters will be added to customize styles.</small> | ||
+ | <pre>{{StatBox | ||
+ | |image= | ||
|name= | |name= | ||
+ | |rarity= | ||
|craft= | |craft= | ||
− | | | + | |level= |
− | | | + | |durability= |
− | | | + | |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= | ||
}} | }} | ||
− | + | </pre> | |
+ | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:23, 23 July 2009
Editing this template may cause all pages using it to stop working. | |
This is a template that is being used by many pages on the wiki. Changes made to this page is instantly applied to all these pages, and any editing mistake can break them. Do not edit the template unless you know what you are doing. If you would like to make a customized version of this template for your own use, copy it to a new template and edit from there. |
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 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{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= |level= |durability= |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= }}