Template:Crafting Blueprint: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br/>|<!--FALSE--><h2>Crafting Recipe{{#if:{{{recipenumber|}}}|<!--TRUE--> {{{recipenumber}}}}}</h2>}} | <includeonly>{{#ifeq:{{{hideheading|}}}|True|<!--TRUE--><br/>|<!--FALSE--><h2>Crafting Recipe{{#if:{{{recipenumber|}}}|<!--TRUE--> {{{recipenumber}}}}}</h2>}} | ||
{{#if:{{{craftedby|}}}|<!--TRUE-->'''Crafted By'''<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-->'''Required Research'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!-- | -->{{#if:{{{researchrequired|}}}|<!--TRUE-->'''Required Research (Any)'''<br/><p style="margin-left: 1.6em;">{{{researchrequired}}}</p>}}<!-- | ||
-->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Required Items'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!-- | -->{{#if:{{{itemsrequired|}}}|<!--TRUE-->'''Required Items'''<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<!-- | ||
-->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}} item(s)</p>}}<!-- | -->{{#if:{{{amount|}}}|<!--TRUE-->'''Amount Produced'''<br/><p style="margin-left: 1.6em;">{{{amount}}} item(s)</p>}}<!-- |
Revision as of 12:01, 23 April 2018
Usage
The Crafting Blueprint template is meant to be used by the items in the crafting menus. This includes items in player crafting, crafting blocks, and toolheads.
{{Crafting_Blueprint |hideheading=<True to hide the heading> |recipenumber=<Number when more than one recipe> |craftedby=<Player/Block/Toolhead> |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, and adds Category:Crafted By Player conditionally.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.