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

Difference between revisions of "Template:InfoBox block"

Template page
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 = 4.0
|hardness = 2.0
|light_level = 0
|light_level = 15
|transparent = No
|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
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
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
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
Versionsince

JCM Version that this block is added

Numberrequired
Authorauthor

The original creator of the block

Stringoptional