Template:Infobox entity: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
congrats, you just blew up the category
m 173 revisions imported
 
(69 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| invimage = none
| invimage = none
| rows =
| rows =
{{#if: {{{gravity|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{gravity}}} }} }}
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }}
{{#if: {{{dirt|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{dirt}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{#if: {{{sunlight|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{sunlight}}} }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{#if: {{{firstver|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{firstver}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }}
{{#if: {{{firstdev|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{firstdev}}} }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{#if: {{{multiplevers|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{multiplevers}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{#if: {{{sounds|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{sounds}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
{{#if: {{{drops|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{drops}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
{{#if: {{{commondrops|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{commondrops}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{#if: {{{uncommondrops|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{uncommondrops}}} }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
{{#if: {{{raredrops|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{raredrops}}} }} }}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
{{#if: {{{exp|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{exp}}} }} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{#if: {{{score|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{score}}} }} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
{{#if: {{{weaknesses|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{weaknesses}}} }} }}
{{#if: {{{availability|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{availability}}} }} }}
{{#if: {{{otherosonly|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{otherosonly}}} }} }}
{{#if: {{{fluidspeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{fluidspeed}}} }} }}
{{#if: {{{movespeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{movespeed}}} }} }}
{{#if: {{{notes|}}} | {{infobox row|label=Does anything still use notes?[[Category:Infobox uses deprecated parameters]]|field={{{notes}}} }} }}
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
{{ #if: {{{armor|}}} | {{infobox row|label=[[Armor|Armor points]]|field={{{armor}}} }} }}
{{ #if: {{{behavior|}}} | {{infobox row|label=Behavior|field={{{behavior}}} }} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack strength|field={{{damage}}} }} }}
{{ #if: {{{size|}}} | {{infobox row|label=Size|field={{{size}}} }} }}
{{ #if: {{{spawn|}}} | {{infobox row|label=[[Spawn]]|field={{{spawn}}} }} }}
{{ #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: {{{id|}}} | {{infobox row|label=<abbr title="ID used internally, and in network traffic unless otherwise specified (byte)">Internal ID</abbr><abbr title="Transfer to ID table">*</abbr>[[Category:Infobox uses deprecated data parameters]]|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><abbr title="Transfer to ID table">*</abbr>[[Category:Infobox uses deprecated data parameters]]|field={{{networkid|}}}}} }}
{{ #if: {{{entityid|}}} | {{infobox row|label=[[Namespaced ID]]<abbr title="Transfer to ID table">*</abbr>[[Category:Infobox uses deprecated data parameters]]|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>

Latest revision as of 07:39, 4 July 2024

Infobox entity
[view] [edit] [history] [refresh]Documentation

This template provides a uniform design for entities pages.

{{Entity
|title= 
|image=
|imagesize=
|addedVersion=
|addedDate=
|introducedEvent=
|introducedEventDate=
|removedVersion=
|removedDate=
|health=
|armor=
|behavior=
|classification=
|family=
|damage=
|size=
|speed=
|knockbackresistance=
|spawn=
|equipment=
|usableitems=
|networkid=
|rarity=
|notes=
}}
Parameter Function Default value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the entity {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 150px
imageN Other images for multistate entities None
imageNsize Adjusts the size of the corresponding image 150px
addedVersion The first version(s) this entity was introduced None
addedDate The date(s) the entity was introduced None
introducedEvent The event the entity was introduced None
introducedEventDate The date of the event the entity was introduced None
removedVersion The version the entity was removed None
removedDate The date the entity was removed None
health The mob's health None
armor The mob's natural armor points None
damage The damage hostile mobs cause to the player None
size Hitbox height and width (see http://wiki.vg/Entities#Mobs) None
speed Movement speed attribute None
knockbackresistance Knockback resistance attribute None
spawn Spawn details None
equipment Equipment that may be dropped None
usableitems Items that can be used on the mob None
networkid The ID number used in network traffic (0-255). None
rarity The color of this entity's name. See rarity for more info. None
notes Additional notes None

See also

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta

de:Vorlage:Kreatur es:Plantilla:Entidad ko:틀:Entity fr:Modèle:Entité it:Template:Entità ja:テンプレート:Entity nl:Sjabloon:Entiteit pt:Predefinição:Entidade ru:Шаблон:Сущность uk:Шаблон:Сутність


An infobox for an entity.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Nametitle name

Name of the entity, if different from the page name.

Stringoptional
Image sizeimagesize

Override the image size.

Example
150px
Unknownoptional
Imageimage

Image of the entity, if different from the page name.

Fileoptional
Version addedaddedVersion added

The first version(s) that this entity appeared in the game.

Example
15w24a
Unknownoptional
Date addedaddedDate

The date(s) the entity was first added into the game.

Example
{{Start date|2016|5|25}}
Dateoptional
Event introducedintroducedEvent

The wikilinked event that introduced this entity, if at all.

Example
Minecon Live 2020
Page nameoptional
Event introduced dateintroducedEventDate

The date of the event that introduced the entity.

Example
{{Start date|2020|05|19}}
Dateoptional
Version removedremovedVersion removed

The version the entity was removed

Example
1.9
Unknownoptional
Date removedremovedDate

The date of the version the entity was removed.

Example
{{End date|2011|05|19}}
Dateoptional
Healthhealth

The amount of health the entity has for each difficulty.

Example
{{Hp|5}}
Unknownsuggested
Armorarmor protection

Amount of armor points the entity has.

Example
{{Armor|2}}
Unknownsuggested
Behaviorbehavior

Behavior(s) of the entity.

Stringsuggested
Classificationclassification

Classification(s) of the entity in Java Edition.

Stringsuggested
Familyfamily

The entity's families in Bedrock Edition.

Stringsuggested
Damagedamage dmg

The amount of damage caused to a player on attack.

Example
{{Hp|5}}
Unknownsuggested
Hitbox sizesize

The entity's hitbox height and width.

Unknownoptional
Movement speedspeed

The movement speed attribute of the entity.

Example
55
Numberoptional
Knockback resistanceknockbackresistance kb

The knockback resistance attribute of the enitity.

Example
0
Numberoptional
Spawningspawn

Details on how and where the entity spawns, if at all.

Example
Plains biome.
Unknownoptional
Equipmentequipment equip

Equipment that may be dropped, if at all.

Example
Diamond hoe
Unknownoptional
Itemsusableitems

Items that can be used on the entity.

Unknownoptional
Network traffic IDnetworkid packet

The ID of the entity found in network traffic, if different from the internal ID.

Example
42
Numberoptional
Entity rarityrarity

The rarity of the entity in Minecraft Earth

Example
rare
Stringoptional
Additional notesnotes

no description

Stringoptional
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Infobox entity/doc.