User:Red Agliator/My Sandbox/template to find harvesting tech level

Parameters
None. This applies only to the page that has transcluded this template.

This returns a plain string with the name of the minimum tech level. (No linking or markup is included.) If no source object/blocks are found, this returns an empty string.

Location
Usually on pages for harvested items and foods, though this is also used by other templates.

Use
Some blocks and environment objects require a minimum tech level to break. This means that items/foods harvested from these blocks also require that tech level to be obtained. This template is a way to hide the markup that figures out the required tech level to harvest an item/food.

Example
To set and show the property tech level needed to harvest an item or food, use this on that item's page:

To set the required tech level without showing it on the page: