Template:Infobox enchantment/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Created page with "This template provides a uniform design for the infobox on the Enchanting page. {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>1</code> | The encha..."
 
No edit summary
Line 5: Line 5:
! Default value
! Default value
|-
|-
| <code>1</code>
| {{code|1|d=or|title}}
| The enchantment's name
| The enchantment's name
| ''None''
| {{code|<nowiki>{{BASEPAGENAME}}</nowiki>}}
|-
|-
| <code>maxlevel</code>
| <code>maxlevel</code>
Line 23: Line 23:
| <code>weight</code>
| <code>weight</code>
| The enchantment's relative probability of being offered
| The enchantment's relative probability of being offered
| (not shown)
|-
|-
| <code>incompat</code>
| <code>incompat</code>

Revision as of 03:52, 5 April 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)