From Brotato Wiki

Revision as of 03:07, 9 November 2022 by Darkly77 (talk | contribs) (Docs: Add "wantedtags" to main example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Usage

Shows an infobox for a Character. Accepts custom data, but should ideally be used with Template:Character_Data.

Note: The helper template Template:Infobox_Character_Helper ({{Infobox_Character_Helper}}) can be used on individual character pages, and automatically populates the data for you.

With Character_Data

This uses Character_Data, and is the recommended approach.

{{Infobox Character 
|name       = Bull
|stats      = {{Character Data|Bull|stats}}
|unlockedby = {{Character Data|Bull|unlockedby}}
|unlocks    = {{Character Data|Bull|unlocks}}
|unlocktype = {{Character Data|Bull|unlocktype}}
|wantedtags = {{Character Data|Bull|wantedtags}}
}}

Result:


Bull
Bull
Character
Stats
+20 Max HP
+15 HP Regeneration
+10 Armor
HP Regeneration modifications are increased by 50%
You explode for 30 (300%Melee Damage.png 300%Ranged Damage.png 300%Elemental Damage.png) damage when you take damage
This explosion has a 1.5x crit multiplier
You can't equip weapons
Unlocked By
Win a run in Danger 1
Unlocks
Gnome
  Gnome


Custom Text

{{Infobox Character
|name       = Tree
|stats      = {{Color|green|+10}} Good vibes
|unlockedby = Go on a walk somewhere nice
|wantedtags = [[Exploration]]
}}

Result:


Tree
Tree
Character
Stats
+10 Good vibes
Unlocked By
Go on a walk somewhere nice