Template:Crafting Block: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (First layout)
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Crafting</h2>
<h2>[[:Category:Crafting/Blocks|Crafting]]</h2>
;Craftable Blueprints
'''Craftable Items'''
: {{{craftable|?}}}
<p style="margin-left: 1.6em;">{{{craftable|<Information Missing>}}}{{#if:{{{craftable|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Requires Fuel
'''Requires Fuel'''
: {{{fuel|No}}}
<p style="margin-left: 1.6em;">{{{fuel|No}}}</p>
;Related Research
{{#if:{{{related|}}}|<!--TRUE-->'''Related Research'''<br/><p style="margin-left: 1.6em;">{{{related}}}</p>}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Crafting/Blocks]]</includeonly>}}<noinclude>
: {{{related|?}}}
 
==Usage==
The Crafting Block template is meant to be used for any block that is used in crafting. This includes the campfire and crafting table.
<pre>{{Crafting_Block
|craftable=<List of items?>
|fuel=<Yes/No>
|related=<Links to research>
}}</pre>
*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.
*Templates adds [[:Category:Crafting/Blocks]]. [[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>

Latest revision as of 12:26, 12 September 2018

Crafting

Craftable Items

<Information Missing>

Requires Fuel

No


Usage

The Crafting Block template is meant to be used for any block that is used in crafting. This includes the campfire and crafting table.

{{Crafting_Block
|craftable=<List of items?>
|fuel=<Yes/No>
|related=<Links to research>
}}
  • 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.
  • Templates adds Category:Crafting/Blocks. Category:Missing_information is added conditionally.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.