Template:Infobox entity: Difference between revisions

Ignore translations
m 173 revisions imported
 
(108 intermediate revisions by 33 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| 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: {{{spawn|}}} | {{infobox row|label=[[Spawn]]|field={{{spawn}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Score points|field={{{score}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{#if: {{{multiplevers|}}}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
| {{infobox row|label=First appearances|field={{{multiplevers}}} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
    }}}}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
  }}
{{ #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: {{{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: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
{{ #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 Orb|Experience]]|field={{{exp}}}}} }}
{{ #if: {{{sounds|}}} | {{infobox row|label=Sounds|field={{{sounds|}}}}} }}
{{ #if: {{{weaknesses|}}} | {{infobox row|label=Weaknesses|field={{{weaknesses|}}}}} }}
{{infobox row|label=<abbr title="ID in network traffic (byte)">Network ID</abbr>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=<abbr title="ID in saved games (string)">Savegame ID</abbr>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
| footer =
| footer =
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
}}</includeonly><noinclude>
}}<noinclude>
{{/doc}}
{{Documentation}}
 
<!-- Put categories/interwiki on the documentation page -->
[[Category:Infobox templates|E]]
 
[[es:Plantilla:Entidad]]
[[fr:Modèle:Entité]]
[[it:Template:Entità]]
 
</noinclude>
</noinclude>