|
|
Line 1: |
Line 1: |
| {{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}} | | <!-- |
| {{infobox
| | |
| | invimage = none
| | ------- |
| | rows =
| | Infobox |
| {{infobox row|label='''Base mob'''|field={{#if: {{{basemob|}}} | <span class="plainlinks">[https://minecraft.wiki/w/{{{basemob}}} {{{basemob}}}]</span> | ? }} }}
| | ------- |
| {{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}}} }} }}
| | <includeonly> |
| {{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Spawn Spawn]</span>'''|field={{#if: {{{spawn|}}} | {{{spawn}}} | ? }} }}
| | {{Infobox| |
| {{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Mob#Behavior Behavior]</span>'''|field={{#if: {{{behavior|}}} | {{{behavior}}} | ? }} }}
| | |bodyclass = mw-collapsible floatright |
| {{ #if: {{{damage|}}} | {{Infobox row|'''Attack<br/>strength'''|{{{damage}}} }} }}
| | |image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:MissingMob.png|400px]]}} |
| {{ #if: {{{speed|}}} | {{Infobox row|'''<span class="plainlinks">[https://minecraft.wiki/w/Attribute#movementSpeed Speed]</span>'''|{{{speed}}} }} }}
| | |imagerowclass1 = infobox-image |
| {{ #if: {{{equipment|}}} | {{Infobox row|'''Natural<br/>equipment'''|{{{equipment}}} }} }}
| | |
| {{ #if: {{{effects|}}} | {{Infobox row|'''Effects'''|{{{effects}}} }} }}
| | <!-- title --> |
| {{ #if: {{{drops|}}} | {{Infobox row|'''[[{{PAGENAME}}#Loot|Drops]]'''|{{{drops}}} }} }}
| | |header1 = {{{name|{{PAGENAME}}}}} |
| {{#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>}} }}
| | |rowclass1 = infobox-title |
| {{#if: {{{notes|}}} | {{Infobox row|label='''Notes'''|field={{{notes|}}} }} }}
| | |
| | |label3 = Behavior |
| | |data3 = {{{behavior|Passive}}} |
| | |rowclass3 = data-type infobox-data infobox-col1 |
| | |
| | |header6 = {{#if:{{{health|}}}{{{armor|}}}{{{speed|}}}|Stats}} |
| | |rowclass6 = infobox-header |
| | |
| | <!-- Health --> |
| | |label5 = Health points |
| | |data5 = {{{hp|1}}} |
| | |rowclass5 = data-type infobox-data infobox-col1 |
| | |
| | <!-- Armor --> |
| | |label6 = Armor |
| | |data6 = {{{armor|0}}} |
| | |rowclass6 = data-type infobox-data infobox-col1 |
| | |
| | <!-- Speed --> |
| | |label7 = Speed |
| | |data7 = {{{speed|}}} |
| | |rowclass7 = data-type infobox-data infobox-col1 |
| | |
| | <!-- Speed --> |
| | |label8 = Spawn |
| | |data8 = {{{spawn|}}} |
| | |rowclass8 = data-type infobox-data infobox-col1 |
| | |
| | <!-- Usable items --> |
| | |label9 = Usable items |
| | |data9 = {{{items|}}} |
| | |rowclass9 = data-type infobox-data infobox-col1 |
| }} | | }} |
| <noinclude> | | |
| <templatedata> | | </includeonly> |
| {
| | |
| "params": {
| | <!-- |
| "health": {
| | |
| "description": "The total health of the entity",
| | ----------------- |
| "example": "{{hp|10}}",
| | Short description |
| "required": true
| | {CLASS>TYPE} {LOCATIONTYPE} in the {SYSTEM} system |
| },
| | ----------------- |
| "armor": {
| | --><includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{mode|}}} server on {{SITENAME}}.}}</includeonly><!-- |
| "description": "The total armor points of the entity.",
| | |
| "example": "{{Armor|5}",
| | -------------- |
| "suggested": true
| | Categorization |
| },
| | -------------- |
| "behavior": {
| | |
| "description": "The behavior of the entity. Can it, and why can it attack you.",
| | Locations |
| "example": "Passive/Neutral/Hostile",
| | ---- |
| "required": true
| | --><includeonly>[[Category:Servers]]</includeonly><!-- |
| },
| | |
| "damage": {
| | Server |
| "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}}",
| | --><includeonly>{{#switch: {{{restricted}}} | true | yes = [[Category:Restricted servers]]|}}</includeonly><!-- |
| "default": "Easy : {{hp|0}} to {{hp|0}}<br>\nNormal : {{hp|0}} to {{hp|0}}<br>\nHard : {{hp|0}} to {{hp|0}}",
| | |
| "suggested": true
| | --- |
| },
| | SEO |
| "spawn": {
| | --- |
| "description": "List of where or how the entity can appear.",
| | --><includeonly>{{#vardefine:infoboxseo|1}}{{#seo: |
| "example": "{{Link|...}}<br>{{Link|...}}<br>",
| | |title = {{{name}}} Server - {{SITENAME}} |
| "required": true
| | |site_name = {{SITENAME}} |
| },
| | |type = article |
| "notes": {
| | |locale = {{PAGELANGUAGE}} |
| "description": "Additional notes about the entity"
| | |image = {{#if:{{{image|}}}|{{{image}}}|CubeyBanner.png}} |
| },
| | }}</includeonly><noinclude> |
| "drops": {
| | {{/doc}} |
| "description": "List of what the entity can drop.",
| | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> |
| "example": "{{Link|...}}<br>{{Link|...}}<br>",
| | </noinclude> |
| "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>
| |