Template:Infobox entity: Difference between revisions

No edit summary
m 173 revisions imported
 
(75 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| invimage = none
| invimage = none
| rows =
| rows =
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }}
{{ #if: {{{armor|}}} | {{infobox row|label=[[Armor|Armor points]]|field={{{armor}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{behavior|}}} | {{infobox row|label=Behavior|field={{{behavior}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack strength|field={{{damage}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }}
{{ #if: {{{size|}}} | {{infobox row|label=Size|field={{{size}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{ #if: {{{spawn|}}} | {{infobox row|label=[[Spawn]]|field={{{spawn}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{ #if: {{{equipment|}}} | {{infobox row|class=list-style-none|label=[[Drops#Equipped items|Natural equipment]]|field={{{equipment}}}}} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
{{ #if: {{{usableitems|}}} | {{infobox row|class=list-style-none|label=Usable items|field={{{usableitems}}}}} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{id|}}} | {{infobox row|label=<abbr title="ID used internally, and in network traffic unless otherwise specified (byte)">Internal ID</abbr><br>(deprec., transfer to ID table)|field={{#if: {{{id|}}} | {{{id}}} | ? }} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{networkid|}}} | {{infobox row|label=<abbr title="ID in network traffic, if different from ID used internally (byte)">Network ID</abbr><br>(deprec., transfer to ID table)|field={{{networkid|}}}}} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
{{ #if: {{{entityid|}}} | {{infobox row|label=[[Namespaced ID]]<br>(deprec., transfer to ID table)|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }} }}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
| footer =
| footer =
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
}}</includeonly><noinclude>
}}<noinclude>
{{documentation}}
{{Documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>