Template:Infobox entity/doc: Difference between revisions
Jump to navigation
Jump to search
added entityid field, distinguished it from id field |
replaced template with mobs template + firstver |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
{{Entity}} | {{Entity}} | ||
This template provides a uniform design for | This template provides a uniform design for entities pages. | ||
<pre width="30px"> | <pre width="30px"> | ||
{{Entity | {{Entity | ||
|title= | |||
|title= | |||
|image= | |image= | ||
| | |imagesize= | ||
| | |image2= | ||
| | |image2size= | ||
| | |image3= | ||
| | |image3size= | ||
| | |health= | ||
|damage= | |||
|spawn= | |||
|firstver= | |firstver= | ||
|id= | |id= | ||
|entityid= | |entityid= | ||
|drops= | |||
}}</pre> | }}</pre> | ||
{| class=grid style="background-color: transparent;" | {| class=grid style="background-color: transparent;" | ||
! Parameter | ! Parameter | ||
! Function | ! Function | ||
! Default/ | ! Default value | ||
|- | |||
| <code>title</code> || Optional value to use a different title instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code> | |||
|- | |- | ||
| <code> | | <code>image</code> || Image of the mob (should be approx. 150x150px) Can use '''None''' to force no image. || <code><nowiki>{{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] | ||
|- | |- | ||
| <code> | | <code>imagesize</code> || Adjusts the size of the image || 200px | ||
|- | |- | ||
| <code> | | <code>image2</code> || Second image for two-state mobs (also approx. 200x200px) || ''None'' | ||
|- | |- | ||
| <code> | | <code>image2size</code> || Adjusts the size of the secondary image || 200px | ||
|- | |- | ||
| <code> | | <code>image3</code> || Third image for three-state mobs (also approx. 200x200px) || ''None'' | ||
|- | |- | ||
| <code> | | <code>image3size</code> || Adjusts the size of the third image || 200px | ||
|- | |- | ||
| <code> | | <code>health</code> || The mob's health || ? | ||
|- | |- | ||
| <code> | | <code>damage</code> || The damage hostile mobs cause to the player || ''None'' | ||
|- | |- | ||
| <code> | | <code>spawn</code> || Spawn details || ? | ||
|- | |- | ||
| <code> | | <code>score</code> || The score the mob gives on being killed in [[Survival Test]] || ''None'' | ||
|- | |- | ||
| <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). || ''None'' | | <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). || ''None'' | ||
|- | |- | ||
| <code>id</code> || | | <code>id</code> || The entity's ID number as seen in Minecraft network traffic (0-255) || ''None'' | ||
|- | |||
| <code>entityid</code> || The entity's EntityID as seen in saved worlds || ''None'' | |||
|- | |- | ||
| <code> | | <code>drops</code> || What the mob drops || ''None'' | ||
|} | |} | ||
Revision as of 16:43, 19 September 2011
Template:Doc/start Template:Entity This template provides a uniform design for entities pages.
{{Entity |title= |image= |imagesize= |image2= |image2size= |image3= |image3size= |health= |damage= |spawn= |firstver= |id= |entityid= |drops= }}
Parameter | Function | Default value |
---|---|---|
title |
Optional value to use a different title instead of the page name | {{BASEPAGENAME}}
|
image |
Image of the mob (should be approx. 150x150px) Can use None to force no image. | {{BASEPAGENAME}}.png if it exists, otherwise No image.svg
|
imagesize |
Adjusts the size of the image | 200px |
image2 |
Second image for two-state mobs (also approx. 200x200px) | None |
image2size |
Adjusts the size of the secondary image | 200px |
image3 |
Third image for three-state mobs (also approx. 200x200px) | None |
image3size |
Adjusts the size of the third image | 200px |
health |
The mob's health | ? |
damage |
The damage hostile mobs cause to the player | None |
spawn |
Spawn details | ? |
score |
The score the mob gives on being killed in Survival Test | None |
firstver |
First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). | None |
id |
The entity's ID number as seen in Minecraft network traffic (0-255) | None |
entityid |
The entity's EntityID as seen in saved worlds | None |
drops |
What the mob drops | None |
See also
- Minecraft
{{Infobox biome}}
{{Infobox block}}
{{Infobox command}}
{{Infobox development phase}}
{{Infobox enchantment}}
{{Infobox effect}}
{{Infobox entity}}
{{Infobox fluid}}
{{Infobox item}}
{{Infobox item entity}}
{{Infobox structure}}
- Minecraft Earth
- Minecraft Dungeons
{{Infobox Dungeons cosmetic}}
{{Infobox Dungeons enchantment}}
{{Infobox Dungeons entity}}
{{Infobox Dungeons item}}
{{Infobox Dungeons mission}}
- Minecraft Legends
{{Infobox Legends biome}}
{{Infobox Legends entity}}
{{Infobox Legends resource}}
{{Infobox Legends mode}}
{{Infobox Legends skin}}
{{Infobox Legends structure}}
- Minecraft Story Mode
{{Infobox episode}}
- Other
{{Infobox album}}
{{Infobox book}}
{{Infobox board game}}
{{Infobox company}}
{{Fallback infobox}}
{{Infobox guide}}
{{Infobox mash-up}}
{{Infobox music}}
{{Infobox person}}
{{Infobox profile}}
{{Infobox program}}
{{Infobox screen effect}}
{{Infobox server}}
{{Infobox skin pack}}
{{Infobox theme}}
{{Infobox version}}
{{Infobox video}}
{{Infobox website}}
{{Infobox world}}
- Meta
{{Infobox}}
{{Infobox row}}
{{Infobox header}}
- Module:Infobox