Template:Infobox entity: Difference between revisions

m Undo revision 2224224 by Rogerio980Pizzaa (talk)
Undo revision 2224720 by TreeIsLife (talk) | listen, a LOT of mobs dont have images anymore because of your edit, you need to fix the pages first.
Line 1: Line 1:
<onlyinclude><infobox>
{{#invoke:infobox|infobox
<title source="title"><default>{{BASEPAGENAME}}</default></title>
| invimage = none
<image source="image"><default>{{#ifexist: File:{{BASEPAGENAME}}.png|{{BASEPAGENAME}}.png}}</default></image>
| rows =
<navigation>{{{extratext|}}}</navigation>
{{ #if: {{{addedVersion|}}} | {{Infobox row|Introduced|{{#if: {{{introducedEvent|}}} | {{{introducedEvent}}}{{#if: {{{introducedEventDate|}}} | , {{{introducedEventDate}}} }} <br/>{{{addedVersion}}}{{#if: {{{addedDate|}}} | , {{{addedDate}}} }} }} }} }}
<data source="health"><label>[[Health]]</label></data>
{{ #if: {{{removedVersion|}}} | {{Infobox row| {{{removedVersion}}} {{#if: {{{removedDate|}}} |, {{{removedDate}}} }} }} }}
<data source="classification"><label>Classification</label></data>
{{ #if: {{{health|}}} | {{Infobox row|[[Health|Health points]]|{{{health}}} }} }}
<data source="behavior">
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
<label>Behavior</label>
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
<default>''Does not exist''</default>
{{ #if: {{{classification|}}} | {{Infobox row|Classification|{{{classification}}} }} }}
</data>
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
<data source="spawn"><label>[[Spawn]]</label></data>
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
<data source="damage"><label>[[Damage]]</label></data>
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
<data source="equipment"><label>[[Drops#Equipped items|Natural<br />equipment]]</label></data>
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
<data source="usableitems"><label>Usable items</label></data>
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
<data source="rarity"><label>[[MCE:Rarity|Rarity]]</label></data>
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
<group collapse="closed">
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
<header>Secondary information</header>
{{ #if: {{{networkid|}}} | {{Infobox row|1=<abbr title="Integer ID in network traffic">Network ID</abbr>|2={{{networkid|}}} }} }}
<data source="size"><label>Size</label></data>
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
<data source="armor"><label>[[Armor]]</label></data>
| footer =
<data source="speed"><label>Speed</label></data>
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
<data source="knockbackresistance"><label>Knockback</label></data>
}}<noinclude>
</group>
{{Documentation}}
</infobox></onlyinclude><noinclude>{{Documentation}}</noinclude>
<!-- Put categories/interwiki on the documentation page -->
</noinclude>