Template:Infobox enchantment/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Documentation and templatedata
m Use <code> tag instead of {{code}}
Line 7: Line 7:
! Default value
! Default value
|-
|-
| {{code|1|d=or|title}}
| <code>1</code>, <code>title</code>
| The enchantment's name
| The enchantment's name
| {{code|<nowiki>{{BASEPAGENAME}}</nowiki>}}
| {{code|<nowiki>{{BASEPAGENAME}}</nowiki>}}

Revision as of 04:14, 10 July 2021

This is the documentation page. It should be transcluded into Template:Infobox enchantment. See Template:Documentation for more information.

Template:Enchantment This template provides a uniform design for the infobox on the Enchanting page.

Parameter Function Default value
1, title The enchantment's name {{BASEPAGENAME}}
maxlevel The enchantment's maximum level
primaryitems Items which can be offered the enchantment by an enchantment table None
secondaryitems Other legitimate items None
weight The enchantment's relative probability of being offered
incompat Other enchantments incompatible with this one
overleveling The behavior the enchantment takes when scaled greater than normal using commands


es:Plantilla:Encantamiento/doc ja:テンプレート:Enchantment/doc

No description.

Template parameters

ParameterDescriptionTypeStatus
Enchantment name1 title

The name of the enchantment, if it differs from the title.

Example
Sharpness
Stringoptional
Maximum levelmaxlevel level

The maximum possible level acquirable in survival with no cheats.

Example
4
Unknownsuggested
Primary itemsprimaryitems primary

Items which can be offered this enchantment in an enchantment table.

Unknownsuggested
Secondary itemssecondaryitems secondary

Other items that this enchantment items can be applied to

Unknownoptional
Weightweight

The probability for this enchantment to be offered in an enchanting table.

Numbersuggested
Incompatibilitiesincompat incompatible incompatibilities

A list of enchantments that are incompatible with this enchantment.

Unknownsuggested
Overleveling behavioroverleveling

How the enchantment scales when exceeding the maximum normal level.

Stringoptional