Editing
Template:Infobox enchantment/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation header}} This template provides a uniform design for the infobox on the [[Enchanting]] page. <pre style="display:table"> {{Enchantment | title = | addedVersion = | addedDate = | removedVersion = | removedDate = | maxlevel = | primaryitems = | secondaryitems = | weight = | id = | incompat = | overleveling = }} </pre> {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>1</code>, <code>title</code> | The enchantment's name | <code><nowiki>{{BASEPAGENAME}}</nowiki></code> |- | <code>maxlevel</code> || The enchantment's maximum level || — |- | <code>addedVersion</code> || The version that added this enchantment || ''None'' |- | <code>addedDate</code> || The date that removed this enchantment || ''None'' |- | <code>removedVersion</code> || The version that removed the enchantment || ''None'' |- | <code>removedDate</code> || The date that removed this enchantment || ''None'' |- | <code>primaryitems</code> || Items which can be offered the enchantment by an enchantment table || ''None'' |- | <code>secondaryitems</code> || Other legitimate items || ''None'' |- | <code>weight</code> || The enchantment's relative probability of being offered || |- | <code>id</code>, <code>namespace</code>, <code>namespacedid</code> || The resource location of the enchantment || |- | <code>incompat</code> || Other enchantments incompatible with this one || |- | <code>overleveling</code> || 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" }, "maxlevel": { "aliases": [ "level" ], "label": "Maximum level", "description": "The maximum possible level acquirable in survival with no cheats.", "example": "4", "suggested": true }, "primaryitems": { "aliases": [ "primary" ], "label": "Primary items", "description": "Items which can be offered this enchantment in an enchantment table.", "suggested": true }, "secondaryitems": { "aliases": [ "secondary" ], "label": "Secondary items", "description": "Other items that this enchantment items can be applied to" }, "weight": { "label": "Weight", "description": "The probability for this enchantment to be offered in an enchanting table.", "type": "number", "suggested": true }, "incompat": { "aliases": [ "incompatible", "incompatibilities" ], "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" }, "versionAdded": { "aliases": [ "added" ], "label": "Version added", "description": "The version the enchantment first appeared.", "example": "18w47a" }, "dateAdded": { "label": "Date added", "description": "The date the enchantment first appeared.", "example": "{{Start date|2018|9|25}}", "type": "date" }, "versionRemoved": { "aliases": [ "removed" ], "label": "Version removed", "description": "The version that removed this enchantment", "example": "Beta 1.5" }, "dateRemoved": { "label": "Date removed", "description": "The date that this enchantment was removed.", "example": "{{End date|2011|12|19}}", "type": "date" }, "id": { "aliases": [ "namespace", "namespacedid" ], "label": "Resource location", "description": "The resource location of the enchantment.", "example": "strength", "type": "string", "suggested": true } }, "format": "block", "description": "Creates an infobox for an enchantment.", "paramOrder": [ "1", "versionAdded", "dateAdded", "versionRemoved", "dateRemoved", "maxlevel", "primaryitems", "secondaryitems", "weight", "id", "incompat", "overleveling" ] } </templatedata> ==See also== {{infobox see also}} <includeonly> <!-- template categories/interwikis here --> [[es:Plantilla:Encantamiento]] [[ja:テンプレート:Infobox enchantment]] [[ko:틀:Enchantment]] [[uk:Шаблон:Чари]] [[Category:Infobox templates]] </includeonly> <noinclude> <!-- doc categories/interwikis here --> [[es:Plantilla:Encantamiento/doc]] [[ja:テンプレート:Infobox enchantment/doc]] [[ko:틀:Enchantment/doc]] [[uk:Шаблон:Чари/док]] </noinclude>
Summary:
Please note that all contributions to Modded Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Documentation header
(
edit
)
Template:End date
(
edit
)
Template:Infobox see also
(
edit
)
Template:Start date
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Template:Yesno
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/styles.css
(
edit
)
Module:ProcessArgs
(
edit
)
Module:Static
(
edit
)
Module:TSLoader
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Refresh
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information