Template:Infobox weapon/doc

Template page
Revision as of 17:39, 24 June 2012 by imported>Crusha K. Rool (Added examples for new bars. Take note than different weapon types use only different kinds of bars, i.e. do explosive weapons usually use RangeRating while automatic weapons use RangeRating. Weapons with clip reloading use ClipRating while others us)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

  • This template produces a infobox-style template.
  • You may want to copy and modify this to create a specific infobox (e.g. character infobox).
  • This template requires parser functions to be enabled (Wikia default: on).

Syntax

{{Infobox weapon
|name = Super Cool Spinfusor!
|templatewidth = 300
|image = Image:Soldier_spinfusor.png
|imagewidth = 300
|caption = A wonderful Disk!
|type = Primary Weapon
|classtype = Soldier
|damagetype = Explosive Projectile
|damagerating = 60
|radiusrating = 60
|rangerating = 0
|firerating = 20
|cliprating = 0
|ammorating = 40
|damage = 910
|falloff = 650-320
|interval = 1.88s
|reload = 1.5s
|reloadmax = 1.2s
|DPS = 484
|clipsize = 1
|clipsizemax = 1
|ammocount = 18
|ammocountmax = 28
|reloadtype = Clip
|upgrade1 = +5 Ammo
|upgrade2 = +20% Damage vs Armored
|upgrade3 = +5 Ammo
|gold = 240
|experience = 42000
|masterxp = 15000
}}

Notes

  • The box title will be the name of the article if it's omitted.
  • If you don't want to display image, just keep image and imagewidth empty.
  • templatewidth will be at least the size of imagewidth, even if you enter something smaller.
  • The rating bars accept values from 0 to 100 or can be omitted.
  • Keeping anything except the "type" field empty will result in it being omitted.
  • Max rows for upgrade information: 5 rows.

Sample output

Super Cool Spinfusor!

A wonderful Disk!
Equipment Slot Primary Weapon
Class Soldier
Damage Type Explosive Projectile


Damage

Radius

Range

Fire Rate

Clip Size

Ammo

Damage 910 (650-320)
Attack Interval 1.88s (1.5s/1.2s)
DPS 484
Clip Size 1 (1)
Ammo Count 18 (28)
Reload Type Clip


Upgrade 1 +5 Ammo
Upgrade 2 +20% Damage vs Armored
Upgrade 3 +5 Ammo


Gold cost 240
XP cost 42000
Mastering cost 15000