User:Red Agliator/My Sandbox/Tech Level for Recipe Definition

Description
Returns (transcludes) the plain text name of the maximum technology required for a given workspace, tool, and list of ingredients. (No link or wiki markup.) If this can't figure out the technology level (such as with a missing or bad recipe), this returns an empty string.

This is used by other templates to figure out tech levels for.

See the example code for getting the list of parameters for this template.

Parameters

 * 1) Ingredient Names
 * Comma-separated list of ingredient page names without linking markup
 * 1) Workspace Name(s)
 * Workspace page name without linking markup. If there are more than one, use commas as the separator.
 * 1) Tool Name
 * Tool page name without linking markup

Primary recipe
To find the tech level for the primary recipe on the current page:

On the page, this will give:

On the page, this will give:

On the page, this will give nothing:

Secondary recipe
To find the tech level for the secondary recipe on the current page:

On the page, this will give: