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

Difference between revisions of "Template:InfoBox block"

Template page
m (Remove Technical Information)
(Remove hardness and type)
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
     <th>Item Group</th>
     <th>Item Group</th>
     <td>{{{item_group}}}</td>
     <td>{{{item_group}}}</td>
</tr>}}
{{#if:{{{type|}}}|<tr>
    <th>Type</th>
    <td>{{{type}}}</td>
</tr>}}
</tr>}}
{{#if:{{{transparent|}}}|<tr>
{{#if:{{{transparent|}}}|<tr>
     <th>Transparent</th>
     <th>Transparent</th>
     <td>{{{transparent}}}</td>
     <td>{{{transparent}}}</td>
</tr>}}
{{#if:{{{hardness|}}}|<tr>
    <th>Hardness</th>
    <td>{{{hardness}}}</td>
</tr>}}
</tr>}}
{{#if:{{{light_level|}}}|<tr>
{{#if:{{{light_level|}}}|<tr>
Line 55: Line 47:
|general_category = General Information
|general_category = General Information
|id = jsblock:water_machine_1
|id = jsblock:water_machine_1
|type = Multipart
|hardness = 2.0
|light_level = 15
|light_level = 15
|transparent = Yes
|transparent = Yes
Line 98: Line 88:
             "label": "Item Group",
             "label": "Item Group",
             "description": "Item Group in creative menu",
             "description": "Item Group in creative menu",
            "type": "string"
        },
        "type": {
            "label": "Type of the block",
            "description": "Block/Directional Block/Multipart",
            "suggestedvalues": ["Block", "Directional Block", "Multipart"],
             "type": "string"
             "type": "string"
         },
         },
Line 110: Line 94:
             "description": "Whether Light passes through this block (Yes/No)",
             "description": "Whether Light passes through this block (Yes/No)",
             "type": "string"
             "type": "string"
        },
        "hardness": {
            "label": "Hardness",
            "description": "Hardness/Strength of a block",
            "type": "number"
         },
         },
         "light_level": {
         "light_level": {
Line 140: Line 119:
             "label": "Assets",
             "label": "Assets",
             "description": "Texture/Model Creator",
             "description": "Texture/Model Creator",
            "type": "string"
        },
        "technical_category": {
            "label": "Technical Category",
            "description": "Technical Category",
            "type": "string"
        },
        "class_name": {
            "label": "Class Name",
            "description": "The internal class name",
            "type": "string"
        },
        "extends": {
            "label": "Extends",
            "description": "The class name that this block extends from",
            "type": "string"
        },
        "implements": {
            "label": "Implement",
            "description": "The class name that this block implements",
             "type": "string"
             "type": "string"
         }
         }

Latest revision as of 21:35, 31 January 2024


Block Name
JCM Water Machine.png
Insert block images
General Information
Block ID jsblock:water_machine_1
Transparent Yes
Light Level 15
Other Information
Added in v1.0.0
Created by LX86
Assets by 1081MTR


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
Transparenttransparent

Whether Light passes through this block (Yes/No)

Stringoptional
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
Assetsassets

Texture/Model Creator

Stringoptional