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

Difference between revisions of "Template:InfoBox block"

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

Template parameters

ParameterDescriptionTypeStatus
Imageimage

Image name

Stringoptional
Image descriptionimage_desc

Image description

Stringoptional
Block IDid

The block ID of the block

Stringrequired
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
Versionversion

JCM Version that this block is added

Numberrequired