Template:Infobox perk

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

Creates an infobox with options to display separate upgrade levels, perk type, and other valuable information.

Usage[edit source]

Before using, keep in mind that the individual level parameters are not meant to all be used. For all existing perks, there are only 3 significant differences in upgrade stages, such as perks gaining additional functionality at level 5/10. If any cases harshly break that rule, the template should be updated to shorten tab names to just numbers with a "Level" header placed above. Perks that scale linearly with level are obvious enough and do not require this change.

{{Infobox perk
|name          =
|image         =
|image2        =
|image3        =
|image4        =
|image5        =
|label         =
|label2        =
|label3        =
|label4        =
|label5        =
|image desc    =
|image desc2   =
|image desc3   =
|image desc4   =
|image desc5   =
|class         =
|archetype     =
|0             =
|1             =
|2             =
|3             =
|4             =
|5             =
|6             =
|7             =
|8             =
|9             =
|10            =
|cooldown      =
|cooldown0     =
|cooldown1     =
|cooldown2     =
|cooldown3     =
|cooldown4     =
|cooldown5     =
|cooldown6     =
|cooldown7     =
|cooldown8     =
|cooldown9     =
|cooldown10    =
}}

Template data[edit source]

Creates the infobox for perks

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The name of the perk

Stringrequired
imageimage

File name or direct embed.

Example
The Forbidden Grove.jpg or [[File:The Forbidden Grove.jpg]]
Stringsuggested
image2image2

no description

Stringoptional
image3image3

no description

Stringoptional
image4image4

no description

Stringoptional
image5image5

no description

Stringoptional
labellabel

Label for the image tab. ex. label3 matches the tab for image3

Stringoptional
label2label2

no description

Stringoptional
label3label3

no description

Stringoptional
label4label4

no description

Stringoptional
label5label5

no description

Stringoptional
image descimage desc

A caption for the image. ex. image desc3 captions image3

Example
The Forbidden Grove during a blood moon
Stringoptional
image desc2image desc2

no description

Stringoptional
image desc3image desc3

no description

Stringoptional
image desc4image desc4

no description

Stringoptional
image desc5image desc5

no description

Stringoptional
classclass

The type of perk

Suggested values
Prime Damage Utility Team Relic
Example
Prime
Stringrequired
archetypearchetype

Archetype that the perk belongs to.

Example
Invader
Stringrequired
11

Description text at this archetype level, if unlocked or changed then. Do not use if the perk does not meaningfully unlock/change at this level.

Example
Grants <base value>% ranged critical chance.
Stringoptional
22

no description

Stringoptional
33

no description

Stringoptional
44

no description

Stringoptional
55

no description

Stringoptional
66

no description

Stringoptional
77

no description

Stringoptional
88

no description

Stringoptional
99

no description

Stringoptional
1010

no description

Stringoptional
cooldowncooldown

Generic cooldown number that applies to all stages of the perk. This is used if there is an unchanging cooldown.

Example
105
Numberoptional
cooldown0cooldown0

A cooldown value specifically for power level 0. Used if the cooldown changes across level.

Numberoptional
cooldown1cooldown1

A cooldown value specifically for power level 1. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown2cooldown2

A cooldown value specifically for power level 2. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown3cooldown3

A cooldown value specifically for power level 3. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown4cooldown4

A cooldown value specifically for power level 4. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown5cooldown5

A cooldown value specifically for power level 5. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown6cooldown6

A cooldown value specifically for power level 6. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown7cooldown7

A cooldown value specifically for power level 7. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown8cooldown8

A cooldown value specifically for power level 8. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown9cooldown9

A cooldown value specifically for power level 9. Used if the cooldown changes across level.

Example
90
Numberoptional
cooldown10cooldown10

A cooldown value specifically for power level 10. Used if the cooldown changes across level.

Example
90
Numberoptional