Template:Infobox entity: Difference between revisions

Fix some link texts including the "mc" prefix
No edit summary
(Fix some link texts including the "mc" prefix)
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]]|[[mc:Health ]]points}}|{{{health}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[mc:Health| ]]points}}|{{{health}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[mc: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|[[mc:Mob type]]|{{{mobtype}}} }} }}
{{ #if: {{{mobtype|}}} | {{Infobox row|[[mc:Mob type|Mob type]]|{{{mobtype}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|[[mc: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|[[mc: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|[[mc:Hitbox ]]size|{{{size}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[mc:Hitbox| ]]size|{{{size}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[mc:Attribute#Movement Speed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[mc:Attribute#Movement Speed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[mc:Attribute#Knockback Resistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[mc:Attribute#Knockback Resistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
Line 15: Line 15:
{{ #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 [[mc:Lead|leashed]]|{{{leashable}}} }} }}
{{ #if: {{{leashable|}}} | {{Infobox row|Can be [[mc:Lead|leashed]]|{{{leashable}}} }} }}
{{ #if: {{{boat|}}} | {{Infobox row|Can ride [[mc:boat]]s|{{{boat}}} }} }}
{{ #if: {{{boat|}}} | {{Infobox row|Can ride [[mc:boat|boat]]s|{{{boat}}} }} }}
{{ #if: {{{minecart|}}} | {{Infobox row|Can ride [[mc:minecart|minecart]]s|{{{minecart}}} }} }}
{{ #if: {{{minecart|}}} | {{Infobox row|Can ride [[mc:minecart|minecart]]s|{{{minecart}}} }} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }}