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

Difference between revisions of "Template:InfoBox block"

Template page
m (Remove Technical Information)
Line 43: Line 43:
     <th>Assets by</th>
     <th>Assets by</th>
     <td>{{{assets}}}</td>
     <td>{{{assets}}}</td>
</tr>}}
</table>
{{#if:{{{technical_category|}}}|<div class="infobox-category">Technical Information</div>}}
<table>
{{#if:{{{class_name|}}}|<tr>
    <th>Class Name</th>
    <td>{{{class_name}}}</td>
</tr>}}
{{#if:{{{extends|}}}|<tr>
    <th>Extends</th>
    <td>{{{extends}}}</td>
</tr>}}
{{#if:{{{implements|}}}|<tr>
    <th>Implement</th>
    <td>{{{implements}}}</td>
</tr>}}
</tr>}}
</table>
</table>

Revision as of 20:53, 20 October 2023


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

Texture/Model Creator

Stringoptional
Technical Categorytechnical_category

Technical Category

Stringoptional
Class Nameclass_name

The internal class name

Stringoptional
Extendsextends

The class name that this block extends from

Stringoptional
Implementimplements

The class name that this block implements

Stringoptional