Template:Infobox entity: Difference between revisions

Template page
No edit summary
Line 1: Line 1:
Main menu
Stardust Labs Wiki
Search Stardust Labs Wiki
Search
English
Create account
Log in
Personal tools
View source for Template:Entity
Template
Discussion
Read
View source
View history
Tools
← Template:Entity
You do not have permission to edit this page, for the following reason:
You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.
You can view and copy the source of this page.
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| invimage = none
| invimage = none
| rows =
| rows =
{{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Minecraft Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }}
{{infobox row|label='''Base mob'''|field={{#if: {{{basemob|}}} | <span class="plainlinks">[https://minecraft.wiki/w/{{{basemob}}} {{{basemob}}}]</span> | ? }} }}
{{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Health_points Health points]</span>'''|field={{#if: {{{health|}}} | {{{health}}} | ? }} }}
{{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }}
{{ #if: {{{armor|}}} | {{Infobox row|'''Armor'''|{{{armor}}} }} }}
{{ #if: {{{classification|}}} | {{Infobox row|{{tooltip|Classification|Java Edition only}}|{{{classification}}} }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Spawn Spawn]</span>'''|field={{#if: {{{spawn|}}} | {{{spawn}}} | ? }} }}
{{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Mob#Behavior Behavior]</span>'''|field={{#if: {{{behavior|}}} | {{{behavior}}} | ? }} }}
{{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }}
{{ #if: {{{damage|}}} | {{Infobox row|'''Attack<br/>strength'''|{{{damage}}} }} }}
{{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|'''<span class="plainlinks">[https://minecraft.wiki/w/Attribute#movementSpeed Speed]</span>'''|{{{speed}}} }} }}
{{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }}
{{ #if: {{{equipment|}}} | {{Infobox row|'''Natural<br/>equipment'''|{{{equipment}}} }} }}
{{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }}
{{ #if: {{{effects|}}} | {{Infobox row|'''Effects'''|{{{effects}}} }} }}
{{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }}
{{ #if: {{{drops|}}} | {{Infobox row|'''[[{{PAGENAME}}#Loot|Drops]]'''|{{{drops}}} }} }}
{{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }}
{{#if: {{{command|}}} | {{Infobox row|label='''Command'''|field=<div style="max-height:100px; overflow-y: scroll; border: 1px solid #ccc; padding: 5px; max-width:200px; word-wrap: break-word">{{{command|}}}</div>}} }}
{{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }}
{{#if: {{{notes|}}} | {{Infobox row|label='''Notes'''|field={{{notes|}}} }} }}
{{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }}
}}
| footer =
<noinclude>
{{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }}
<templatedata>
}}<noinclude>
{
{{Documentation}}
"params": {
<!-- Put categories/interwiki on the documentation page -->
"health": {
</noinclude>
"description": "The total health of the entity",
"example": "{{hp|10}}",
"required": true
},
"armor": {
"description": "The total armor points of the entity.",
"example": "{{Armor|5}",
"suggested": true
},
"behavior": {
"description": "The behavior of the entity. Can it, and why can it attack you.",
"example": "Passive/Neutral/Hostile",
"required": true
},
"damage": {
"description": "How much damage in hearts can it inflict you",
"example": "Easy : {{hp|2}} to {{hp|10}}<br>Normal : {{hp|4}} to {{hp|012}}<br>Hard : {{hp|6}} to {{hp|14}}",
"default": "Easy : {{hp|0}} to {{hp|0}}<br>\nNormal : {{hp|0}} to {{hp|0}}<br>\nHard : {{hp|0}} to {{hp|0}}",
"suggested": true
},
"spawn": {
"description": "List of where or how the entity can appear.",
"example": "{{Link|...}}<br>{{Link|...}}<br>",
"required": true
},
"notes": {
"description": "Additional notes about the entity"
},
"drops": {
"description": "List of what the entity can drop.",
"example": "{{Link|...}}<br>{{Link|...}}<br>",
"suggested": true
},
"speed": {
"description": "Speed value of the entity, leave empty if unknown",
"example": "0.55",
"suggested": true
},
"equipment": {
"description": "Armor or item the entity is equipped with.",
"example": "{{Link|...}}<br>{{Link|...}}<br>"
},
"effects": {
"description": "Permanent potion effects of the entity.",
"example": "{{EffectLink|id=effect_name|Effect link|Effect name}}<br>{{EffectLink|id=effect_name|Effect link|Effect name}}"
},
"basemob": {
"description": "Vanilla mob the custom entity is using",
"example": "Piglin",
"required": true
},
"pageimage": {
"description": "Forced .png or .gif set to appear for the page popup and SEO. Obligatory if \" ; \" is used in the \"image\" string."
},
"image": {
"description": "Forces an image not based on the title of the page, useful for putting a GIF. You can also create a diaporama by putting \";\" between the images names."
},
"command": {
"description": "Summon function command for the entity if available",
"suggested": true
}
},
"description": "Use this template for Entities/Mobs and their info/stats. Do not add a string for unknown info.",
"paramOrder": [
"image",
"pageimage",
"basemob",
"health",
"armor",
"spawn",
"behavior",
"damage",
"speed",
"equipment",
"effects",
"drops",
"command",
"notes"
]
}
</templatedata></noinclude>
 
Templates used on this page:
 
Template:Infobox row (view source)
Module:Infobox (view source)
Module:ProcessArgs (view source)
Return to Template:Entity.
 
Privacy policy
About Stardust Labs Wiki
Disclaimers
Terms of Use
Donate to Miraheze
Mobile view
Hosted by MirahezePowered by MediaWiki
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

Revision as of 19:18, 25 May 2024

Main menu

Stardust Labs Wiki Search Stardust Labs Wiki Search English Create account Log in

Personal tools View source for Template:Entity Template Discussion Read View source View history

Tools ← Template:Entity You do not have permission to edit this page, for the following reason:

You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Use this template for Entities/Mobs and their info/stats. Do not add a string for unknown info.

Template parameters

ParameterDescriptionTypeStatus
imageimage

Forces an image not based on the title of the page, useful for putting a GIF. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
pageimagepageimage

Forced .png or .gif set to appear for the page popup and SEO. Obligatory if " ; " is used in the "image" string.

Unknownoptional
basemobbasemob

Vanilla mob the custom entity is using

Example
Piglin
Unknownrequired
healthhealth

The total health of the entity

Example
{{hp|10}}
Unknownrequired
armorarmor

The total armor points of the entity.

Example
{{Armor|5}
Unknownsuggested
spawnspawn

List of where or how the entity can appear.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownrequired
behaviorbehavior

The behavior of the entity. Can it, and why can it attack you.

Example
Passive/Neutral/Hostile
Unknownrequired
damagedamage

How much damage in hearts can it inflict you

Default
Easy : {{hp|0}} to {{hp|0}}<br>

Normal : {{hp|0}} to {{hp|0}}<br>

Hard : {{hp|0}} to {{hp|0}}
Example
Easy : {{hp|2}} to {{hp|10}}<br>Normal : {{hp|4}} to {{hp|012}}<br>Hard : {{hp|6}} to {{hp|14}}
Unknownsuggested
speedspeed

Speed value of the entity, leave empty if unknown

Example
0.55
Unknownsuggested
equipmentequipment

Armor or item the entity is equipped with.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownoptional
effectseffects

Permanent potion effects of the entity.

Example
{{EffectLink|id=effect_name|Effect link|Effect name}}<br>{{EffectLink|id=effect_name|Effect link|Effect name}}
Unknownoptional
dropsdrops

List of what the entity can drop.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownsuggested
commandcommand

Summon function command for the entity if available

Unknownsuggested
notesnotes

Additional notes about the entity

Unknownoptional

Templates used on this page:

Template:Infobox row (view source) Module:Infobox (view source) Module:ProcessArgs (view source) Return to Template:Entity.

Privacy policy About Stardust Labs Wiki Disclaimers Terms of Use Donate to Miraheze Mobile view Hosted by MirahezePowered by MediaWiki Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)