Template:Item

From The Remnant 2 Wiki
Jump to navigation Jump to search
Documentation icon Template Documentation

Usage

{{Item
|name=Anguish
|class_id=handgun
|damage=17.5
|rps=1.7
|magazine=5
|accuracy=95
|ideal=18
|falloff=35
|ammo=30
|crit=5
|weakspot=100
|stagger=0
|description=Fires heated bits of molten slag. Can be charged to fire a single explosive rod at the cost of causing damage to the wielder while charging.
|mod=Loath The Weak
|cats=Special weapons
}}

Example

Template Data

Template used to display an item infobox, automate categories, and stores information for back-end use. Relevant information is stored into Cargo.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The item's name exactly as spelled in-game.

Example
Void Idol
Stringrequired
imageimage

Direct file link to override the default image

Default
[[File:Name.png|Name|x128px]]
Stringoptional
class_idclass_id

The item's class in lowercase and underlines instead of spaces.

Example
long_gun
Stringrequired
descriptiondescription

Descriptive text shown when hovering the item.

Example
Fires {{type|fire|BURNING}} shots.
Contentoptional
damagedamage

no description

Example
17.5
Numberoptional
rpsrps

no description

Example
1.7
Numberoptional
magazinemagazine

no description

Example
5
Numberoptional
accuracyaccuracy

An estimated percentage value of a weapon accuracy bar.

Example
95
Numberoptional
idealideal

The weapon's ideal range.

Example
18
Numberoptional
fallofffalloff

The weapon's falloff range.

Example
35
Numberoptional
ammoammo

Max ammo

Example
30
Numberoptional
critcrit

Critical Hit Chance

Example
5
Numberoptional
weakspotweakspot

no description

Unknownoptional
staggerstagger

Stagger Modifier

Example
0
Numberoptional
modmod

The exact name of the weapon mod.

Example
Loathe The Weak
Page nameoptional
armorarmor

no description

Numberoptional
weightweight

no description

Numberoptional
bleed_resbleed_res

no description

Numberoptional
fire_resfire_res

no description

Numberoptional
shock_resshock_res

no description

Numberoptional
corrosive_rescorrosive_res

no description

Numberoptional
blight_resblight_res

no description

Numberoptional
ignore_default_catsignore_default_cats

Ignores the categories set by default, instead only taking in specified "cats"

Booleanoptional
catscats

A comma-separated list of additional categories to add to an item on top of automatically added ones.

Example
Special weapons, Melee weapons with ranged attack
Stringoptional
tagstags

A comma separated list with any helpful tags to help define the item.

Example
fire, critical_hit_chance
Stringoptional
testtest

Hides both categories and disables Cargo stores. Use this on test pages.

Booleanoptional