Template:Infobox enchantment/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m document about the id fields
No edit summary
Line 27: Line 27:
| <code>incompat</code>
| <code>incompat</code>
| Other enchantments incompatible with this one
| Other enchantments incompatible with this one
| (not shown)
|-
| <code>sounds</code>
| Sounds made when enchantment takes effect (if any)
| (not shown)
| (not shown)
|-
|-

Revision as of 07:51, 3 October 2019

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

Parameter Function Default value
1 or 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 (not shown)
incompat Other enchantments incompatible with this one (not shown)
nameid The namespaced ID of this enchantment {{BASEPAGENAME}}
id The numeric ID of this enchantment (not shown)