Template:StatBox

From Fallen Sword Wiki
Revision as of 15:04, 26 August 2008 by Belgrave (Talk | contribs)

Jump to: navigation, search
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
2220.gif
{{StatBox
|name=
|craft=
|image=
|attack=
|defense=
|armor=
|hp=
|damage=
|stamina=
|stamina-gain=
|gold-gain=
|xp-gain=
|HF=
}}


All Parameters

List Descriptions
{{StatBox
|name=
|craft=
|image=
|attack=
|defense=
|armor=
|hp=
|damage=
|stamina=
|stamina-gain=
|gold-gain=
|xp-gain=
|HF=
|table-css=
|title-css=
|name-css=
|stat-css=
|bottom-css=
|width=
}}

name: This is the item name. Leaving it out will just leave that line blank.

craft: This is the item's crafted level. It defaults to N/A.

image: This is the item's image URL. Leaving it out will leave the statbox without an item.

attack:
defense:
armor:
hp:
damage:
stamina:
stamina-gain:
gold-gain:
xp-gain:
These are the item stats. Currently all of them will be listed in the template but leaving them out will default them to 0

HF: This is the item's hellforge level. It defaults to [none]

  • {{Hellforged1}}: forgelevel.png
  • {{Hellforged2}}: forgelevel.pngforgelevel.png
  • {{Hellforged3}}: forgelevel.pngforgelevel.pngforgelevel.png
  • {{Hellforged4}}: forgelevel.pngforgelevel.pngforgelevel.pngforgelevel.png
  • {{Hellforged5}}: forgelevel.pngforgelevel.pngforgelevel.pngforgelevel.pngforgelevel.png

table-css: Default: font-size:7pt;color:#fff;

title-css: Default: background-color:#000;

name-css: Default: font-size:8pt;

stat-css: Default: background-color:#000;padding-left:5px;padding-right:5px;

bottom-css: Default: background-color:#000;padding-bottom:5px;