Advertisement

Crafts

Template-info.png Documentation The documentation below is transcluded from Template:Crafts/doc. (edit | history)

This is a documentation only page, it documents the sub-pages:

Usage is:

{{crafts top}}:Opens the table
{{crafts row}}:A row, repeat as necessary.
...
{{crafts row}}:A row, repeat as necessary.
{{crafts bottom}}:Closes the table

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

{{crafts row}}

This template is the bulk of the crafts set:

Example usage

{{crafts row |top=y
 | tool = By Hand | toolspan = 2
 | result = Sticky Grenade | 5
 | Gel  |
 | Grenade | 5
}}
  • "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:

Result IngredientsCrafting Station
Sticky Grenade.png Gel.png Gel By Hand
Grenade.png Grenade (5)

Old usage (deprecated, but supported)

{{crafts row |top=
 | tool =
 | toolspan =

 | result =          | resultamount = 
 | item1 =           | amount1 =  
 | item2 =           | amount2 =  
 | item3 =           | amount3 =  
 | item4 =           | amount4 = 
 | item5 =           | amount5 = 
}}

Protection and Evolution

The totality of "Crafts" is protected. This is because it is not a beginner friendly template, and even just touching it can have big impacts on the wiki. This does not mean the tables cannot evolve! If you have any suggestion, those in the know-how can easily change the layout of the table. Feel free to suggest in the talk page.

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.