Template:Infobox entity: Difference between revisions

m rv
m 173 revisions imported
 
(91 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| invimage = none
| invimage = none
| rows =
| rows =
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }}
{{ #if: {{{armor|}}} | {{infobox row|label=[[Armor|Armor points]]|field={{{armor}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack strength|field={{{damage}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{size|}}} | {{infobox row|label=Size|field={{{size}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }}
{{ #if: {{{spawn|}}} | {{infobox row|label=[[Spawn]]|field={{{spawn}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Score points|field={{{score}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{#if: {{{multiplevers|}}}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
| {{infobox row|label=First appearances|field={{{multiplevers}}}{{#if: {{#pos: {{{multiplevers}}} | #History }}{{NAMESPACE}} || {{translation category|project=0|Update infobox history}} }}}}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
    }}{{#if: {{NAMESPACE}} || {{translation category|project=0|Update infobox history}} }}}}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
  }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
}}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
{{ #if: {{{drops|}}} | {{infobox row|class=list-style-none|label=[[Drops]]|field={{{drops|}}} {{#if: {{NAMESPACE}}{{#pos: {{PAGENAME}} | / }} || {{#ifeq: {{lc: {{{drops}}} }} | none || [[Category:Infobox uses generic drops field]] }} }} }} }}
{{ #if: {{{commondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Common drops|Common drops]]|field={{{commondrops}}}}} }}
{{ #if: {{{uncommondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Uncommon drops|Uncommon drops]]|field={{{uncommondrops}}}}} }}
{{ #if: {{{raredrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Rare drops|Rare drops]]|field={{{raredrops}}}}} }}
{{ #if: {{{equipment|}}} | {{infobox row|class=list-style-none|label=[[Drops#Equipped items|Natural equipment]]|field={{{equipment}}}}} }}
{{ #if: {{{usableitems|}}} | {{infobox row|class=list-style-none|label=Usable items|field={{{usableitems}}}}} }}
{{ #if: {{{exp|}}} | {{infobox row|label=[[Experience]]|field={{{exp}}}}} }}
{{ #if: {{{sounds|}}} | {{infobox row|class=list-style-none|label=Sounds|field={{{sounds|}}}}} }}
{{ #if: {{{weaknesses|}}} | {{infobox row|label=Weaknesses|field={{{weaknesses|}}}}} }}
{{infobox row|label=<abbr title="ID used internally, and in network traffic unless otherwise specified (byte)">Internal ID</abbr>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{ #if: {{{networkid|}}} | {{infobox row|label=<abbr title="ID in network traffic, if different from ID used internally (byte)">Network ID</abbr>|field={{{networkid|}}}}} }}
{{infobox row|label=<abbr title="ID in saved games and commands (string)">Entity ID</abbr>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
| footer =
| footer =
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
}}</includeonly><noinclude>
}}<noinclude>
{{documentation}}
{{Documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>