Template:BookTeaches

From dos2.wiki
Jump to navigation Jump to search

Documentation

This template is used to display a table of crafting recipes that are learned by reading a specific book. It acts as a wrapper for Module:CraftingRecipe.

Example

Here is a live demonstration of how the template renders:

Code:

{{BookTeaches|recipe=Knife_LOOT_Hide_Animal_A}}

Result: Reading this book unlocks the following recipes:

Product Ingredients
Leather ScrapsKnife (Item Category)Animal Hide

Usage

Standard
{{BookTeaches|recipe=Recipe_ID}}
Multiple Recipes

You can pass multiple recipe IDs separated by commas.

{{BookTeaches|recipe=WPN_ArrowShaft_A_WPN_ArrowHead_A, Water_WPN_ArrowHead_A}}

TemplateData

Displays a table of crafting recipes unlocked by a book.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Recipe IDsrecipe 1

A comma-separated list of Recipe IDs as defined in the game files.

Example
WPN_ArrowShaft_A_WPN_ArrowHead_A, Water_WPN_ArrowHead_A
Stringrequired