Jump to content

Template:Infobox item

From Megabonk Wiki
Revision as of 13:14, 4 October 2025 by MegaAdmin (talk | contribs) (Created page with "<includeonly> {| class="infobox" style="width:240px; float:right; margin:0 0 12px 12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:12px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.14); font-size:90%; text-align:left; line-height:1.45;" |- ! colspan="2" style="text-align:center; font-size:1.15em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}} |- | colspan="2" style="text-align...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template creates an infobox for items in Megabonk.

Required Parameters

  • name: The name of the item.
  • rarity: The item's rarity (e.g., Default, Common, Rare, Epic, Legendary).
  • effect: The in-game description of the item's effect.
  • unlock: The condition required to unlock the item. For default items, this can be left as "Default Item".

Optional Parameters

  • image: The file name for the item's image (e.g., Moldy Cheese.png). Defaults to the page name if not provided.
  • type: The type of item. Defaults to "Item".
  • notes: Any additional notes or synergies for the item.

Example for a Default Item (Moldy Cheese)

Copy and paste the following code onto an item's page and fill in the details.

{{Infobox item
| name     = Moldy Cheese
| image    = Moldy Cheese.png
| rarity   = Default
| type     = Item
| effect   = +40% chance to poison enemies on hit.
| unlock   = Default Item
| notes    = A reliable source of healing, especially effective with builds that kill many enemies quickly.
}}

Example for an Unlockable Item (Battery)

{{Infobox item
| name     = Battery
| image    = Battery.png
| rarity   = Common
| type     = Item
| effect   = +8% Attack Speed.
| unlock   = Upgrade ''Cooldown Tome'' to Level 5.
| notes    = None
}}