Difference between revisions of "Template:InfoBox block"
Template page
Views
Actions
Namespaces
Variants
Tools
m (Add author) |
|||
Line 29: | Line 29: | ||
<td>{{{light_level}}}</td> | <td>{{{light_level}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | |||
{{#if:{{{other_category|}}}|<div class="infobox-category">{{{other_category}}}</div>}} | |||
<table> | |||
{{#if:{{{since|}}}|<tr> | {{#if:{{{since|}}}|<tr> | ||
<th>Added in</th> | <th>Added in</th> | ||
Line 52: | Line 55: | ||
|light_level = 15 | |light_level = 15 | ||
|transparent = Yes | |transparent = Yes | ||
|other_category = Other Information | |||
|since = 1.0.0 | |since = 1.0.0 | ||
|author = LX86 | |author = LX86 | ||
Line 73: | Line 77: | ||
"label": "Image description", | "label": "Image description", | ||
"description": "Image description", | "description": "Image description", | ||
"type": "string" | |||
}, | |||
"general_category": { | |||
"label": "General Category", | |||
"description": "General Category", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 106: | Line 115: | ||
"description": "Light level of the block", | "description": "Light level of the block", | ||
"type": "number" | "type": "number" | ||
}, | |||
"other_category": { | |||
"label": "Other Category", | |||
"description": "Other Category", | |||
"type": "string" | |||
}, | }, | ||
"since": { | "since": { |
Revision as of 14:54, 14 August 2022
Block Name
Insert block images
General Information
Block ID | jsblock:water_machine_1 |
---|---|
Type | Multipart |
Transparent | Yes |
Hardness | 2.0 |
Light Level | 15 |
Other Information
Added in | v1.0.0 |
---|---|
Created by | LX86 |
Infobox template for a JCM block
Parameter | Description | Type | Status | |
---|---|---|---|---|
Block Name | title | Name of the block | String | optional |
Image | image | Image name | String | optional |
Image description | image_desc | Image description | String | optional |
General Category | general_category | General Category | String | optional |
Block ID | id | The block ID of the block | String | required |
Item Group | item_group | Item Group in creative menu | String | optional |
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 |
Other Category | other_category | Other Category | String | optional |
Version | since | JCM Version that this block is added | Number | required |
Author | author | The original creator of the block | String | optional |