Wrapper template for Module:Crafting cost. This module returns a formatted (using Template:Item list) list of an item's crafting cost, if any.
Usage
Pass the item you want the list for as the first argument, like so:
{{Crafting cost|Combat Helmet}}
Which gives:
- 4 Radio Equipment
- 1 Hardened Bone Plates
- 17,000 K-Marks
- 1hr 15min
If an item does not have a crafting recipe, it will look like this:
Lua error: This item does not have a crafting cost.
Attachments
Since attachments share their in game name, you must pass the rarity as the second argument if that attachment has multiple variants. Attachments without multiple variants do not require this argument.
{{Crafting cost|Medium Extended|Uncommon}}
Which gives, as expected:
- 2 Compound Sheets
- 2 Salvaged Insulation
- 1,200 K-Marks
- 6min
Nesting
It is possible to make the resulting Item list nested one level deep. To do so, add nested=yes
to the template parameters.
- Printing:
- 4 Radio Equipment
- 1 Hardened Bone Plates
- 17,000 K-Marks
- 1hr 15min