Template:MechanicalToolhead: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br />|<!--FALSE--><h2>Recipes Crafted</h2>}}<!--
-->{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br />t|f<!--FALSE--><h2>Recipes Crafted</h2>}}<!--


-->{{#if:{{{recipename|}}}|<!--TRUE--><p>'''{{{recipename}}}'''</p>|<!--FALSE--><p></p>}}<!--
-->{{#if:{{{recipename|}}}|<!--TRUE--><p>'''{{{recipename}}}'''</p>t|f<!--FALSE--><p></p>}}<!--


-->'''Items Required'''<br /><!--
-->'''Items Required'''<br /><!--
-->{{#if:{{{itemsrequired|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>|<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--
-->{{#if:{{{itemsrequired|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>t|f<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--


-->'''Items Produced'''<br /><!--
-->'''Items Produced'''<br /><!--
-->{{#if:{{{itemsproduced|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{itemsproduced}}}</p>|<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--
-->{{#if:{{{itemsproduced|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{itemsproduced}}}</p>t|f<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--


-->'''Time Required to Craft'''<br /><!--
-->'''Time Required to Craft'''<br /><!--
-->{{#if:{{{craftingtime|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>|<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--
-->{{#if:{{{craftingtime|}}}|<!--TRUE--><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>t|f<!--FALSE--><Missing Information><includeonly>[[Category:Missing_information]]</includeonly>}}<!--


-->[[Category:Mechanical_Blocks/Toolheads]]</includeonly><noinclude>
-->[[Category:Mechanical_Blocks/Toolheads]]</includeonly><noinclude>

Revision as of 20:20, 22 December 2017

}}Items Produced
f<Missing Information>Time Required to Craft
f<Missing Information></includeonly>

Usage

The MechanicalToolhead template is meant to be used by toolhead items. Use the hideheading variable to add more than one recipe.

{{Crafting_Blueprint
|hideheading=<True to hide the heading>
|recipename=<name>
|itemsrequired=<items?>
|itemsproduced=<items?>
|craftingtime=<Number?>
}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will be ignored or not displayed at all. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
  • Templates adds Category:Mechanical_Blocks/Toolheads.