Template:Crafting Ingredient: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Crafting Ingredient" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
<p style="margin-left: 1.6em;">{{{usedtocook|<Information Missing>}}}{{#if:{{{usedtocook|}}}||[[Category:Missing_information]]}}</p><!--
<p style="margin-left: 1.6em;">{{{usedtocook|<Information Missing>}}}{{#if:{{{usedtocook|}}}||[[Category:Missing_information]]}}</p><!--
-->{{#if:{{{usedtocreate|}}}|'''Used to Create'''
-->{{#if:{{{usedtocreate|}}}|'''Used to Create'''
<p style="margin-left: 1.6em;">{{{usedtocreate}}}</p>|}}[[Category:Food]]</includeonly><noinclude>
<p style="margin-left: 1.6em;">{{{usedtocreate}}}</p>|}}</includeonly><noinclude>
{{Version <!-- Do not change the version until the entire page is up-to-date -->
{{Version <!-- Do not change the version until the entire page is up-to-date -->
|release=0|major=6}}
|release=0|major=6|minor=x|suppress=true}}
{{HistorySub|0.5}}
{{HistorySub|0.5}}
==Usage==
==Usage==
Line 16: Line 16:
*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. Items with a ? will show that information is missing.
*Any of the attributes can be left out entirely and they will not be displayed. Items with a ? will show that information is missing.
*Templates adds [[:Category:Food]]. [[:Category:Missing_information]] is added conditionally.
*Templates adds [[:Category:Missing_information]] conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 18:42, 17 August 2018


Version: 0.6
History:

Usage

The Resource template is meant to be used by any item that is gathered from the world or used only to create other items/blocks with. This includes logs, stones, and possibly also derived items like ingots and metal parts.

{{Crafting_Ingredient
|usedtocook=<Links to foods?>
|usedtocreate=<Links to 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. Items with a ? will show that information is missing.
  • Templates adds Category:Missing_information conditionally.

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