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}} Max HP.png MaxHP
HP Regeneration {{StatIcon|HP Regeneration}} HP Regeneration.png HPRegen
Life Steal {{StatIcon|Life Steal}} Life Steal.png Lifesteal
Damage {{StatIcon|Damage}} Damage.png -
Melee Damage {{StatIcon|Melee Damage}} Melee Damage.png MeleeDamage
Ranged Damage {{StatIcon|Ranged Damage}} Ranged Damage.png RangedDamage
Elemental Damage {{StatIcon|Elemental Damage}} Elemental Damage.png ElementalDamage
Crit Chance {{StatIcon|Crit Chance}} Crit Chance.png CritChance
Engineering {{StatIcon|Engineering}} Engineering Stat.png -
Range {{StatIcon|Range}} Range Stat.png -
Armor {{StatIcon|Armor}} Armor.png -
Dodge {{StatIcon|Dodge}} Dodge Stat.png -
Speed {{StatIcon|Speed}} Speed Stat.png -
Luck {{StatIcon|Luck}} Luck.png -
Harvesting {{StatIcon|Harvesting}} Harvesting.png -
Harvesting {{StatIcon|name=Harvesting}} Harvesting.png -
Error {{StatIcon|potato}} potato does not exist as an icon -

No description.

Template parameters

ParameterDescriptionTypeStatus
Stat Namename 1

As shown on the Stats page

Example
Max HP
Stringrequired