Template:Infobox entity/doc: Difference between revisions
Undo revision 157085 by Fishrock123 (talk) |
Undo revision 213425 by 210.101.131.231 (talk) |
||
| Line 1: | Line 1: | ||
{{doc/start}} | |||
{{Entity}} | |||
This template provides a uniform design for entities pages. | |||
<pre width="30px"> | |||
{{Entity | |||
|title= | |||
|image= | |||
|imagesize= | |||
|image2= | |||
|image2size= | |||
|image3= | |||
|image3size= | |||
|health= | |||
|damage= | |||
|spawn= | |||
|firstver= | |||
|id= | |||
|entityid= | |||
|drops= | |||
}}</pre> | |||
{| class=grid style="background-color: transparent;" | |||
! Parameter | |||
! Function | |||
! Default value | |||
|- | |||
| <code>title</code> || Optional value to use a different title instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code> | |||
|- | |||
| <code>image</code> || Image of the mob (should be approx. 150x150px) Can use '''None''' to force no image. || <code><nowiki>{{{title}}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] (linking to the page where to upload the missing image) | |||
|- | |||
| <code>imagesize</code> || Adjusts the size of the image || 200px | |||
|- | |||
| <code>image2</code> || Second image for two-state mobs (also approx. 200x200px) || ''None'' | |||
|- | |||
| <code>image2size</code> || Adjusts the size of the secondary image || 200px | |||
|- | |||
| <code>image3</code> || Third image for three-state mobs (also approx. 200x200px) || ''None'' | |||
|- | |||
| <code>image3size</code> || Adjusts the size of the third image || 200px | |||
|- | |||
| <code>health</code> || The mob's health || ''None'' | |||
|- | |||
| <code>damage</code> || The damage hostile mobs cause to the player || ''None'' | |||
|- | |||
| <code>spawn</code> || Spawn details || ''None'' | |||
|- | |||
| <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>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>drops</code> || What the mob drops || ''None'' | |||
|} | |||
== See also == | |||
{{Infobox see also}} | |||
{{doc/end}} | |||