Template:Infobox entity: Difference between revisions
Fixed |
|||
| Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
| invimage = none | | invimage = none | ||
| rows = | | rows = | ||
{{ #if: {{{health|}}} | {{ | {{ #if: {{{addedVersion|}}} | {{Infobox row|Introduced|{{#if: {{{introducedEvent|}}} | {{{introducedEvent}}}{{#if: {{{introducedEventDate|}}} | , {{{introducedEventDate}}} }} <br/>{{{addedVersion}}}{{#if: {{{addedDate|}}} | , {{{addedDate}}} }} }} }} }} | ||
{{ #if: {{{armor|}}} | {{ | {{ #if: {{{removedVersion|}}} | {{Infobox row| {{{removedVersion}}} {{#if: {{{removedDate|}}} |, {{{removedDate}}} }} }} }} | ||
{{ #if: {{{behavior|}}} | {{ | {{ #if: {{{health|}}} | {{Infobox row|[[Health|Health points]]|{{{health}}} }} }} | ||
{{ #if: {{{damage|}}} | {{ | {{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }} | ||
{{ #if: {{{size|}}} | {{ | {{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }} | ||
{{ #if: {{{speed|}}} | {{ | {{ #if: {{{damage|}}} | {{Infobox row|Attack strength|{{{damage}}} }} }} | ||
{{ #if: {{{knockbackresistance|}}} | {{ | {{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }} | ||
{{ #if: {{{spawn|}}} | {{ | {{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }} | ||
{{ #if: {{{equipment|}}} | {{ | {{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback Resistance]]|{{{knockbackresistance}}} }} }} | ||
{{ #if: {{{usableitems|}}} | {{ | {{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }} | ||
{{ #if: {{{networkid|}}} | {{ | {{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural equipment]]|{{{equipment}}}|class=list-style-none}} }} | ||
{{ #if: {{{usableitems|}}} | {{Infobox row|Items usable on|{{{usableitems}}}|class=list-style-none}} }} | |||
{{ #if: {{{networkid|}}} | {{Infobox row|<abbr title="ID in network traffic, if different from ID used internally (byte)">Network ID</abbr>|{{{networkid|}}} }} }} | |||
| footer = | | footer = | ||
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }} | {{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }} | ||
}} | }}<noinclude> | ||
{{ | {{Documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> | ||