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 and  to 0
 * defaults and  to 0
 * defaults and  to 0
 * defaults to 1
 * defaults and  to 0
 * defaults and  to 0
 * 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.
 * does not refer to the code, it is instead just a useful tool to mass-define parameters.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  method.
 * refers to the  methods.
 * refers to the  methods.