Template:WeaponInfoBox/doc: Difference between revisions

From Tribes Wiki
Jump to navigation Jump to search
(Created page with "{{WeaponInfoBox |title = Light Spinfusor |image = 250px |caption = Light Spinfusor |loadout = Pathfinder |slot = Primary |type = Disc |ammo = 1...")
 
(Example docs for the WeaponInfoBox template)
Line 1: Line 1:
{{documentation subpage}}
{{esoteric}}
All fields are optional.
==Full syntax==
<pre><nowiki>{{WeaponInfoBox
|title              =
|image              =
|loadout            =
|slot              = Primary or Secondary
|type              = Disc/SMG/AR/CG/etc
|firerate          =
|reloadtime        =
|warmuptime        =
|lockontime        =
|lockondistance    =
|projectilespeed    =
|projectilelivetime =
|falloffrange      =
|splashradius      =
|ammo              =
|ammoupgrade        =
|upgrade1          =
|upgrade2          =
|upgrade3          =
|gold              =
|xp                =
|mastery            =
}}</nowiki></pre>
==Syntax guide==
{{WeaponInfoBox
{{WeaponInfoBox
|title = Light Spinfusor
|title             = Light Spinfusor
|image = [[Image:TA_Wep_LSpinfusor.png|250px]]
|image             = [[Image:TA_Wep_LSpinfusor.png|250px]]
|caption = Light Spinfusor
|loadout            = [[Tribes:_Ascend/Pathfinder|Pathfinder]]
|loadout = Pathfinder
|slot               = Primary
|slot = Primary
|type               = Disc
|type = Disc
|firerate          = 1
|ammo = 1
|reloadtime        = 2
|ammoupgrade = 2
|warmuptime        = 3
|upgrade1 = +1 ammo
|lockontime        = 4
|gold = 1
|lockondistance    = 5
|projectilespeed    = 5000
|projectilelivetime =
|falloffrange      =
|splashradius      =
|ammo               = 1
|ammoupgrade       = 2
|upgrade1           = +1 ammo
|upgrade2          = +10% splash radius
|upgrade3          = +25% damage
|gold               = 1
|xp                = 2
|mastery            = 3
}}
}}
; title: The full name of the weapon.
; image: An image of the weapon. To avoid stretching the Infobox overlarge, avoid using images with a width greater than 250 pixels. Where possible use 250px, as it gives the best fit. Wiki: <tt><nowiki>[[Image:name.ext|250px]]</nowiki></tt>
; loadout:  The class that uses this weapon.
; slot: Primary or secondary weapon.
; type: The type of weapon. i.e. Disc, plasma, SMG, etc...
; firerate: The rate at which this weapon fires.
; reloadtime: The amount of time needed for the weapon to reload.
; warmuptime: The amount of time required for the weapon begins firing.
; lockontime: The amount of time required for the weapon to obtain a lock on to a target.
; lockondistance: The maximum distance that the weapon is able to lock on to a target.
; projectilespeed: The speed at which the weapon's projectile travels.
; projectilelivetime: The amount of time that a projectile can travel before it is killed by the game.
; falloffrange: The amount of distance the projectile must travel before its damage begins to fall off.
; splashradius: The radius length of the projectile's splash.
; ammo: The amount of ammunition the weapon can carry.
; ammoupgrade: The amount of ammunition the weapon can carry after all of the weapon's upgrades have been purchased.
; upgrade1: The weapon's first upgrade.
; upgrade2: The weapon's second upgrade.
; upgrade3: The weapon's third upgrade.
; gold: The amount of gold required to purchase the weapon.
; xp: The amount of XP required to purchase the weapon.
; mastery: The amount of XP required to master the weapon.

Revision as of 06:13, 7 August 2012


All fields are optional.

Full syntax

{{WeaponInfoBox
|title              =
|image              = 
|loadout            =
|slot               = Primary or Secondary
|type               = Disc/SMG/AR/CG/etc
|firerate           =
|reloadtime         =
|warmuptime         =
|lockontime         =
|lockondistance     =
|projectilespeed    =
|projectilelivetime =
|falloffrange       =
|splashradius       =
|ammo               =
|ammoupgrade        =
|upgrade1           =
|upgrade2           =
|upgrade3           =
|gold               =
|xp                 =
|mastery            =
}}

Syntax guide

Light Spinfusor

Loadout/Class Pathfinder
Slot Primary
Type Disc
Statistics
Fire Rate 1
Manual Reload Time 2
Build Up Time 3
Lock-on Time 4
Lock-on Distance 5
Projectile Speed 5000
Ammo 1 (2)
Upgrades
Upgrade 1 +1 ammo
Upgrade 2 +10% splash radius
Upgrade 3 +25% damage
Cost
Gold 1
XP 2
Mastery Cost (XP) 3


title
The full name of the weapon.
image
An image of the weapon. To avoid stretching the Infobox overlarge, avoid using images with a width greater than 250 pixels. Where possible use 250px, as it gives the best fit. Wiki: [[Image:name.ext|250px]]
loadout
The class that uses this weapon.
slot
Primary or secondary weapon.
type
The type of weapon. i.e. Disc, plasma, SMG, etc...
firerate
The rate at which this weapon fires.
reloadtime
The amount of time needed for the weapon to reload.
warmuptime
The amount of time required for the weapon begins firing.
lockontime
The amount of time required for the weapon to obtain a lock on to a target.
lockondistance
The maximum distance that the weapon is able to lock on to a target.
projectilespeed
The speed at which the weapon's projectile travels.
projectilelivetime
The amount of time that a projectile can travel before it is killed by the game.
falloffrange
The amount of distance the projectile must travel before its damage begins to fall off.
splashradius
The radius length of the projectile's splash.
ammo
The amount of ammunition the weapon can carry.
ammoupgrade
The amount of ammunition the weapon can carry after all of the weapon's upgrades have been purchased.
upgrade1
The weapon's first upgrade.
upgrade2
The weapon's second upgrade.
upgrade3
The weapon's third upgrade.
gold
The amount of gold required to purchase the weapon.
xp
The amount of XP required to purchase the weapon.
mastery
The amount of XP required to master the weapon.