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:
<h2>Craftable Item</h2>
<h2>Craftable Item</h2>
;Crafted by Block or Player
{{#if:{{{craftedby|}}}|<!--true-->'''Crafted by Block or Player'''<br/><p style="margin-left: 1.6em;">{{{craftedby|}}}</p>|<!--false-->}}<!--EoL-->{{#if:{{{researchrequired|}}}|<!--true-->'''Research Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{researchrequired|}}}</p>|<!--false-->}}<!--EoL-->{{#if:{{{amount|}}}|<!--true-->'''Amount of Item Produced'''<br/><p style="margin-left: 1.6em;">{{{amount|}}} item(s)</p>|<!--false-->}}<!--EoL-->{{#if:{{{craftingtime|}}}|<!--true-->'''Time Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{craftingtime|}}}&nbsp;second(s)</p>|<!--false-->}}<!--EoL-->{{#if:{{{itemsrequired|}}}|<!--true-->'''Items Required to Craft'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired|}}}</p>|<!--false-->}}<includeonly>[[Category:Crafting/Products]]</includeonly><noinclude>
<p style="margin-left: 1.6em;">{{{craftedby|Player}}}</p>
;Research Required to Craft
<p style="margin-left: 1.6em;">{{{researchrequired|None}}}</p>
;Amount of Item Produced
<p style="margin-left: 1.6em;">{{{amount|1}}} item(s)</p>
;Time Required to Craft
<p style="margin-left: 1.6em;">{{{craftingtime|<Information Missing>}}}{{#if:{{{craftingtime|}}}|&nbsp;second(s)|<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Items Required to Craft
<p style="margin-left: 1.6em;">{{{itemsrequired|<Information Missing>}}}{{#if:{{{itemsrequired|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p><includeonly>[[Category:Crafting/Products]]</includeonly><noinclude>


==Usage==
==Usage==
Line 17: Line 8:
|researchrequired=<List of schematics>
|researchrequired=<List of schematics>
|amount=<Number>
|amount=<Number>
|craftingtime=<Number?>
|craftingtime=<Number>
|itemsrequired=<List of items?>}}</pre>
|itemsrequired=<List of items>
}}</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 use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
*Any of the attributes can be left out entirely and they will not be displayed.
*Templates adds [[:Category:Crafting/Products]]. [[:Category:Missing_information]] is added conditionally.
*Templates adds [[:Category:Crafting/Products]].
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 13:02, 7 September 2017

Craftable Item


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
|craftedby=<Player or name of block>
|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 not be displayed.
  • Templates adds Category:Crafting/Products.