Template:Infobox item
Appearance
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
}}