Difference between revisions of "Template:InfoBox block"
Template page
Views
Actions
Namespaces
Variants
Tools
(Created page with "<includeonly> <div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} {{#if:{{{image_desc|}}}|<div class="infobox-imgdesc">{{{image_desc}}}</div>}} {{#if:{{{general_category|}}}|<div class="infobox-category">{{{general_category}}}</div>}} <table> {{#if:{{{id|}}}|<tr> <th>Block ID</th> <td>{{{id}}}</td> </tr>}} {{#if:{{{type|}}}|<tr> <th>Type</th> <td>{...") |
|||
Line 51: | Line 51: | ||
"description": "Infobox template for a JCM block", | "description": "Infobox template for a JCM block", | ||
"params": { | "params": { | ||
"image": { | |||
"label": "Image", | |||
"description": "Image name", | |||
"type": "string" | |||
}, | |||
"image_desc": { | |||
"label": "Image description", | |||
"description": "Image description", | |||
"type": "string" | |||
}, | |||
"id": { | "id": { | ||
"label": "Block ID", | "label": "Block ID", |
Revision as of 21:36, 13 August 2022
Block Name
Insert block images
General Information
Block ID | jsblock:water_machine_1 |
---|---|
Type | Multipart |
Transparent | No |
Hardness | 4.0 |
Light Level | 0 |
Added in | v1.0.0 |
Infobox template for a JCM block
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Image name | String | optional |
Image description | image_desc | Image description | String | optional |
Block ID | id | The block ID of the block | String | required |
Type of the block | type | Block/Directional Block/Multipart
| String | optional |
Transparent | transparent | Whether Light passes through this block (Yes/No) | String | optional |
Hardness | hardness | Hardness/Strength of a block | Number | optional |
Light Level | light_level | Light level of the block | Number | optional |
Version | version | JCM Version that this block is added | Number | required |