Template:Casting: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<p style="margin-left: 1.6em;">{{{usedbyblock|<Information Missing>}}}{{#if:{{{usedbyblock|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{usedbyblock|<Information Missing>}}}{{#if:{{{usedbyblock|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Ingots Produced
;Ingots Produced
<p style="margin-left: 1.6em;">{{{ingots|{{Image_Number_Link|IronIngot.png|1|Iron Ingot}}}}}</p>
<p style="margin-left: 1.6em;">{{{ingots|<Information Missing>}}}{{#if:{{{ingots|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Items Required
;Items Required
<p style="margin-left: 1.6em;">{{{itemsrequired|<Information Missing>}}}{{#if:{{{itemsrequired|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
<p style="margin-left: 1.6em;">{{{itemsrequired|<Information Missing>}}}{{#if:{{{itemsrequired|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
Line 10: Line 10:
<pre>{{Casting
<pre>{{Casting
|usedbyblock=<Crafting block?>
|usedbyblock=<Crafting block?>
|ingots=<Link to ingot>
|ingots=<Link to ingot?>
|itemsrequired=<Links to items?>}}</pre>
|itemsrequired=<Links to 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.
Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
*Template adds [[:Category:Missing_information]] conditionally.
*Template adds [[:Category:Missing_information]] conditionally.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 14:43, 9 December 2017

Used by Block

<Information Missing>

Ingots Produced

<Information Missing>

Items Required

<Information Missing>

Usage

The Casting template is meant to be used for pages about melting items into ingots.

{{Casting
|usedbyblock=<Crafting block?>
|ingots=<Link to ingot?>
|itemsrequired=<Links to items?>}}
  • The code above can be pasted into your page and edited.

Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.