Template:Infobox entity/doc: Difference between revisions

m Forgot to add a closing “includeonly" tag
m caption seems to be removed, and I don't see the need to add image size to the blocks
Line 9: Line 9:
|imagesize=
|imagesize=
|caption=
|caption=
|image2=
|image2size=
|caption2=
|caption2=
|image3=
|image3size=
|caption3=
|caption3=
|health=
|health=
Line 40: Line 36:
| <code>title</code> || Optional value to use a different title instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
| <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>image</code> || Image of the entity || <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>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>image''N''</code> || Other images for multistate entities || ''None''
|-
|-
| <code>image2</code> || Second image for two-state mobs (also approx. 200x200px) || ''None''
| <code>imagesize''N''</code> || Adjusts the size of the coorsponding image 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>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''