Template:Infobox entity: Difference between revisions

Make links go to the MC wiki where applicable
No edit summary
(Make links go to the MC wiki where applicable)
Line 3: Line 3:
| rows =
| rows =
{{#if: {{{othernames|}}} | {{infobox row|label=[[Language#Differences between English variants|Other names]]|field={{{othernames}}} }} }}
{{#if: {{{othernames|}}} | {{infobox row|label=[[Language#Differences between English variants|Other names]]|field={{{othernames}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health ]]points}}|{{{health}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[mc:Health ]]points}}|{{{health}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor#Natural armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[mc:Armor#Natural armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{mobtype|}}} | {{Infobox row|[[Mob type]]|{{{mobtype}}} }} }}
{{ #if: {{{mobtype|}}} | {{Infobox row|[[mc:Mob type]]|{{{mobtype}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|[[Damage#Inflicted by mobs|Attack<br/>strength]]|{{{damage}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|[[mc:Damage#Inflicted by mobs|Attack<br/>strength]]|{{{damage}}} }} }}
{{ #if: {{{firerate|}}} | {{Infobox row|[[Ranged attack#Mob fire rate|Fire rate]]|{{{firerate}}} }} }}
{{ #if: {{{firerate|}}} | {{Infobox row|[[mc:Ranged attack#Mob fire rate|Fire rate]]|{{{firerate}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox ]]size|{{{size}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[mc:Hitbox ]]size|{{{size}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#Movement Speed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[mc:Attribute#Movement Speed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#Knockback Resistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[mc:Attribute#Knockback Resistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Mob spawning|Spawn]]|{{{spawn}}} }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[mc:Mob spawning|Spawn]]|{{{spawn}}} }} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{ #if: {{{leashable|}}} | {{Infobox row|Can be [[Lead|leashed]]|{{{leashable}}} }} }}
{{ #if: {{{leashable|}}} | {{Infobox row|Can be [[mc:Lead|leashed]]|{{{leashable}}} }} }}
{{ #if: {{{boat|}}} | {{Infobox row|Can ride [[boat]]s|{{{boat}}} }} }}
{{ #if: {{{boat|}}} | {{Infobox row|Can ride [[mc:boat]]s|{{{boat}}} }} }}
{{ #if: {{{minecart|}}} | {{Infobox row|Can ride [[minecart]]s|{{{minecart}}} }} }}
{{ #if: {{{minecart|}}} | {{Infobox row|Can ride [[mc:minecart]]s|{{{minecart}}} }} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }}
}}
}}