TUG wiki:Editing Semantic Recipe Definitions

This wiki uses Semantic Mediawiki features to allow crafting recipes to be entered once, then automatically displayed in search results.

Pages can have up to two definitions, for a primary recipe, and sometimes for a secondary recipe.

Boilerplate Markup
Every page with a recipe should include the primary boilerplate markup. If a page has a second recipe, add the secondary boilerplate markup. They only differ in names of the semantic properties.

Primary Recipe
To make this work, the wiki markup text needs to include a recipe definition section:

Secondary Recipe
(This only needs to be included on pages that have two recipes.)

Steps to editing a recipe
These steps apply to the definitions for both the primary recipe and the secondary recipe.
 * 1) Create a  line for each ingredient
 * 2) *Each subobject must have a different name (such as ingredientA, ingredientB, etc.)
 * 3) *Edit both  and   for each ingredient
 * 4) *If one of the ingredients is not consumed during crafting, use the  version. (For example, Hammer Rocks are not consumed when making a Campfire.)
 * 5) Replace  or delete the line. (Example workspaces: Crude Workbench, Campfire, Flat Rock.)
 * 6) Replace  or delete the line. (Example tools: Crude Hammer. Use Hammer if a hammer is required, but any level will work.)

Multiple Workspaces
Some recipes require more than one workspace at once (potions require both a Pumpkin Cauldron and a Campfire. Others can be done on any of several workspaces (some early recipes will work on an Ancient Stone Table, an Ancient Wood Table, or a Crude Workbench.

Both of these situations are handled the same way. Replace the  line with:

For secondary recipes, instead use: