Template:Materials row

{{documentation|content= {{lua|Materials row}} This template is used to create the rows for the table containing the material properties on Materials.

Usage
The parameter is set to the title to display in the first column.

The parameter contains three color values separated by commas to display as a colored cell and text. It should be set based on the material's map color. If unset, it defaults to a white color and the text "None"

Properties
The table contains the following properties. They are set to 1 for true, and 0 for false.

Subclasses can also be set using for to change the defaults based on coded subclasses. Values include:
 * defaults and  to 1
 * defaults and  to 0
 * defaults to "replace"
 * defaults to 1
 * defaults, and  to 0
 * defaults, and  to 0
 * defaults to 1
 * defaults, and  to 0
 * defaults to 1
 * defaults to 1
 * defaults, and  to 0
 * defaults to 1
 * defaults to 1
 * defaults to 1

The parameter can be set to determine the interaction when a piston pushes the block. Options are as follows:
 * - pushes the block, default
 * - breaks the block being pushed
 * - stops the piston from extending

Code
The parameters generally correspond to the actual structure of the code. With reference to MCP 9.10:
 * refers to actual subclasses of the  class. Names mostly match, but "nonsolid" is , while "cobweb" is the inline class used for the   material.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  and   methods.
 * refers to the  and   methods.
 * refers to the  and   methods.
 * refers to the  and   methods.
 * refers to the  method.
 * refers to the,  , and   methods.