Template:Infobox entity: Difference between revisions

m Oops
m 173 revisions imported
 
(141 intermediate revisions by 45 users not shown)
Line 1: Line 1:
<includeonly>{{infobox common
{{#invoke:infobox|infobox
| title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| invimage = none
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.svg}} }}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 150px }}|link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }}|center]]{{
  #if: {{{image2|}}} | <div style="padding-top: 1em">[[File:{{{image2}}}|{{ #if: {{{image2size|}}} | {{{image2size}}} | 150px }}|center]]</div>
}}{{
  #if: {{{image3|}}} | <div style="padding-top: 1em">[[File:{{{image3}}}|{{ #if: {{{image3size|}}} | {{{image3size}}} | 150px }}|center]]</div>
}}{{#if:{{{caption|}}} | <div style="text-align:center; font-size:0.9em;">{{{caption}}}</div> }}
| rows =
| rows =
{{ #if: {{{health|}}} | {{infobox row|label=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 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=Scorepoints|field={{{score}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{ #if: {{{id|}}} | {{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Network Traffic (Byte)">Network ID</span>|field={{{id}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
{{ #if: {{{entityid|}}} | {{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Saved Games (String)">Savegame ID</span>|field={{{entityid}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{drops|}}} | {{infobox row|label=Drops|field={{{drops|}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{raredrops|}}} | {{infobox row|label=Rare Drops|field={{{raredrops|}}} }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
{{ #if: {{{exp|}}} | {{infobox row|label=Experience|field={{{exp}}}}} }}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
{{ #if: {{{sounds|}}} | {{infobox row|label=Sounds|field={{{sounds|}}}}} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{ #if: {{{weaknesses|}}} | {{infobox row|label=Weaknesses|field={{{weaknesses|}}}}} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
}}</includeonly><noinclude>
| footer =
{{/doc}}
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
 
}}<noinclude>
[[Category:Infobox templates|E]]</noinclude>
{{Documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>