Template:Infobox entity: Difference between revisions

m 173 revisions imported
 
(135 intermediate revisions by 44 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 }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || 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 and Damage|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=Scorepoints|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: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Network Traffic (Byte)">Network ID</span>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Saved Games (String)">Savegame ID</span>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
{{ #if: {{{drops|}}} | {{infobox row|label=[[Drops#Normal drops|Drops]]|field={{{drops|}}} }} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{ #if: {{{raredrops|}}} | {{infobox row|label=[[Drops#Rare drops|Rare Drops]]|field={{{raredrops|}}} }} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
{{ #if: {{{exp|}}} | {{infobox row|label=[[Experience Orb|Experience]]|field={{{exp}}}}} }}
| footer =
{{ #if: {{{sounds|}}} | {{infobox row|label=Sounds|field={{{sounds|}}}}} }}
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
{{ #if: {{{weaknesses|}}} | {{infobox row|label=Weaknesses|field={{{weaknesses|}}}}} }}
}}<noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{/doc}}
<!-- Put categories/interwiki on the documentation page -->
 
[[Category:Infobox templates|E]][[fr:Modèle:Entité]]
</noinclude>
</noinclude>