Template:Breaking row/doc

This template is used to create a table for the time it takes to mine blocks. The main function is designed for use on Breaking.

Parameters

 * First column
 * : Block name.
 * : Set the link, defaults to
 * : Sets the sprite ID, defaults to
 * : If set, the row uses itemSprite instead of a blockSprite.
 * : Used to add a note after the title, usually using
 * : Trims off the stated text from the end of the title. Designed for use with the horizontal function.
 * Breaking columns
 * : Proper tool. It can be set to,  ,  ,  , or   (default).
 * : Minimum grade of tool required. It can be set to,  ,  ,  , or   (default). Will determine breaking times and when the background turns red.
 * If set to, it changes the background for the columns that should drop to yellow, signifying it does not drop but is the proper tool.
 * If set to, the columns will not turn red when below the tool grade. Used because the Education Edition has blocks that calculate times as if a pickaxe is required (including the no pickaxe penalty), but still drop when broken by hand.
 * : Sets the shears column. If set to, it changes the background for the main columns to yellow, signifying it does not drop.
 * : Sets the sword column. If set to, it changes the background for the main columns to yellow, signifying it does not drop.
 * Table parameters
 * : If set, adds the footer. If set to, it adds the header columns at the bottom as well.
 * : If set, the table will be sortable.
 * : If set, the main tool column will be removed.
 * : If set, the shears column will be removed.
 * : If set, the sword column will be removed.
 * : If set, the sword column will be removed.

Multiple names
The parameter can be a comma separated list to display multiple block names. The first name will be used for the hardness value.

,, and will perform their function on all names in the row if set, unless set to a comma separated list, in which case each part corresponds to the same part of the name, with a part containing only white space setting the name to use the value from

Modes
The table supports two alternate modes.

Simple
If is set, the table will not show the "Hardness", "Tool", "Shears", or "Sword" columns. will also take the function previously done by.

This mode is designed to be used on tool articles, such as Pickaxe, where the available tool is already stated.

Horizontal
If is set, the table will rotate, displaying columns of individual blocks instead of rows. In this mode, the entire table is built using a single call of the template. Individual columns are specified using a semi-colon separated list within the parameters. If the corresponding part of the parameter is only white space, the parameter will use the default value.

When using this mode, the parameters and  have no function, and all parameters that previously affected a column will now affect a row.

This mode is designed for displaying a table on block articles, such as Stone.

fr:Modèle:Tableau de minage ko:틀:Breaking row nl:Sjabloon:Breektabel pt:Predefinição:Linha de quebra ru:Шаблон:Таблица разрушаемости zh:模板:Breaking row

fr:Modèle:Tableau de minage/doc ko:틀:Breaking row/doc nl:Sjabloon:Breektabel/doc pt:Predefinição:Linha de quebra/doc ru:Шаблон:Таблица разрушаемости/док zh:模板:Breaking row/doc