Editing Template:Infobox entity

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<!--------- Infobox -------
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
--><includeonly>
{{#invoke:infobox|infobox
{{Infobox|
| invimage = none
|bodyclass = mw-collapsible floatright
| rows =
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|400px]]|[[File:{{PAGENAME}}.png|400px]]}}}}
{{infobox row|label='''Base mob'''|field={{#if: {{{basemob|}}} | <span class="plainlinks">[https://minecraft.wiki/w/{{{basemob}}} {{{basemob}}}]</span> | ? }} }}
|imagerowclass1 = infobox-image
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Health_points Health points]</span>'''|field={{#if: {{{health|}}} | {{{health}}} | ? }} }}
 
{{ #if: {{{armor|}}} | {{Infobox row|'''Armor'''|{{{armor}}} }} }}
<!-- title -->
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Spawn Spawn]</span>'''|field={{#if: {{{spawn|}}} | {{{spawn}}} | ? }} }}
|header1 = {{{name|{{PAGENAME}}}}}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Mob#Behavior Behavior]</span>'''|field={{#if: {{{behavior|}}} | {{{behavior}}} | ? }} }}
|rowclass1 = infobox-title
{{ #if: {{{damage|}}} | {{Infobox row|'''Attack<br/>strength'''|{{{damage}}} }} }}
 
{{ #if: {{{speed|}}} | {{Infobox row|'''<span class="plainlinks">[https://minecraft.wiki/w/Attribute#movementSpeed Speed]</span>'''|{{{speed}}} }} }}
|label3 = Behavior
{{ #if: {{{equipment|}}} | {{Infobox row|'''Natural<br/>equipment'''|{{{equipment}}} }} }}
|data3 = {{{behavior|Passive}}}
{{ #if: {{{effects|}}} | {{Infobox row|'''Effects'''|{{{effects}}} }} }}
|rowclass3 = data-type infobox-data infobox-col1
{{ #if: {{{drops|}}} | {{Infobox row|'''[[{{PAGENAME}}#Loot|Drops]]'''|{{{drops}}} }} }}
 
{{#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>}} }}
|label4 = Classification
{{#if: {{{notes|}}} | {{Infobox row|label='''Notes'''|field={{{notes|}}} }} }}
|data4 = {{{class|}}}
|rowclass4 = data-type infobox-data infobox-col1
 
|header5 = {{#if:{{{health|}}}{{{armor|}}}{{{speed|}}}|Stats}}
|rowclass5 = infobox-header
 
<!-- Health -->
|label6 = Health points
|data6 = {{{hp|1}}}
|rowclass6 = data-type infobox-data infobox-col1
 
<!-- Armor -->
|label7 = Armor
|data7 = {{{armor|0}}}
|rowclass7 = data-type infobox-data infobox-col1
 
|header8 = {{#if:{{{biome|}}}{{{structure|}}}|Spawn}}
|rowclass8 = infobox-header
 
<!-- Biome -->
|label9 = Biome
|data9 = {{L2MCW|{{{biome|None}}}}}
|rowclass9 = data-type infobox-data infobox-col1
 
<!-- Structure -->
|label11 = Structure
|data11 = {{{structure|None}}}
|rowclass11 = data-type infobox-data infobox-col1
 
<!-- Usable items -->
|label10 = Usable items
|data10 = {{{items|}}}
|rowclass10 = data-type infobox-data infobox-col1
}}
}}
</includeonly><!-------------------
<noinclude>
Short description
<templatedata>
{CLASS>TYPE} {LOCATIONTYPE} in the {SYSTEM} system
{
-----------------
"params": {
--><includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{behavior|}}} mob on {{SITENAME}}.}}</includeonly><!-- Categories
"health": {
--><includeonly>[[Category:Mobs]]</includeonly>
"description": "The total health of the entity",
<includeonly>{{#if:{{{behavior|}}}|[[Category:{{{behavior}}} mobs]]}}</includeonly><!---
"example": "{{hp|10}}",
SEO
"required": true
---
},
--><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
"armor": {
|title = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} Mob - {{SITENAME}}
"description": "The total armor points of the entity.",
|site_name = {{SITENAME}}
"example": "{{Armor|5}",
|type = article
"suggested": true
|locale = {{PAGELANGUAGE}}
},
|image = {{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png}}
"behavior": {
}}</includeonly><noinclude>{{/doc}}</noinclude>
"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>
Please note that all contributions to WoopMC may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WoopMC:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: