Template:Infobox Weapon/doc

From Helldivers Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Usage

{{Weapon
  | title          =
  | image          =
  | caption-image  =
  | damage         =
  | damage_durable =
  | penetration    =
  | capacity       =
  | recoil         =
  | fire_rate      =
  | spare_mags     =
  | spare_shells  =
  | spare_rounds   =
  | weapon_traits  =
  | firing_modes   =
  | scope_options  =
  | source         =
  | cost           =
}}

Example

Use {{Infobox Weapon}} at the top of weapon pages.Title and image have default values.

Title defaults to {{PAGENAME}} and image defaults to {{PAGENAME}} Weapon Icon.png


{{Weapon
 | title = Example
 | image = Example.jpg
 | caption-image  = Democracy's Flower
 | damage = 123
 | damage_durable = 234
 | penetration = 3
 | capacity = 4
 | recoil = 5
 | fire_rate = 678
 | spare_mags = 7
 | spare_shells = 8
 | spare_rounds = 9
 | weapon_traits = Example
 | firing_modes = Example
 | scope_options = Example
 | source = Example
 | cost = Example
}}

Template Data

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

Title of the weapon. Usually the page name

Default
{{PAGENAME}}
Example
AR-23 Liberator
Unknownsuggested
imageimage

Image of the Weapon Icon.png

Unknownsuggested
caption-imagecaption-image

Optional Image caption

Stringsuggested
damagedamage

Damage of the weapon

Numbersuggested
damage_durabledamage_durable

Damage against durable parts

Numberoptional
penetrationpenetration

Penetration value

Numbersuggested
capacitycapacity

Magazine capacity

Numbersuggested
recoilrecoil

Recoil value

Numbersuggested
fire_ratefire_rate

Fire rate. Expressed as RPM

Example
340
Numbersuggested
spare_magsspare_mags

Max number of spare mags

Unknownoptional
spare_shellsspare_shells

Max number of spare shells

Unknownoptional
spare_roundsspare_rounds

Max number of spare rounds

Unknownoptional
weapon_traitsweapon_traits

Weapon traits. Separate values with {{*}}

Stringsuggested
firing_modesfiring_modes

Different firing modes. Separate values with {{*}}

Suggested values
Semi Auto Burst Bolt-Action
Stringsuggested
scope_optionsscope_options

Scope options if applicable. Separate values with {{*}}

Stringoptional
sourcesource

Where the weapon is obtained from

Stringsuggested
costcost

Weapon cost from shop

Stringsuggested

See Also

Main

Updates


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.