From Brotato Wiki

(add option: `nolink`)
(Add Curse)
 
(2 intermediate revisions 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 41: Line 43:
  | speed = <!--
  | speed = <!--
        -->[[File:Speed_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Speed}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Speed]]}}
        -->[[File:Speed_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Speed}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Speed]]}}
| 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 140: Line 146:
| -
| -
|-
|-
|[[Harvesting]]
|Materials
|<code><nowiki>{{StatIcon|name=Harvesting}}</nowiki></code>
|<code><nowiki>{{StatIcon|name=Materials}}</nowiki></code>
|{{StatIcon|Harvesting}}
|{{StatIcon|Materials}}
| -
|-
|Level
|<code><nowiki>{{StatIcon|name=Level}}</nowiki></code>
|{{StatIcon|Level}}
| -
|-
|[[Curse]]
|<code><nowiki>{{StatIcon|name=Curse}}</nowiki></code>
|{{StatIcon|Curse}}
| -
| -
|}
|}
== Options ==


Show a text link:
Show a text link:

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