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