Template:Weapon infobox

From ULTRAKILL Wiki
Jump to navigation Jump to search

Source Version

{{Weapon infobox
<!-- Infobox Colors -->
| mainbg      =
| sidebg      =
<!-- General Information -->
| name        = 
| image       = 
<!-- Primary Fire -->
| damage      = 
| duration    =
| time        = 
<!-- Alternate Fire -->
| altdamage   = 
| altduration =
| alttime     = 
<!-- Damage Modifiers -->
| modifiers   = 
<!-- Terminal Info -->
| info        = 
<!-- Obtained in -->
| obtained    = 
}}

This template is used for making the infoboxes for each weapon.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
mainbgmainbg Header Background

The color of the main header which can be changed depending on variant color

Suggested values
#3140c4 #1d9d01 #f9a825 #b30000
Example
(Hex Color Code)
Auto value
#4d4061
Stringrequired
sidebgsidebg Subheader Background

The color of the subheaders which can be changed depending on variant color

Suggested values
#cc2727 #488bd4 #59c135 #ffd625
Example
(Hex Color Code)
Auto value
#7b7b8f
Stringrequired
namename Weapon Name

Name of the weapon.

Example
Piercer Revolver
Auto value
Weapon
Contentrequired
imageimage Weapon Image

Viewmodel Render of the weapon.

Auto value
Placeholder.webp
Filerequired
image1image1 Weapon Image

HUD Icon of the weapon.

Auto value
Placeholder.webp
Filesuggested
captioncaption Caption

Caption to go under both weapon images, these should only be used for misc. weapons like the fishing rod or spawner arms.

Contentsuggested
primaryfireiconprimaryfireicon Primary Fire Icon

Icon of the Primary Fire.

Filesuggested
damagedamage Primary Fire Damage

The damage dealt from the primary fire.

Numberrequired
durationduration Primary Fire Duration

The duration of the primary fire in seconds.

Numbersuggested
timetime Primary Fire Cooldown

The cooldown of the primary fire in seconds.

Numberrequired
secondsecond

no description

Unknowndeprecated
alternatefireiconalternatefireicon Alternate Fire Icon

Icon of the Alternate Fire.

Filesuggested
altsimplealtsimple

If the weapon has a simple alternate that doesn't do damage, has no cooldown or duration.

Example
Zoom in (Railcannon)
Contentsuggested
altdamagealtdamage ALternate Fire Damage

The damage dealt from the alternate fire.

Numbersuggested
altdurationaltduration Alternate Fire Duration

The duration of the alternate fire in seconds.

Numbersuggested
alttimealttime Alternate Fire Cooldown

The cooldown of the alternate fire in seconds.

Numberrequired
altsecondaltsecond

no description

Unknowndeprecated
modifiersmodifiers Damage Modifiers

Damage modifiers that the weapon activates towards specific enemies + the percentage dealt.

Contentsuggested
infoinfo Terminal Information

The information shown when clicked on the terminal.

Auto value
Terminal Info
Contentsuggested
Obtainedobtained Unlock Location

The level where the weapon is unlocked/obtained first

Default
UNKNOWN
Example
[[0-1|0-1: INTO THE FIRE]]
Auto value
URLrequired