From Brotato Wiki
m (docs: fix wrong name for Attack Speed) |
(`DLC_Link` > `DLCLink`) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
-->{{#switch:{{lc:{{{name|{{{1|}}}}}}}} | -->{{#switch:{{lc:{{{name|{{{1|}}}}}}}} | ||
| armor = <!-- | | armor = <!-- | ||
-->[[File:Armor.png|link=Armor|x20px]] | -->[[File:Armor.png|link={{#ifeq:{{{nolink|}}}|1||Armor}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Armor]]}} | ||
| elemental damage | | elemental damage | ||
| elementaldamage = <!-- | | elementaldamage = <!-- | ||
-->[[File:Elemental_Damage.png|link=Elemental_Damage|x20px]] | -->[[File:Elemental_Damage.png|link={{#ifeq:{{{nolink|}}}|1||Elemental_Damage}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Elemental Damage]]}} | ||
| engineering= <!-- | | engineering= <!-- | ||
-->[[File:Engineering_Stat.png|link=Engineering|x20px]] | -->[[File:Engineering_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Engineering}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Engineering]]}} | ||
| luck = <!-- | | level = <!-- | ||
-->[[File:Luck.png|link=Luck|x20px]] | -->[[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]]}} | |||
| max hp | | max hp | ||
| maxhp = <!-- | | maxhp = <!-- | ||
-->[[File:Max_HP.png|link=Max_HP|x20px]] | -->[[File:Max_HP.png|link={{#ifeq:{{{nolink|}}}|1||Max_HP}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Max HP]]}} | ||
| melee damage | | melee damage | ||
| meleedamage = <!-- | | meleedamage = <!-- | ||
-->[[File:Melee_Damage.png|link=Melee_Damage|x20px]] | -->[[File:Melee_Damage.png|link={{#ifeq:{{{nolink|}}}|1||Melee_Damage}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Melee Damage]]}} | ||
| range = <!-- | | range = <!-- | ||
-->[[File:Range_Stat.png|link=Range|x20px]] | -->[[File:Range_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Range}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Range]]}} | ||
| ranged damage | | ranged damage | ||
| rangeddamage= <!-- | | rangeddamage= <!-- | ||
-->[[File:Ranged_Damage.png|link=Ranged_Damage|x20px]] | -->[[File:Ranged_Damage.png|link={{#ifeq:{{{nolink|}}}|1||Ranged_Damage}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Ranged Damage]]}} | ||
| attack speed | | attack speed | ||
| attackspeed = <!-- | | attackspeed = <!-- | ||
-->[[File:Attack_Speed.png|link=Attack_Speed|x20px]] | -->[[File:Attack_Speed.png|link={{#ifeq:{{{nolink|}}}|1||Attack_Speed}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Attack Speed]]}} | ||
| crit chance | | crit chance | ||
| critchance = <!-- | | critchance = <!-- | ||
-->[[File:Crit_Chance.png|link=Crit_Chance|x20px]] | -->[[File:Crit_Chance.png|link={{#ifeq:{{{nolink|}}}|1||Crit_Chance}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Crit Chance]]}} | ||
| damage = <!-- | | damage = <!-- | ||
-->[[File:Damage.png|link=Damage|x20px]] | -->[[File:Damage.png|link={{#ifeq:{{{nolink|}}}|1||Damage}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Damage]]}} | ||
| dodge = <!-- | | dodge = <!-- | ||
-->[[File:Dodge_Stat.png|link=Dodge|x20px]] | -->[[File:Dodge_Stat.png|link={{#ifeq:{{{nolink|}}}|1||Dodge}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Dodge]]}} | ||
| harvesting = <!-- | | harvesting = <!-- | ||
-->[[File:Harvesting.png|link=Harvesting|x20px]] | -->[[File:Harvesting.png|link={{#ifeq:{{{nolink|}}}|1||Harvesting}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Harvesting]]}} | ||
| hp regeneration | | hp regeneration | ||
| hpregen = <!-- | | hpregen = <!-- | ||
-->[[File:HP_Regeneration.png|link=HP_Regeneration|x20px]] | -->[[File:HP_Regeneration.png|link={{#ifeq:{{{nolink|}}}|1||HP_Regeneration}}|x20px]]{{#if:{{{text|}}}|<wbr> [[HP Regeneration]]}} | ||
| life steal | | life steal | ||
| lifesteal = <!-- | | lifesteal = <!-- | ||
-->[[File:Life_Steal.png|link=Life_Steal|x20px]] | -->[[File:Life_Steal.png|link={{#ifeq:{{{nolink|}}}|1||Life_Steal}}|x20px]]{{#if:{{{text|}}}|<wbr> [[Life Steal]]}} | ||
| speed = <!-- | | speed = <!-- | ||
-->[[File:Speed_Stat.png|link=Speed|x20px]] | -->[[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> {{DLCLink|Curse}}}} | |||
| #default = <!-- | | #default = <!-- | ||
-->{{{1}}} does not exist as an icon | -->{{{1}}} does not exist as an icon | ||
Line 58: | Line 64: | ||
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Code | !style="background-color: rgb(220,220,220,0.2); color: #eee;"| Code | ||
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Preview | !style="background-color: rgb(220,220,220,0.2); color: #eee;"| Preview | ||
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| With Text - Code | |||
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| With Text - Preview | |||
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Alias | !style="background-color: rgb(220,220,220,0.2); color: #eee;"| Alias | ||
|- | |- | ||
Line 63: | Line 71: | ||
|<code><nowiki>{{StatIcon|Max HP}}</nowiki></code> | |<code><nowiki>{{StatIcon|Max HP}}</nowiki></code> | ||
|{{StatIcon|Max HP}} | |{{StatIcon|Max HP}} | ||
|<code><nowiki>{{StatIcon|Max HP|text=1}}</nowiki></code> | |||
|{{StatIcon|Max HP|text=1}} | |||
|<code><nowiki>MaxHP</nowiki></code> | |<code><nowiki>MaxHP</nowiki></code> | ||
|- | |- | ||
Line 68: | Line 78: | ||
|<code><nowiki>{{StatIcon|HP Regeneration}}</nowiki></code> | |<code><nowiki>{{StatIcon|HP Regeneration}}</nowiki></code> | ||
|{{StatIcon|HP Regeneration}} | |{{StatIcon|HP Regeneration}} | ||
|<code><nowiki>{{StatIcon|HP Regeneration|text=1}}</nowiki></code> | |||
|{{StatIcon|HP Regeneration|text=1}} | |||
|<code><nowiki>HPRegen</nowiki></code> | |<code><nowiki>HPRegen</nowiki></code> | ||
|- | |- | ||
Line 73: | Line 85: | ||
|<code><nowiki>{{StatIcon|Life Steal}}</nowiki></code> | |<code><nowiki>{{StatIcon|Life Steal}}</nowiki></code> | ||
|{{StatIcon|Life Steal}} | |{{StatIcon|Life Steal}} | ||
|<code><nowiki>{{StatIcon|Life Steal|text=1}}</nowiki></code> | |||
|{{StatIcon|Life Steal|text=1}} | |||
|<code><nowiki>Lifesteal</nowiki></code> | |<code><nowiki>Lifesteal</nowiki></code> | ||
|- | |- | ||
Line 78: | Line 92: | ||
|<code><nowiki>{{StatIcon|Damage}}</nowiki></code> | |<code><nowiki>{{StatIcon|Damage}}</nowiki></code> | ||
|{{StatIcon|Damage}} | |{{StatIcon|Damage}} | ||
|<code><nowiki>{{StatIcon|Damage|text=1}}</nowiki></code> | |||
|{{StatIcon|Damage|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 83: | Line 99: | ||
|<code><nowiki>{{StatIcon|Melee Damage}}</nowiki></code> | |<code><nowiki>{{StatIcon|Melee Damage}}</nowiki></code> | ||
|{{StatIcon|Melee Damage}} | |{{StatIcon|Melee Damage}} | ||
|<code><nowiki>{{StatIcon|Melee Damage|text=1}}</nowiki></code> | |||
|{{StatIcon|Melee Damage|text=1}} | |||
|<code><nowiki>MeleeDamage</nowiki></code> | |<code><nowiki>MeleeDamage</nowiki></code> | ||
|- | |- | ||
Line 88: | Line 106: | ||
|<code><nowiki>{{StatIcon|Ranged Damage}}</nowiki></code> | |<code><nowiki>{{StatIcon|Ranged Damage}}</nowiki></code> | ||
|{{StatIcon|Ranged Damage}} | |{{StatIcon|Ranged Damage}} | ||
|<code><nowiki>{{StatIcon|Ranged Damage|text=1}}</nowiki></code> | |||
|{{StatIcon|Ranged Damage|text=1}} | |||
|<code><nowiki>RangedDamage</nowiki></code> | |<code><nowiki>RangedDamage</nowiki></code> | ||
|- | |- | ||
Line 93: | Line 113: | ||
|<code><nowiki>{{StatIcon|Elemental Damage}}</nowiki></code> | |<code><nowiki>{{StatIcon|Elemental Damage}}</nowiki></code> | ||
|{{StatIcon|Elemental Damage}} | |{{StatIcon|Elemental Damage}} | ||
|<code><nowiki>{{StatIcon|Elemental Damage|text=1}}</nowiki></code> | |||
|{{StatIcon|Elemental Damage|text=1}} | |||
|<code><nowiki>ElementalDamage</nowiki></code> | |<code><nowiki>ElementalDamage</nowiki></code> | ||
|- | |- | ||
Line 98: | Line 120: | ||
|<code><nowiki>{{StatIcon|Attack Speed}}</nowiki></code> | |<code><nowiki>{{StatIcon|Attack Speed}}</nowiki></code> | ||
|{{StatIcon|Attack Speed}} | |{{StatIcon|Attack Speed}} | ||
|<code><nowiki>{{StatIcon|Attack Speed|text=1}}</nowiki></code> | |||
|{{StatIcon|Attack Speed|text=1}} | |||
|<code><nowiki>AttackSpeed</nowiki></code> | |<code><nowiki>AttackSpeed</nowiki></code> | ||
|- | |- | ||
Line 103: | Line 127: | ||
|<code><nowiki>{{StatIcon|Crit Chance}}</nowiki></code> | |<code><nowiki>{{StatIcon|Crit Chance}}</nowiki></code> | ||
|{{StatIcon|Crit Chance}} | |{{StatIcon|Crit Chance}} | ||
|<code><nowiki>{{StatIcon|Crit Chance|text=1}}</nowiki></code> | |||
|{{StatIcon|Crit Chance|text=1}} | |||
|<code><nowiki>CritChance</nowiki></code> | |<code><nowiki>CritChance</nowiki></code> | ||
|- | |- | ||
Line 108: | Line 134: | ||
|<code><nowiki>{{StatIcon|Engineering}}</nowiki></code> | |<code><nowiki>{{StatIcon|Engineering}}</nowiki></code> | ||
|{{StatIcon|Engineering}} | |{{StatIcon|Engineering}} | ||
|<code><nowiki>{{StatIcon|Engineering|text=1}}</nowiki></code> | |||
|{{StatIcon|Engineering|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 113: | Line 141: | ||
|<code><nowiki>{{StatIcon|Range}}</nowiki></code> | |<code><nowiki>{{StatIcon|Range}}</nowiki></code> | ||
|{{StatIcon|Range}} | |{{StatIcon|Range}} | ||
|<code><nowiki>{{StatIcon|Range|text=1}}</nowiki></code> | |||
|{{StatIcon|Range|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 118: | Line 148: | ||
|<code><nowiki>{{StatIcon|Armor}}</nowiki></code> | |<code><nowiki>{{StatIcon|Armor}}</nowiki></code> | ||
|{{StatIcon|Armor}} | |{{StatIcon|Armor}} | ||
|<code><nowiki>{{StatIcon|Armor|text=1}}</nowiki></code> | |||
|{{StatIcon|Armor|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 123: | Line 155: | ||
|<code><nowiki>{{StatIcon|Dodge}}</nowiki></code> | |<code><nowiki>{{StatIcon|Dodge}}</nowiki></code> | ||
|{{StatIcon|Dodge}} | |{{StatIcon|Dodge}} | ||
|<code><nowiki>{{StatIcon|Dodge|text=1}}</nowiki></code> | |||
|{{StatIcon|Dodge|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 128: | Line 162: | ||
|<code><nowiki>{{StatIcon|Speed}}</nowiki></code> | |<code><nowiki>{{StatIcon|Speed}}</nowiki></code> | ||
|{{StatIcon|Speed}} | |{{StatIcon|Speed}} | ||
|<code><nowiki>{{StatIcon|Speed|text=1}}</nowiki></code> | |||
|{{StatIcon|Speed|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 133: | Line 169: | ||
|<code><nowiki>{{StatIcon|Luck}}</nowiki></code> | |<code><nowiki>{{StatIcon|Luck}}</nowiki></code> | ||
|{{StatIcon|Luck}} | |{{StatIcon|Luck}} | ||
|<code><nowiki>{{StatIcon|Luck|text=1}}</nowiki></code> | |||
|{{StatIcon|Luck|text=1}} | |||
| - | | - | ||
|- | |- | ||
Line 138: | Line 176: | ||
|<code><nowiki>{{StatIcon|Harvesting}}</nowiki></code> | |<code><nowiki>{{StatIcon|Harvesting}}</nowiki></code> | ||
|{{StatIcon|Harvesting}} | |{{StatIcon|Harvesting}} | ||
|<code><nowiki>{{StatIcon|Harvesting|text=1}}</nowiki></code> | |||
|{{StatIcon|Harvesting|text=1}} | |||
| - | | - | ||
|- | |- | ||
| | |Materials | ||
|<code><nowiki>{{StatIcon|name= | |<code><nowiki>{{StatIcon|name=Materials}}</nowiki></code> | ||
|{{StatIcon| | |{{StatIcon|Materials}} | ||
|<code><nowiki>{{StatIcon|name=Materials|text=1}}</nowiki></code> | |||
|{{StatIcon|Materials|text=1}} | |||
| - | | - | ||
|- | |- | ||
| | |Level | ||
|<code><nowiki>{{StatIcon| | |<code><nowiki>{{StatIcon|name=Level}}</nowiki></code> | ||
|{{StatIcon| | |{{StatIcon|Level}} | ||
|<code><nowiki>{{StatIcon|name=Level|text=1}}</nowiki></code> | |||
|{{StatIcon|Level|text=1}} | |||
| - | | - | ||
|- | |- | ||
|[[Curse]] | |||
|<code><nowiki>{{StatIcon|name=Curse}}</nowiki></code> | |||
|{{StatIcon|Curse}} | |||
|<code><nowiki>{{StatIcon|name=Curse|text=1}}</nowiki></code> | |||
|{{StatIcon|Curse|text=1}} | |||
| - | |||
|} | |} | ||
== Options == | |||
Show a text link: | |||
<code><nowiki>{{StatIcon|Max HP|text=1}}</nowiki></code> = {{StatIcon|Max HP|text=1}} | |||
Don't make the image icon link: | |||
<code><nowiki>{{StatIcon|Max HP|nolink=1}}</nowiki></code> = {{StatIcon|Max HP|nolink=1}} | |||
Error: | |||
<code><nowiki>{{StatIcon|potato}}</nowiki></code> = {{StatIcon|potato}} | |||
<templatedata> | <templatedata> | ||
Line 165: | Line 227: | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true | ||
}, | |||
"text": { | |||
"suggested": true, | |||
"label": "Show Text Link?", | |||
"description": "Enable to show a text link to the Stat's page", | |||
"type": "boolean" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 23:10, 3 November 2024
Usage:
{{Staticon|any stat icon name}}
Full List
Name | Code | Preview | With Text - Code | With Text - Preview | Alias |
---|---|---|---|---|---|
Max HP | {{StatIcon|Max HP}}
|
{{StatIcon|Max HP|text=1}}
|
MaxHP
| ||
HP Regeneration | {{StatIcon|HP Regeneration}}
|
{{StatIcon|HP Regeneration|text=1}}
|
HPRegen
| ||
Life Steal | {{StatIcon|Life Steal}}
|
{{StatIcon|Life Steal|text=1}}
|
Lifesteal
| ||
Damage | {{StatIcon|Damage}}
|
{{StatIcon|Damage|text=1}}
|
- | ||
Melee Damage | {{StatIcon|Melee Damage}}
|
{{StatIcon|Melee Damage|text=1}}
|
MeleeDamage
| ||
Ranged Damage | {{StatIcon|Ranged Damage}}
|
{{StatIcon|Ranged Damage|text=1}}
|
RangedDamage
| ||
Elemental Damage | {{StatIcon|Elemental Damage}}
|
{{StatIcon|Elemental Damage|text=1}}
|
ElementalDamage
| ||
Attack Speed | {{StatIcon|Attack Speed}}
|
{{StatIcon|Attack Speed|text=1}}
|
AttackSpeed
| ||
Crit Chance | {{StatIcon|Crit Chance}}
|
{{StatIcon|Crit Chance|text=1}}
|
CritChance
| ||
Engineering | {{StatIcon|Engineering}}
|
{{StatIcon|Engineering|text=1}}
|
- | ||
Range | {{StatIcon|Range}}
|
{{StatIcon|Range|text=1}}
|
- | ||
Armor | {{StatIcon|Armor}}
|
{{StatIcon|Armor|text=1}}
|
- | ||
Dodge | {{StatIcon|Dodge}}
|
{{StatIcon|Dodge|text=1}}
|
- | ||
Speed | {{StatIcon|Speed}}
|
{{StatIcon|Speed|text=1}}
|
- | ||
Luck | {{StatIcon|Luck}}
|
{{StatIcon|Luck|text=1}}
|
- | ||
Harvesting | {{StatIcon|Harvesting}}
|
{{StatIcon|Harvesting|text=1}}
|
- | ||
Materials | {{StatIcon|name=Materials}}
|
{{StatIcon|name=Materials|text=1}}
|
- | ||
Level | {{StatIcon|name=Level}}
|
{{StatIcon|name=Level|text=1}}
|
- | ||
Curse | {{StatIcon|name=Curse}}
|
{{StatIcon|name=Curse|text=1}}
|
- |
Options
Show a text link:
{{StatIcon|Max HP|text=1}}
=
Don't make the image icon link:
{{StatIcon|Max HP|nolink=1}}
=
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 |
Show Text Link? | text | Enable to show a text link to the Stat's page | Boolean | suggested |