Template:Crafting Blueprint: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br/>|<!--FALSE--><h2>Craftable Item</h2>}}
<includeonly>{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br/>|<!--FALSE--><h2>Craftable Item</h2>}}
{{#if:{{{craftedby|}}}|<!--TRUE-->'''Crafted by Crafting Station or Player'''<br/><p style="margin-left: 1.6em;">{{{craftedby}}}</p>}}<!--
{{#if:{{{craftedby|}}}|<!--TRUE-->'''Crafted By'''<br/><p style="margin-left: 1.6em;">{{{craftedby}}}</p>}}<!--
-->{{#if:{{{researchrequired|}}}|<!--TRUE-->'''Research Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!--
-->{{#if:{{{researchrequired|}}}|<!--TRUE-->'''Required Research'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!--
-->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount of Item Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}}&nbsp;item(s)</p>}}<!--
-->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}}&nbsp;item(s)</p>}}<!--
-->{{#if:{{{craftingtime|}}}|<!--TRUE-->'''Time Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>}}<!--
-->{{#if:{{{craftingtime|}}}|<!--TRUE-->'''Crafting Time'''<br/><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>}}<!--
-->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Items Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!--
-->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Required Items'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!--
-->[[Category:Crafting/Products]]</includeonly><noinclude>
-->[[Category:Crafting/Products]]</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 03:32, 5 January 2018

Usage

The Crafting Blueprint is meant to be used by the items in the crafting menus. This includes items in player crafting, the crafting table, and the research table.

{{Crafting_Blueprint
|hideheading=<True to hide the heading>
|craftedby=<Player or name of block(s)>
|researchrequired=<List of schematics>
|amount=<Number>
|craftingtime=<Number>
|itemsrequired=<List of items>
}}
  • 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.
  • Templates adds Category:Crafting/Products.