From Brotato Wiki

(add icon for Materials)
(Add Curse)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  | engineering= <!--
  | engineering= <!--
        -->[[File:Engineering_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Engineering}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Engineering]]}}
        -->[[File:Engineering_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Engineering}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Engineering]]}}
  | luck = <!--
  | level = <!--
        -->[[File:Level.png|link={{#ifeq:{{{nolink|}}}|1||}}|x20px]]{{#if:{{{text|}}}|<wbr> Level}}
| luck = <!--
        -->[[File:Luck.png|link={{#ifeq:{{{nolink|}}}|1||Luck}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Luck]]}}
        -->[[File:Luck.png|link={{#ifeq:{{{nolink|}}}|1||Luck}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Luck]]}}
  | max hp
  | max hp
Line 43: Line 45:
  | materials = <!--
  | materials = <!--
        -->[[File:Materials.png|link=|x20px]]{{#if:{{{text|}}}|<wbr> Materials}}
        -->[[File:Materials.png|link=|x20px]]{{#if:{{{text|}}}|<wbr> Materials}}
| curse = <!--
        -->[[File:Curse.png|link=|x20px]]{{#if:{{{text|}}}|<wbr> Curse}}
  | #default = <!--
  | #default = <!--
        -->{{{1}}} does not exist as an icon
        -->{{{1}}} does not exist as an icon
Line 145: Line 149:
|<code><nowiki>{{StatIcon|name=Materials}}</nowiki></code>
|<code><nowiki>{{StatIcon|name=Materials}}</nowiki></code>
|{{StatIcon|Materials}}
|{{StatIcon|Materials}}
| -
|-
|Level
|<code><nowiki>{{StatIcon|name=Level}}</nowiki></code>
|{{StatIcon|Level}}
| -
|-
|[[Curse]]
|<code><nowiki>{{StatIcon|name=Curse}}</nowiki></code>
|{{StatIcon|Curse}}
| -
| -
|}
|}

Latest revision as of 22:11, 27 October 2024


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
Attack Speed {{StatIcon|Attack Speed}} Attack Speed.png AttackSpeed
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 -
Materials {{StatIcon|name=Materials}} Materials.png -
Level {{StatIcon|name=Level}} Level.png -
Curse {{StatIcon|name=Curse}} Curse.png -

Options

Show a text link: {{StatIcon|Max HP|text=1}} = Max HP.png Max HP

Don't make the image icon link: {{StatIcon|Max HP|nolink=1}} = Max HP.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
Show Text Link?text

Enable to show a text link to the Stat's page

Booleansuggested