Template:Infobox entity/doc: Difference between revisions
my guess as to what these parameters mean |
m Harristic moved page Template:Entity/doc to Template:Infobox entity/doc: per MCW:Forum/Better navbox and infobox naming |
||
(15 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation header}} | {{Documentation header}} | ||
This template provides a uniform design for entities pages. | This template provides a uniform design for entities pages. | ||
<pre | <pre style="display:table"> | ||
{{Entity | {{Entity | ||
|title= | |title= | ||
|image= | |image= | ||
|imagesize= | |imagesize= | ||
|addedVersion= | |||
|addedDate= | |||
|introducedEvent= | |||
|introducedEventDate= | |||
|removedVersion= | |||
|removedDate= | |||
|health= | |health= | ||
|armor= | |armor= | ||
|behavior= | |behavior= | ||
|classification= | |||
|family= | |||
|damage= | |damage= | ||
|size= | |size= | ||
Line 20: | Line 26: | ||
|usableitems= | |usableitems= | ||
|networkid= | |networkid= | ||
|rarity= | |||
|notes= | |notes= | ||
}}</pre> | }}</pre> | ||
{| | {| class="wikitable" | ||
! Parameter | ! Parameter | ||
! Function | ! Function | ||
Line 37: | Line 44: | ||
|- | |- | ||
| <code>image''N''size</code> || Adjusts the size of the corresponding image || 150px | | <code>image''N''size</code> || Adjusts the size of the corresponding image || 150px | ||
|- | |||
| <code>addedVersion</code> || The first version(s) this entity was introduced || ''None'' | |||
|- | |||
| <code>addedDate</code> || The date(s) the entity was introduced || ''None'' | |||
|- | |||
| <code>introducedEvent</code> || The event the entity was introduced || ''None'' | |||
|- | |||
| <code>introducedEventDate</code> || The date of the event the entity was introduced || ''None'' | |||
|- | |||
| <code>removedVersion</code> || The version the entity was removed || ''None'' | |||
|- | |||
| <code>removedDate</code> || The date the entity was removed || ''None'' | |||
|- | |- | ||
| <code>health</code> || The mob's health || ''None'' | | <code>health</code> || The mob's health || ''None'' | ||
Line 57: | Line 76: | ||
|- | |- | ||
| <code>networkid</code> || The ID number used in network traffic (0-255). || ''None'' | | <code>networkid</code> || The ID number used in network traffic (0-255). || ''None'' | ||
|- | |||
| <code>rarity</code> || The color of this entity's name. See [[MCE:Rarity|rarity]] for more info. || ''None'' | |||
|- | |- | ||
| <code>notes</code> || Additional notes || ''None'' | | <code>notes</code> || Additional notes || ''None'' | ||
Line 74: | Line 95: | ||
[[ja:テンプレート:Entity]] | [[ja:テンプレート:Entity]] | ||
[[nl:Sjabloon:Entiteit]] | [[nl:Sjabloon:Entiteit]] | ||
[[pt:Predefinição:Entidade]] | |||
[[ru:Шаблон:Сущность]] | [[ru:Шаблон:Сущность]] | ||
[[uk:Шаблон:Сутність]] | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 84: | Line 107: | ||
[[nl:Sjabloon:Entiteit/doc]] | [[nl:Sjabloon:Entiteit/doc]] | ||
[[ru:Шаблон:Сущность/док]] | [[ru:Шаблон:Сущность/док]] | ||
[[pt:Predefinição:Entidade/doc]] | |||
[[uk:Шаблон:Сутність/док]] | |||
</noinclude> | </noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"aliases": [ | |||
"name" | |||
], | |||
"label": "Name", | |||
"description": "Name of the entity, if different from the page name.", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image of the entity, if different from the page name.", | |||
"type": "wiki-file-name" | |||
}, | |||
"imagesize": { | |||
"label": "Image size", | |||
"description": "Override the image size.", | |||
"example": "150px" | |||
}, | |||
"health": { | |||
"label": "Health", | |||
"description": "The amount of health the entity has for each difficulty.", | |||
"example": "{{Hp|5}}", | |||
"suggested": true | |||
}, | |||
"armor": { | |||
"aliases": [ | |||
"protection" | |||
], | |||
"label": "Armor", | |||
"description": "Amount of armor points the entity has.", | |||
"example": "{{Armor|2}}", | |||
"suggested": true | |||
}, | |||
"behavior": { | |||
"label": "Behavior", | |||
"description": "Behavior(s) of the entity.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"classification": { | |||
"label": "Classification", | |||
"description": "Classification(s) of the entity in Java Edition.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"family": { | |||
"label": "Family", | |||
"description": "The entity's families in Bedrock Edition.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"damage": { | |||
"aliases": [ | |||
"dmg" | |||
], | |||
"label": "Damage", | |||
"description": "The amount of damage caused to a player on attack.", | |||
"example": "{{Hp|5}}", | |||
"suggested": true | |||
}, | |||
"size": { | |||
"label": "Hitbox size", | |||
"description": "The entity's hitbox height and width." | |||
}, | |||
"speed": { | |||
"label": "Movement speed", | |||
"description": "The movement speed attribute of the entity.", | |||
"example": "55", | |||
"type": "number" | |||
}, | |||
"knockbackresistance": { | |||
"aliases": [ | |||
"kb" | |||
], | |||
"label": "Knockback resistance", | |||
"description": "The knockback resistance attribute of the enitity.", | |||
"example": "0", | |||
"type": "number" | |||
}, | |||
"spawn": { | |||
"label": "Spawning", | |||
"description": "Details on how and where the entity spawns, if at all.", | |||
"example": "Plains biome." | |||
}, | |||
"equipment": { | |||
"aliases": [ | |||
"equip" | |||
], | |||
"label": "Equipment", | |||
"description": "Equipment that may be dropped, if at all.", | |||
"example": "Diamond hoe" | |||
}, | |||
"usableitems": { | |||
"label": "Items", | |||
"description": "Items that can be used on the entity." | |||
}, | |||
"networkid": { | |||
"aliases": [ | |||
"packet" | |||
], | |||
"label": "Network traffic ID", | |||
"description": "The ID of the entity found in network traffic, if different from the internal ID.", | |||
"example": "42", | |||
"type": "number" | |||
}, | |||
"rarity": { | |||
"label": "Entity rarity", | |||
"description": "The rarity of the entity in Minecraft Earth", | |||
"example": "rare", | |||
"type": "string" | |||
}, | |||
"notes": { | |||
"label": "Additional notes", | |||
"type": "string" | |||
}, | |||
"addedVersion": { | |||
"aliases": [ | |||
"added" | |||
], | |||
"label": "Version added", | |||
"description": "The first version(s) that this entity appeared in the game.", | |||
"example": "15w24a" | |||
}, | |||
"addedDate": { | |||
"label": "Date added", | |||
"description": "The date(s) the entity was first added into the game.", | |||
"example": "{{Start date|2016|5|25}}", | |||
"type": "date" | |||
}, | |||
"introducedEvent": { | |||
"label": "Event introduced", | |||
"description": "The wikilinked event that introduced this entity, if at all.", | |||
"example": "Minecon Live 2020", | |||
"type": "wiki-page-name" | |||
}, | |||
"introducedEventDate": { | |||
"label": "Event introduced date", | |||
"description": "The date of the event that introduced the entity.", | |||
"example": "{{Start date|2020|05|19}}", | |||
"type": "date" | |||
}, | |||
"removedVersion": { | |||
"aliases": [ | |||
"removed" | |||
], | |||
"label": "Version removed", | |||
"description": "The version the entity was removed", | |||
"example": "1.9" | |||
}, | |||
"removedDate": { | |||
"label": "Date removed", | |||
"description": "The date of the version the entity was removed.", | |||
"example": "{{End date|2011|05|19}}", | |||
"type": "date" | |||
} | |||
}, | |||
"description": "An infobox for an entity.", | |||
"format": "block", | |||
"paramOrder": [ | |||
"title", | |||
"imagesize", | |||
"image", | |||
"addedVersion", | |||
"addedDate", | |||
"introducedEvent", | |||
"introducedEventDate", | |||
"removedVersion", | |||
"removedDate", | |||
"health", | |||
"armor", | |||
"behavior", | |||
"classification", | |||
"family", | |||
"damage", | |||
"size", | |||
"speed", | |||
"knockbackresistance", | |||
"spawn", | |||
"equipment", | |||
"usableitems", | |||
"networkid", | |||
"rarity", | |||
"notes" | |||
] | |||
} | |||
</templatedata> |