Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Infobox enchantment/doc

Template page
Revision as of 18:32, 5 April 2026 by imported>PenguinEncounter2 (remove template parameters that aren't real (???))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header Template:Shortcut This template provides a uniform infobox for all enchantment pages.

Usage

{{Enchantment
| title =
| othernames =
| maxlevel =
| primaryitems =
| secondaryitems =
| weight =
| id =
| incompat =
| overleveling =
}}
Parameter Function Default value
1, title The enchantment's name {{BASEPAGENAME}}
othernames Other names for the enchantment (in variants of English in the language options) None
maxlevel The enchantment's maximum level
primaryitems Items which can be used for this enchantment in an enchantment table None
secondaryitems Other legitimate items for this enchantment: when using an enchanted book on an anvil None
weight The enchantment's relative probability of being offered
id The identifier of the enchantment
idraw Wikitext for the identifier of the enchantment (for example, if the identifier differs between Java and Bedrock.) Incompatible with id.
incompat Other enchantments incompatible with this one
overleveling The behavior the enchantment takes when scaled greater than normal using commands

<templatedata> { "params": { "1": { "aliases": [ "title" ], "label": "Enchantment name", "description": "The name of the enchantment, if it differs from the title.", "example": "Sharpness", "type": "string" }, "othernames": { "label": "Other names", "description": "The name of the enchantment in other variants of English, if it is different from the American English name.", "example": "Channelling", "type": "string" }, "maxlevel": { "label": "Maximum level", "description": "The maximum possible level acquirable in survival with no cheats.", "example": "4", "suggested": true }, "primaryitems": { "label": "Primary items", "description": "Items which can be used for this enchantment in an enchantment table.", "suggested": true }, "secondaryitems": { "label": "Secondary items", "description": "Items that this enchantment can be applied to, when using an enchanted book on an anvil." }, "weight": { "label": "Weight", "description": "The probability for this enchantment to be offered in an enchanting table.", "type": "number", "suggested": true }, "incompat": { "label": "Incompatibilities", "description": "A list of enchantments that are incompatible with this enchantment.", "suggested": true }, "overleveling": { "label": "Overleveling behavior", "description": "How the enchantment scales when exceeding the maximum normal level.", "type": "string" }, "id": { "label": "Identifier", "description": "The identifier of the enchantment.", "example": "strength", "type": "string", "suggested": true }, "idraw": { "label": "Raw Identifier wikitext", "type": "content", "description": "Wikitext for the identifier of the enchantment (for example, if the identifier differs between Java and Bedrock.) Incompatible with Identifier." } }, "format": "block", "description": "Creates an infobox for an enchantment.", "paramOrder": [ "1", "othernames", "maxlevel", "primaryitems", "secondaryitems", "weight", "id", "idraw", "incompat", "overleveling" ] } </templatedata>

See also

Template:Infobox see also


de:Vorlage:Verzauberung/Dokumentation es:Plantilla:Infobox encantamiento/doc fr:Modèle:Infobox enchantement/doc it:Template:Incantesimo/doc ja:テンプレート:Infobox enchantment/doc ko:틀:Enchantment/doc lzh:模板:Enchantment/doc pt:Predefinição:Infobox de encantamento/doc ru:Шаблон:Карточка чар/док th:แม่แบบ:Infobox enchantment/doc uk:Шаблон:Чари/док zh:Template:Infobox enchantment/doc