Template:BlockInfoBox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 143: | Line 143: | ||
"type": "number", | "type": "number", | ||
"default": "0" | "default": "0" | ||
}, | |||
"title": { | |||
"label": "Block/Item Title", | |||
"description": "Name of the block/item.", | |||
"example": "\"Stone Brick\" or \"Iron Machete\"", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"model": { | |||
"label": "Block/Item Model", | |||
"description": "Source for block/item model or image. Templates are recommended but static files can be passed as well.", | |||
"example": "{{#widget:ModelViewer|parameters}} or [[File:filename.extension|imageSize]]", | |||
"type": "wiki-template-name", | |||
"required": true | |||
} | } | ||
}, | }, | ||
"description": "Embeds a customized infobox for displaying block/item attributes along the left side of a wiki page. Can be used in conjunction with the Widget:ModelViewer for displaying block/item models.", | "description": "Embeds a customized infobox for displaying block/item attributes along the left side of a wiki page. Can be used in conjunction with the Widget:ModelViewer for displaying block/item models.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | |||
"model", | |||
"isStackable", | "isStackable", | ||
"maxStackSize", | "maxStackSize", |