Template:Infobox weapon/doc: Difference between revisions
Template page
More actions
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 |
(No difference)
|
Latest revision as of 22:39, 24 June 2012
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