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"
 *  : Optional notes. Type the letter(s) corresponding to the note(s) you want to add it.
 * D: Requires additional data from the saved game's Data array to fully define the block.
 * I: Has a different ID as an inventory item.
 * 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
 *  : Optional suffix, parentheses are added automatically


 * 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>: If set, then it adds the foot to the table.