Jump to content

Template:Infobox item

From Megabonk Wiki
Revision as of 16:01, 4 October 2025 by MegaAdmin (talk | contribs)

Usage

This template creates a lean infobox for items in Megabonk. It automatically colors both the item's name and its rarity text based on the rarity value.

Parameters

  • name: The name of the item.
  • rarity: The item's rarity (Default, Common, Uncommon, Rare, Epic, Legendary).
  • effect: The in-game description of the item's effect.
  • image: (Optional) The file name for the item's image.
  • type: (Optional) The type of item. Defaults to "Item".

Example Usage

{{Infobox item
| name     = Chonkplate
| image    = Item_Chonkplate.png
| rarity   = Legendary
| type     = Item
| effect   = Grants +20% Lifesteal and allows healing above max HP to create an Overheal shield.
}}

</includeonly>