Template:Infobox perk/doc
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the perk | String | required |
image | image | File name or direct embed.
| String | suggested |
image2 | image2 | no description | String | optional |
image3 | image3 | no description | String | optional |
image4 | image4 | no description | String | optional |
image5 | image5 | no description | String | optional |
label | label | Label for the image tab. ex. label3 matches the tab for image3 | String | optional |
label2 | label2 | no description | String | optional |
label3 | label3 | no description | String | optional |
label4 | label4 | no description | String | optional |
label5 | label5 | no description | String | optional |
image desc | image desc | A caption for the image. ex. image desc3 captions image3
| String | optional |
image desc2 | image desc2 | no description | String | optional |
image desc3 | image desc3 | no description | String | optional |
image desc4 | image desc4 | no description | String | optional |
image desc5 | image desc5 | no description | String | optional |
class | class | The type of perk
| String | required |
archetype | archetype | Archetype that the perk belongs to.
| String | required |
1 | 1 | 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.
| String | optional |
2 | 2 | no description | String | optional |
3 | 3 | no description | String | optional |
4 | 4 | no description | String | optional |
5 | 5 | no description | String | optional |
6 | 6 | no description | String | optional |
7 | 7 | no description | String | optional |
8 | 8 | no description | String | optional |
9 | 9 | no description | String | optional |
10 | 10 | no description | String | optional |
cooldown | cooldown | Generic cooldown number that applies to all stages of the perk. This is used if there is an unchanging cooldown.
| Number | optional |
cooldown0 | cooldown0 | A cooldown value specifically for power level 0. Used if the cooldown changes across level. | Number | optional |
cooldown1 | cooldown1 | A cooldown value specifically for power level 1. Used if the cooldown changes across level.
| Number | optional |
cooldown2 | cooldown2 | A cooldown value specifically for power level 2. Used if the cooldown changes across level.
| Number | optional |
cooldown3 | cooldown3 | A cooldown value specifically for power level 3. Used if the cooldown changes across level.
| Number | optional |
cooldown4 | cooldown4 | A cooldown value specifically for power level 4. Used if the cooldown changes across level.
| Number | optional |
cooldown5 | cooldown5 | A cooldown value specifically for power level 5. Used if the cooldown changes across level.
| Number | optional |
cooldown6 | cooldown6 | A cooldown value specifically for power level 6. Used if the cooldown changes across level.
| Number | optional |
cooldown7 | cooldown7 | A cooldown value specifically for power level 7. Used if the cooldown changes across level.
| Number | optional |
cooldown8 | cooldown8 | A cooldown value specifically for power level 8. Used if the cooldown changes across level.
| Number | optional |
cooldown9 | cooldown9 | A cooldown value specifically for power level 9. Used if the cooldown changes across level.
| Number | optional |
cooldown10 | cooldown10 | A cooldown value specifically for power level 10. Used if the cooldown changes across level.
| Number | optional |