Template:Infobox enchantment/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
m document about the id fields
Line 31: Line 31:
| <code>sounds</code>
| <code>sounds</code>
| Sounds made when enchantment takes effect (if any)
| Sounds made when enchantment takes effect (if any)
| (not shown)
|-
| <code>nameid</code>
| The namespaced ID of this enchantment
| {{code|<nowiki>{{BASEPAGENAME}}</nowiki>}}
|-
| <code>id</code>
| The numeric ID of this enchantment
| (not shown)
| (not shown)
|-
|-
|}
|}

Revision as of 07:04, 25 May 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)
sounds Sounds made when enchantment takes effect (if any) (not shown)
nameid The namespaced ID of this enchantment {{BASEPAGENAME}}
id The numeric ID of this enchantment (not shown)