Template:Crafts/doc

This is a documentation only page, it documents the sub-pages:
 * template:crafts top
 * template:crafts row
 * template:crafts first sub row
 * template:crafts sub row
 * template:crafts bottom

Usage is:

:A row, repeat as necessary. ... :A row, repeat as necessary. :Closes the table

is just a convenience table top. You may replace it with your own wiki code if necessary, just like on the recipes pages. closes the table. is a self contained row.

This template is the bulk of the crafts set:

Example usage

 * "top": is a switch to indicate to a row it is just under a heading, and should not insert a top seperator (ie a black line)
 * "tool": and "toolspan" is an optional attribute used to create a side cell. "tool" is the tool, and "toolspan" is the span of the cell, counted in amount of cells, which should be equal to the number of ingredients. In case of multiple rows using the same tool the tool parameter can be omitted for subsequent rows and the toolspan parameter of the first should be increased.
 * "result": The resulting item, followed by the resulting amount. In case the resulting amount is 1 it should be omitted (though the | character is still required!)
 * For every ingredient a row with an ingredient name and amount should be present. In case the  amount is 1 it should be omitted (though the | character is still required!)

This results in: