Template:Infobox enchantment: Difference between revisions

mNo edit summary
m 57 revisions imported
 
(26 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
|title={{{1|{{{title|{{BASEPAGENAME}} }}} }}}
|title={{{1|{{BASEPAGENAME}}}}}
|imagearea=none
|imagearea=none
|rows=
|rows=
{{infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | <span style="font-family: serif;">{{{maxlevel}}}</span> | — }}
{{Infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | {{{maxlevel}}} | — }} }}
}}
{{Infobox row|{{tooltip|Primary items|Items that can receive the enchantment from an enchanting table}}|{{{primaryitems|''None''}}} }}
{{infobox row|Primary items|{{{primaryitems|''None''}}}}}
{{Infobox row|{{tooltip|Secondary items|Items that cannot receive the enchantment from an enchanting table but can receive it from an enchanted book on an anvil.}}|{{{secondaryitems|''None''}}} }}
{{infobox row|Secondary items|{{{secondaryitems|''None''}}}}}
{{Infobox row|{{tooltip|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }}
{{infobox row|Enchantment weight|{{{weight|—}}}}}
{{#if: {{{id|}}} | {{Infobox row|[[Resource location|Identifier]]|<code>{{{id}}}</code> }} }}
{{#if: {{{incompat|}}} | {{infobox row|Incompatible with|{{{incompat}}} }} }}
{{#if: {{{incompat|}}} | {{Infobox row|Incompatible with|{{{incompat}}} }} }}
{{#if: {{{sounds|}}} | {{infobox row|Sounds |{{{sounds|}}} }} }}
{{#if: {{{overleveling|}}} | {{Infobox row|{{abbr|Overleveling behavior|How the enchantment's behavior scales when exceeding the maximum level via commands or other means.}}|{{{overleveling}}} }} }}
{{infobox row|label=[[Namespaced ID]]|field={{
}}<noinclude>
  #if: {{{nameid|}}}
{{documentation}}
  | <div style="word-break:break-all">{{{nameid}}}</div>
<!-- Put categories/interwiki on the documentation page -->
  | <div style="word-break:break-all">{{lc: {{#replace: {{{title| {{BASEPAGENAME}} }}} | | _ }} }}</div>
</noinclude>
  }}
}}
{{#if: {{{id|}}} | {{infobox row|label=[[Data values|Numeric ID]]|field={{{id}}} }} }}
 
}}</includeonly><noinclude>
{{documentation}}</noinclude>