(Fixed issues) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{infobox |
{{infobox |
||
| image1 = {{#if:{{{image |
| image1 = {{#if:{{{image}}}|[[File:{{{image}}}|400px|frameless|alt={{{alt|}}}|border|upright=.6|]]}} |
||
| caption1 = {{{caption|}}} |
| caption1 = {{{caption|}}} |
||
| imagerowclass1 = infobox-image {{#if:{{{imagebg|}}}|{{#switch:{{{imagebg}}}|light=infobox-image--light|dark=infobox-image--dark|}}}} |
| imagerowclass1 = infobox-image {{#if:{{{imagebg|}}}|{{#switch:{{{imagebg}}}|light=infobox-image--light|dark=infobox-image--dark|}}}} |
||
Line 7: | Line 7: | ||
| header1 = {{#if:{{{type|}}}{{{cost|}}}{{{requirement|}}}{{{fire_mode|}}}{{{ammo_capacity|}}}{{{damage|}}}{{{rate_of_fire|}}}{{{velocity|}}}{{{reload_time|}}}|Weapon Stats}} |
| header1 = {{#if:{{{type|}}}{{{cost|}}}{{{requirement|}}}{{{fire_mode|}}}{{{ammo_capacity|}}}{{{damage|}}}{{{rate_of_fire|}}}{{{velocity|}}}{{{reload_time|}}}|Weapon Stats}} |
||
| rowclass1 = infobox-title |
|||
| label2 = Type |
| label2 = Type |
Latest revision as of 02:43, 27 March 2024
[[File:{{{image}}}|400px|frameless|alt=|border|upright=.6|]] |
Usage
To use this template in an article, copy the template below, then paste the template into an article. All parameters are optional. Only include pertinent parameters in your Infobox - it is rare that an infobox should use most parameters. Use item<br/>item<br/>item
for parameters that should span multiple lines in infobox (e.g. listing multiple requirement).
[[File:{{{image}}}|400px|frameless|alt={{{alt}}}|border|upright=.6|]] {{{caption}}} | |
Weapon Stats | |
---|---|
Type | {{{type}}} |
Cost | {{{cost}}} |
Requirement | {{{requirement}}} |
Fire Mode | {{{fire_mode}}} |
Ammo Capacity | {{{ammo_capacity}}} |
Damage | {{{damage}}} |
Rate of Fire | {{{rate_of_fire}}} |
Velocity | {{{velocity}}} |
Reload Time | {{{reload_time}}} |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | optional name of weapon if a weapon has multiple names
| String | optional |
image | image | if no image of this weapon is provided, use Placeholder.png
| File | optional |
alt | alt | no description | String | optional |
caption | caption | no description | String | optional |
image2 | image2 | optional | File | optional |
caption2 | caption2 | no description | String | optional |
type | type | type of a weapon
| String | optional |
cost | cost | must be labelled with "RUs" at the end of number
| String | optional |
requirement | requirement | required by something to access to this weapon
| String | optional |
fire_mode | fire_mode | weapon's fire mode
| Unknown | optional |
ammo_capacity | ammo_capacity | weapon's ammo capacity
| String | optional |
damage | damage | how much this weapon can damage something or someone
| String | optional |
rate_of_fire | rate_of_fire | how much a weapon can fire with ammo
| String | optional |
velocity | velocity | weapon's spread
| String | optional |
reload_time | reload_time | how long can you reload this weapon before shooting again
| String | optional |