Template:Crafting Block: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Crafting</h2>
<h2>[[:Category:Crafting/Blocks|Crafting]]</h2>
'''Craftable Items'''
'''Craftable Items'''
<p style="margin-left: 1.6em;">{{{craftable|<Information Missing>}}}{{#if:{{{craftable|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{craftable|<Information Missing>}}}{{#if:{{{craftable|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
'''Requires Fuel'''
'''Requires Fuel'''
<p style="margin-left: 1.6em;">{{{fuel|No}}}</p>
<p style="margin-left: 1.6em;">{{{fuel|No}}}</p>
{{#if:{{{related|}}}|<!--TRUE-->'''Related Research'''<br/><p style="margin-left: 1.6em;">{{{related}}}</p>}}<includeonly>[[Category:Crafting/Blocks]]</includeonly><noinclude>
{{#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>


==Usage==
==Usage==
Line 16: Line 16:
*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 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.
*Templates adds [[:Category:Crafting/Blocks]]. [[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>
[[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.