Template:Infobox entity/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
document the new caption parameters
Line 7: Line 7:
|image=
|image=
|imagesize=
|imagesize=
|caption=
|image2=  
|image2=  
|image2size=
|image2size=
|caption2=
|image3=
|image3=
|image3size=
|image3size=
|caption3=
|health=
|health=
|armor=
|armor=
Line 33: Line 36:
|-
|-
| <code>imagesize</code> || Adjusts the size of the image || 200px
| <code>imagesize</code> || Adjusts the size of the image || 200px
|-
| <code>caption</code> || Adds an image caption, displayed as a tooltip when the mouse cursor hovers over the image. || ''None''
|-
|-
| <code>image2</code> || Second image for two-state mobs (also approx. 200x200px) || ''None''
| <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>image2size</code> || Adjusts the size of the second image || 200px
|-
| <code>caption2</code> || Adds an image caption for the second image, displayed as a tooltip when the mouse cursor hovers over the image. || ''None''
|-
|-
| <code>image3</code> || Third image for three-state mobs (also approx. 200x200px) || ''None''
| <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>image3size</code> || Adjusts the size of the third image || 200px
|-
| <code>caption3</code> || Adds an image caption for the third image, displayed as a tooltip when the mouse cursor hovers over the image. || ''None''
|-
|-
| <code>health</code> || The mob's health || ''None''
| <code>health</code> || The mob's health || ''None''

Revision as of 03:11, 17 December 2012

Template:Doc/start Template:Entity This template provides a uniform design for entities pages.

{{Entity
|title= 
|image=
|imagesize=
|caption=
|image2= 
|image2size=
|caption2=
|image3=
|image3size=
|caption3=
|health=
|armor=
|damage=
|spawn=
|firstver=
|id=
|entityid=
|drops=
|raredrops=
|sounds=
}}
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. {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 200px
caption Adds an image caption, displayed as a tooltip when the mouse cursor hovers over the image. None
image2 Second image for two-state mobs (also approx. 200x200px) None
image2size Adjusts the size of the second image 200px
caption2 Adds an image caption for the second image, displayed as a tooltip when the mouse cursor hovers over the image. None
image3 Third image for three-state mobs (also approx. 200x200px) None
image3size Adjusts the size of the third image 200px
caption3 Adds an image caption for the third image, displayed as a tooltip when the mouse cursor hovers over the image. None
health The mob's health None
armor The mob's armor None
damage The damage hostile mobs cause to the player None
spawn Spawn details None
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 entity drops when destroyed None
raredrops The rare drops the entity may drop when destroyed None
sounds The sound effects of the entity None

See also

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta

Template:Doc/end fr:Modèle:Entité/doc