Template:Infobox enchantment: Difference between revisions

mNo edit summary
made optional
Line 9: Line 9:
{{infobox row|<abbr title{{=}}"Relative chance of the enchantment being offered.">Enchantment weight</abbr>|{{{weight|—}}}}}
{{infobox row|<abbr title{{=}}"Relative chance of the enchantment being offered.">Enchantment weight</abbr>|{{{weight|—}}}}}
{{#if: {{{incompat|}}} | {{infobox row|Incompatible with|{{{incompat}}} }} }}
{{#if: {{{incompat|}}} | {{infobox row|Incompatible with|{{{incompat}}} }} }}
{{infobox row|label=[[Namespaced ID]]<abbr title="Transfer to ID table">*</abbr>|field={{
{{#if: {{{nameid|}}} | {{infobox row|label=Uses deprecated nameid parameter[[Category:Infobox uses deprecated data parameters]]|field={{{nameid}}} }} }}
  #if: {{{nameid|}}}
  | <div style="word-break:break-all">{{{nameid}}}</div>
  | <div style="word-break:break-all">{{lc: {{#replace: {{{title| {{BASEPAGENAME}} }}} | | _ }} }}</div>
  }}
}}
{{#if: {{{id|}}} | {{infobox row|label=[[Data values|Numeric ID]]<abbr title="Transfer to ID table">*</abbr>|field={{{id}}} }} }}
{{#if: {{{id|}}} | {{infobox row|label=[[Data values|Numeric ID]]<abbr title="Transfer to ID table">*</abbr>|field={{{id}}} }} }}


}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>