Difference between revisions of "Template:InfoBox block"
Template page
Views
Actions
Namespaces
Variants
Tools
m |
m (Add author) |
||
Line 32: | Line 32: | ||
<th>Added in</th> | <th>Added in</th> | ||
<td>v{{{since}}}</td> | <td>v{{{since}}}</td> | ||
</tr>}} | |||
{{#if:{{{author|}}}|<tr> | |||
<th>Created by</th> | |||
<td>{{{author}}}</td> | |||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
Line 45: | Line 49: | ||
|id = jsblock:water_machine_1 | |id = jsblock:water_machine_1 | ||
|type = Multipart | |type = Multipart | ||
|hardness = | |hardness = 2.0 | ||
|light_level = | |light_level = 15 | ||
|transparent = | |transparent = Yes | ||
|since = 1.0.0 | |since = 1.0.0 | ||
|author = LX86 | |||
}} | }} | ||
Line 107: | Line 112: | ||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "The original creator of the block", | |||
"type": "string" | |||
} | } | ||
} | } |
Revision as of 14:47, 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 |
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 |
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 |
Version | since | JCM Version that this block is added | Number | required |
Author | author | The original creator of the block | String | optional |