Template:Infobox enchantment: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
created template
 
+defaults
Line 3: Line 3:
|imagearea=none
|imagearea=none
|rows=
|rows=
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}}}} }}
{{infobox row|ID|{{{id|—}}}}}
{{#if: {{{maxlevel|}}} | {{infobox row|Maximum Level|{{{maxlevel}}}}} }}
{{infobox row|Maximum Level|{{{maxlevel|—}}}}}
{{#if: {{{primaryitems|}}} | {{infobox row|Primary Items|{{{primaryitems}}}}} }}
{{infobox row|Primary Items|{{{primaryitems|—}}}}}
{{#if: {{{secondaryitems|}}} | {{infobox row|Secondary Items|{{{secondaryitems}}}}} }}
{{infobox row|Secondary Items|{{{secondaryitems|—}}}}}
{{#if: {{{weight|}}} | {{infobox row|Enchantment Weight|{{{weight}}}}} }}
{{infobox row|Enchantment Weight|{{{weight|—}}}}}
}}<noinclude>
}}<noinclude>
{{documentation|content=
{{documentation|content=
Line 23: Line 23:
| <code>id</code>
| <code>id</code>
| The enchantment's numerical ID(s)
| The enchantment's numerical ID(s)
| ''None''
|
|-
|-
| <code>maxlevel</code>
| <code>maxlevel</code>
| The enchantment's maximum level
| The enchantment's maximum level
| ''None''
|
|-
|-
| <code>primaryitems</code>
| <code>primaryitems</code>
| Items which can be offered the enchantment by an enchantment table
| Items which can be offered the enchantment by an enchantment table
| ''None''
|
|-
|-
| <code>secondaryitems</code>
| <code>secondaryitems</code>
| Other legitimate items
| Other legitimate items
| ''None''
|
|-
|-
| <code>weight</code>
| <code>weight</code>
| The enchantment's relative probability of being offered
| The enchantment's relative probability of being offered
| ''None''
|
|}
|}
}}
}}

Revision as of 19:10, 13 February 2017

{{{1}}}
ID

Maximum Level

Primary Items

Secondary Items

Enchantment Weight

[edit] [history] [refresh]Documentation

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