The District of Joban Difference between revisions of "Template:InfoBox block"

Difference between revisions of "Template:InfoBox block"

Template page
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
JCM Water Machine.png
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

Template parameters

ParameterDescriptionTypeStatus
Block Nametitle

Name of the block

Stringoptional
Imageimage

Image name

Stringoptional
Image descriptionimage_desc

Image description

Stringoptional
General Categorygeneral_category

General Category

Stringoptional
Block IDid

The block ID of the block

Stringrequired
Item Groupitem_group

Item Group in creative menu

Stringoptional
Type of the blocktype

Block/Directional Block/Multipart

Suggested values
Block Directional Block Multipart
Stringoptional
Transparenttransparent

Whether Light passes through this block (Yes/No)

Stringoptional
Hardnesshardness

Hardness/Strength of a block

Numberoptional
Light Levellight_level

Light level of the block

Numberoptional
Other Categoryother_category

Other Category

Stringoptional
Versionsince

JCM Version that this block is added

Numberrequired
Authorauthor

The original creator of the block

Stringoptional