Template:Data table/doc

This template is used to create the tables on Data values.

Parameters

 * Unnamed paremeters
 *  : The name of the block, defaults to "unused". A suffix can be added using parentheses after the name.
 *  : Optional notes. Type the letter(s) corresponding to the note(s) you want to add it.
 * I: Has a separate ID as an inventory item.
 * D: Use the item's Damage field to define its durability.
 * S: Requires additional data from the saved game's Data array to fully define the block.
 * B: Requires additional data in the item's Damage field to fully define the inventory item.
 * E: Requires a block entity to store additional data.
 *  : Optional prefix


 * Named parameters
 *  </tt>: Limitations on obtaining. Defaults to any. Values include:
 * give</tt>: Cannot be legitimately obtained. Only available using the /give command or via inventory editors.
 * none</tt>: Cannot be obtained no matter what. (Some can be placed using /setblock)
 * creative</tt>: Available in Creative mode by item list.
 * pick block</tt>: Available in Creative mode by block picking.
 * trading</tt>: Can be obtained by trading with villagers or in Creative mode.
 * enchantments</tt>: Only available by having Enchanted tools or in Creative mode.
 * enchantments only</tt>: Only available by having Enchanted tools or via use of the /give command or inventory editors in Creative mode, but unobtainable in the Creative mode menu.
 * upcoming</tt>: Available in an update yet to be released.
 * planned</tt>: Previews are available, but not yet added in-game.
 *  </tt>: Name of the icon, excluding the .png. If   </tt> is set, then the name of the sprite. Defaults to   </tt>.
 *  </tt>: Size of the icon, defaults to 25px.
 *  </tt>: Change the nameid to something other than   </tt>.
 * <tt> </tt>: Link to a different article than <tt>  </tt>.
 * <tt> </tt>: Set the section in data values to something other than <tt>  </tt>.


 * Table parameters
 * <tt> </tt>: Sets the data value. Defaults to the previous plus 1.
 * <tt> </tt>: If set, the icon uses the sprite template listed instead of a file. Setting it causes all later templates to use the same option. To reset to use a files, set it to be empty.
 * Example: Setting it to <tt>block</tt> will use blockSprite
 * <tt> </tt>: Sets the header title for the template and all following uses. Defaults to <tt>Blocks</tt>.
 * <tt> </tt>: If set to   then all following uses of the template will have no name column. To use the name column again later simply set it back to.
 * <tt> </tt>: If set, then it adds the foot to the table.