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

Difference between revisions of "Template:InfoBox block"

Template page
Line 47: Line 47:
{{#if:{{{technical_category|}}}|<div class="infobox-category">Technical Information</div>}}
{{#if:{{{technical_category|}}}|<div class="infobox-category">Technical Information</div>}}
<table>
<table>
{{#if:{{{class|}}}|<tr>
{{#if:{{{class_name|}}}|<tr>
     <th>Class Name</th>
     <th>Class Name</th>
     <td>{{{class}}}</td>
     <td>{{{class_name}}}</td>
</tr>}}
</tr>}}
{{#if:{{{extends|}}}|<tr>
{{#if:{{{extends|}}}|<tr>

Revision as of 17:19, 22 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
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