Template:Infobox entity: Difference between revisions

Added family parameter for BE. Families are used in commands and defined in BP.
m 173 revisions imported
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| invimage = none
| invimage = none
| rows =
| rows =
{{ #if: {{{health|}}} | {{Infobox row|[[Health|Health points]]|{{{health}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{tooltip|Classification|Java Edition only}}|{{{classification}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}