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>: Only available using /give.
 * none</tt>: Cannot be obtained no matter what. May 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 /give, but unobtainable in the creative mode menu.
 * upcoming</tt>: Available in an update yet to be released.
 *  </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>: 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.