Template:Used in/doc

From Outward Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Used In Template

This listing template lists all recipes that specified item is an ingredient of. Intended to be use with Template:Recipe (Recipe defines, used in displays).

Usage

{{used in
| name      = Name of the ingredient. Will default to {{PAGENAME}} (current page name). Should be the same as recipes' ingredientX parameter
| search by = ingredient/station
| fulfills  = comma-separated list of ingredients this item fulfills (for example, Raw Meat fulfills "Meat,Ration Ingredient" ingredients)
| limit     = specify to limit number of rows
| no header = true/false. if true, no header will be shown
}}

Fastest way to use this template is with ignoring all parameters and this will work on specific ingredient's Page:

{{used in}}

Examples

Obsidian Shard (with Header)

{{used in|name=Obsidian Shard}}
ResultIngredientsStation
Blazing Bomb.png
1x Blazing Bomb The Three Brothers
Alchemy Kit

Obsidian Shard (without Header)

{{used in|name=Obsidian Shard|no header=true}}
ResultIngredientsStation
Blazing Bomb.png
1x Blazing Bomb The Three Brothers
Alchemy Kit

Usage of Fulfills

Lists all recipes that have either Raw Meat or Meat as any ingredient.

{{used in|name=Raw Meat|fulfills=Meat}}
Raw Meat also fulfills the ingredients for: Meat
ResultIngredientsStation
Cooked Meat.png
1x Cooked Meat
Campfire

Usage of Search By

Lists recipes that can be done in Cooking Pot. Since all Campfire's recipes can be done in Cooking Pot as well, it fulfills Campfire. Added limit=5 for clarity in Documentation.

{{used in|name=Cooking Pot|fulfills=Campfire|search by=station|limit=5}}
Cooking Pot also fulfills the ingredients for: Campfire
No recipes found for query "Cooking Pot".

See Also

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.