No edit summary |
(Fixed issues) |
||
Line 1:
{{infobox
| image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
| caption1 = {{{caption|}}}
| imagerowclass1 = infobox-image {{#if:{{{imagebg|}}}|{{#switch:{{{imagebg}}}|light=infobox-image--light|dark=infobox-image--dark|}}}}
<!-------------------------------------------------------------->
|
Revision as of 02:39, 27 March 2024
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}}}|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 |