Template:Artisan product by category table/doc

From MB Wiki
< Template:Artisan product by category table
Revision as of 22:03, 18 August 2024 by Ftdb (talk | contribs) (Added examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is the documentation page for Artisan product by category table.
It contains usage information, categories, and other content not part of the original template page.

Example 1

No parameters:
{{Artisan product by category table}} yields: No artisan product needs artisan product by category table/doc.

Example 2

Setting "Filter: Item name":
{{Artisan product by category table|Egg}} yields: No artisan product needs egg.

Example 3

Setting "Filter: Artisan equipment":
{{Artisan product by category table||medium = Mason jar}} yields: No page matches category selection.

Example 3

Setting both "Filter: Item name" and "Filter: Artisan equipment":
{{Artisan product by category table|Egg|medium = Mason jar}} yields: No artisan product needs egg.

Displays a table of artisan products that require a given item.

Template parameters

ParameterDescriptionTypeStatus
Filter: Item name1

If set, limits the returned product recipes to those requiring these items. Multiple items should be separated by a semicolon. When not set, defaults to the name of the current page (the current item). Case-sensitive!

Example
Egg;Milk
Stringoptional
Filter: Artisan equipmentmedium

If set, limits the results to those that use these artisan equipments. Multiple names should be separated by a semicolon. Case-sensitive!

Example
Mason jar
Stringoptional
Filter: Only these recipesonly

If set, limits the results to these recipes (other filters still apply and can exclude them). Multiple recipes should be separated by a semicolon. Case-sensitive!

Stringoptional
Filter: Belonging to category 1category

If set, further limits results to those recipes that belong to this category. Only a single category name is allowed.

Stringoptional
Filter: Belonging to category 2category2

If set, further limits results to those recipes that belong to this category. Only a single category name is allowed.

Unknownoptional
Display "Sell Price" column?noprice

If set to a non-empty value, the sell price column will not be displayed.

Booleanoptional
Display "Restores" column?norestore

If set to a non-empty value, the "Restores" column will not be displayed. Depends on the visibility of the "Sell price" column; if "Sell price" is not displayed, "Restores" will also be hidden.

Booleanoptional
Filter: Not belonging to category 1not

If set, further limits results to those recipes that do not belong to this category. Only a single category name is allowed.

Unknownoptional
Filter: Not belonging to category 2not2

If set, further limits results to those recipes that do not belong to this category. Only a single category name is allowed.

Unknownoptional