From Brotato Wiki

(INITIAL \o/)
 
(Add docs)
 
Line 1: Line 1:
{{StatsCard
<includeonly><onlyinclude><!--
 
-->{{StatsCard
| name  = {{{1|{{name}}}}}
| name  = {{{1|{{name}}}}}
| type  = item
| type  = item
Line 7: Line 9:
| tags  =  
| tags  =  
| stat1  = {{Item Data|{{{1|{{name}}}}}|stats}}
| stat1  = {{Item Data|{{{1|{{name}}}}}|stats}}
}}
}}<!--
 
--></onlyinclude></includeonly><noinclude>
 
Creates a [[Template:StatsCard|StatsCard]] with automatically populated data, using only the item name.
 
==Examples==
 
{| class="wikitable"
!Code
!Result
|-
|<pre>{{AutoStatsCard_Item|Acid}}</pre>
|{{AutoStatsCard_Item|Acid}}
|-
|<pre>{{AutoStatsCard_Item|Adrenaline}}</pre>
|{{AutoStatsCard_Item|Adrenaline}}
|-
|<pre>{{AutoStatsCard_Item|}}</pre>
|{{AutoStatsCard_Item|Baby Elephant}}
|}
 
</noinclude>

Latest revision as of 23:44, 7 November 2024


Creates a StatsCard with automatically populated data, using only the item name.

Examples

Code Result
{{AutoStatsCard_Item|Acid}}

Acid.png

Acid
Item
  • +8 Max HP
    -2 % Dodge
    -2 Knockback
{{AutoStatsCard_Item|Adrenaline}}

Adrenaline.png

Adrenaline
Unique
  • +5 % Dodge
    50% chance to heal 5 HP when dodging an attack
{{AutoStatsCard_Item|}}

Baby Elephant.png

Baby Elephant
Item
  • 25% chance to deal 1 (25%Luck.png) damage to a random enemy when you pick up a material