Template:Infobox item/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
! Default/Example value | ! Default/Example value | ||
|- | |- | ||
| <code>title</code> || Optional value to use a different | | <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 block (should be approx. 150x150px) || <code><nowiki>{{ | | <code>image</code> || Image of the block (should be approx. 150x150px) || <code><nowiki>{{{title}}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] | ||
|- | |- | ||
| <code>image2</code> || Image of the block (should be approx. 150x150px) || | | <code>image2</code> || Image of the block (should be approx. 150x150px) || ''None'' | ||
|- | |- | ||
| <code>image3</code> || Image of the block (should be approx. 150x150px) || | | <code>image3</code> || Image of the block (should be approx. 150x150px) || ''None'' | ||
|- | |- | ||
| <code>invimage</code> || Image for object in inventory. Can use '''None''' to force no invimage. Uses [[Template:Grid]]. || <code><nowiki>Grid {{ | | <code>invimage</code> || Image for object in inventory. Can use '''None''' to force no invimage. Uses [[Template:Grid]]. || <code><nowiki>Grid {{{title}}}.png</nowiki></code> if it exists, otherwise ''None'' | ||
|- | |- | ||
| <code>invimage2</code> || Second image for two-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | | <code>invimage2</code> || Second image for two-state objects in inventory. Uses [[Template:Grid]]. || ''None'' |