Template:Recipes

From Official Barotrauma Wiki
Revision as of 21:08, 18 November 2021 by 31percent (talk | contribs)
Jump to: navigation, search
Template-info.png Documentation

This template is used to display a list of items, and their crafting requirements / deconstruction yields.

Syntax

{{ Recipes | fabricator OR medicalfabricator OR deconstructor | width = <customwidth> (default 70) | everything = yes | material = <Custom Material> | exclude = <Term to exclude>}}

everything If this is set to yes (or any non-null value), then all the items are displayed. This is meant to be used on the main fabricator/deconstructor pages for example. For individual pages, this parameter shouldn't be specified.
fabricator displays the list of items that can be fabricated in the standard fabricator with the current item (or all items if "everything=yes" is set).
medicalfabricator displays the list of items that can be fabricated in the medical fabricator with the current item (or all items if "everything=yes" is set).
deconstructor displays the list of items that can deconstructed into the current item (or all items if "everything=yes" is set), AND that cannot be crafted (since those recipes are listed in the previous tables already).
material sets a custom material to be listed. If omitted, it will default to the page name. Note that all items which have this term in their name will be listed, so the "exclude" parameter may be necessary as well.
exclude excludes a string from the query. This is useful in case the current item's name is also contained in another item's name, such as "Diving Suit" is contained in "Combat Diving Suit".
exclude2 same as above, useful if one exclusion isn't enough.

Examples

In the following examples, "material" is always specified because it would otherwise default to the page name. On an item's page, it can be omitted.

{{Recipes|fabricator|material=Diving Suit}}
gives:

Fabricator Items
Crafting Materials Crafting Talent, Skill, Time Item Deconstruction Time Deconstruction Yield
Diving Suit icon.png Diving Suit
Rubber.png Rubber
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy (x2)
Mechanical 60
 Time.png 45
Abyss Diving Suit.png
Abyss Diving Suit
Time.png 30 Rubber.png Rubber
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy (x3)
Diving Suit icon.png Diving Suit
Ballistic Fiber icon.png Ballistic Fiber
Rubber.png Rubber
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy
Mechanical 60
 Time.png 45
Combat Diving Suit.png
Combat Diving Suit
Time.png 30 Ballistic Fiber icon.png Ballistic Fiber
Rubber.png Rubber
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy (x2)
Combat Diving Suit.png Combat Diving Suit
Rubber.png Rubber
Mechanical 20
Talent: Navy Diver
Time.png 45
Slipsuit.png
Slipsuit
Time.png 20 Combat Diving Suit.png Combat Diving Suit
Rubber.png Rubber


{{Recipes|deconstructor|material=Plastic|width=40}}
gives:

Deconstructor Items
Item Deconstruction Time Deconstruction Yield
Deadeye Carbine.png
Deadeye Carbine
Time.png 10 Steel Bar.png Steel Bar
Plastic.png Plastic
Flamer.png
Flamer
Time.png 10 Steel Bar.png Steel Bar
Plastic.png Plastic
Prototype Steam Cannon.png
Prototype Steam Cannon
Time.png 10 Steel Bar.png Steel Bar

Plastic.png Plastic

Revolver.png
Revolver
Time.png 10 Steel Bar.png Steel Bar
Plastic.png Plastic
SMG.png
SMG
Time.png 10 Steel Bar.png Steel Bar
Plastic.png Plastic


{{Recipes|deconstructor|material=Titanium|width=40}}
gives:

Deconstructor Items
Item Deconstruction Time Deconstruction Yield
Boom Stick.png
Boom Stick
Time.png 10 Steel Bar.png Steel Bar
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy
Grenade Launcher.png
Grenade Launcher
Time.png 10 Steel Bar.png Steel Bar
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy
Ilmenite.png
Ilmenite
Time.png 5 Titanium.png Titanium
Riot Shotgun.png
Riot Shotgun
Time.png 10 Steel Bar.png Steel Bar
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy
Scrap.png
Scrap
Time.png 10 Two of the following:
Iron.png Iron
Copper.png Copper
Lead.png Lead
Steel Bar.png Steel Bar
Aluminum.png Aluminum
Carbon.png Carbon
Rubber.png Rubber
Titanium-Aluminum Alloy.png Titanium-Aluminum Alloy
Thorium.png Thorium
Titanite.png
Titanite
Time.png 5 Titanium.png Titanium (x3)
Iron.png Iron


{{Recipes|deconstructor|material=Titanium|exclude=Alloy|width=40}}
gives:

Deconstructor Items
Item Deconstruction Time Deconstruction Yield
Ilmenite.png
Ilmenite
Time.png 5 Titanium.png Titanium
Titanite.png
Titanite
Time.png 5 Titanium.png Titanium (x3)
Iron.png Iron