From Brotato Wiki
(Add full-length text aliases (eg. so you can write "Max HP" instead of "maxhp") + update docs to reflect this) |
(Add templatedata (which makes it easier to edit these in the visual editor) plus its required template edits) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><!-- | <includeonly><onlyinclude><!-- | ||
-->{{#switch:{{lc:{{{1|}}}}} | -->{{#switch:{{lc:{{{name|{{{1|}}}}}}}} | ||
| armor = <!-- | | armor = <!-- | ||
-->[[File:Armor.png|link=Armor|x20px]] | -->[[File:Armor.png|link=Armor|x20px]] | ||
Line 131: | Line 131: | ||
|[[Harvesting]] | |[[Harvesting]] | ||
|<code><nowiki>{{StatIcon|Harvesting}}</nowiki></code> | |<code><nowiki>{{StatIcon|Harvesting}}</nowiki></code> | ||
|{{StatIcon|Harvesting}} | |||
| - | |||
|- | |||
|[[Harvesting]] | |||
|<code><nowiki>{{StatIcon|name=Harvesting}}</nowiki></code> | |||
|{{StatIcon|Harvesting}} | |{{StatIcon|Harvesting}} | ||
| - | | - | ||
Line 141: | Line 146: | ||
|} | |} | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"aliases": [ | |||
"1" | |||
], | |||
"label": "Stat Name", | |||
"description": "As shown on the Stats page", | |||
"example": "Max HP", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Revision as of 18:54, 7 November 2022
Usage:
{{Staticon|any stat icon name}}
Full List
Name | Code | Preview | Alias |
---|---|---|---|
Max HP | {{StatIcon|Max HP}}
|
MaxHP
| |
HP Regeneration | {{StatIcon|HP Regeneration}}
|
HPRegen
| |
Life Steal | {{StatIcon|Life Steal}}
|
Lifesteal
| |
Damage | {{StatIcon|Damage}}
|
- | |
Melee Damage | {{StatIcon|Melee Damage}}
|
MeleeDamage
| |
Ranged Damage | {{StatIcon|Ranged Damage}}
|
RangedDamage
| |
Elemental Damage | {{StatIcon|Elemental Damage}}
|
ElementalDamage
| |
Crit Chance | {{StatIcon|Crit Chance}}
|
CritChance
| |
Engineering | {{StatIcon|Engineering}}
|
- | |
Range | {{StatIcon|Range}}
|
- | |
Armor | {{StatIcon|Armor}}
|
- | |
Dodge | {{StatIcon|Dodge}}
|
- | |
Speed | {{StatIcon|Speed}}
|
- | |
Luck | {{StatIcon|Luck}}
|
- | |
Harvesting | {{StatIcon|Harvesting}}
|
- | |
Harvesting | {{StatIcon|name=Harvesting}}
|
- | |
Error | {{StatIcon|potato}}
|
potato does not exist as an icon | - |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Stat Name | name 1 | As shown on the Stats page
| String | required |