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><h2>Craftable Item</h2>
<includeonly>{{#ifeq:{{{hideheading|}}}|True|<!--TRUE-->|<!--FALSE--><h2>Craftable Item</h2>}}
{{#if:{{{craftedby|}}}|<!--TRUE-->'''Crafted by Block or Player'''<br/><p style="margin-left: 1.6em;">{{{craftedby}}}</p>}}<!--EoL-->{{#if:{{{researchrequired|}}}|<!--TRUE-->'''Research Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!--EoL-->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount of Item Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}}&nbsp;item(s)</p>}}<!--EoL-->{{#if:{{{craftingtime|}}}|<!--TRUE-->'''Time Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>}}<!--EoL-->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Items Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!--EoL-->[[Category:Crafting/Products]]</includeonly><noinclude>
{{#if:{{{craftedby|}}}|<!--TRUE-->'''Crafted by Crafting Station or Player'''<br/><p style="margin-left: 1.6em;">{{{craftedby}}}</p>}}<!--EoL-->{{#if:{{{researchrequired|}}}|<!--TRUE-->'''Research Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!--EoL-->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount of Item Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}}&nbsp;item(s)</p>}}<!--EoL-->{{#if:{{{craftingtime|}}}|<!--TRUE-->'''Time Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>}}<!--EoL-->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Items Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!--EoL-->[[Category:Crafting/Products]]</includeonly><noinclude>
==Usage==
==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.
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.
<pre>{{Crafting_Blueprint
<pre>{{Crafting_Blueprint
|craftedby=<Player or name of block>
|hideheading=<True to hide the heading>
|craftedby=<Player or name of block(s)>
|researchrequired=<List of schematics>
|researchrequired=<List of schematics>
|amount=<Number>
|amount=<Number>
Line 11: Line 12:
}}</pre>
}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*Any of the attributes can be left out entirely and they will not be displayed.
*Any of the attributes can be left out entirely and they will be ignored or not displayed at all.
*Templates adds [[:Category:Crafting/Products]].
*Templates adds [[:Category:Crafting/Products]].
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 14:27, 9 December 2017

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.