Template:Casting: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Used by Block
'''Used by Block'''
<p style="margin-left: 1.6em;">{{{usedbyblock|<Information Missing>[[Category:Missing_information]]}}}</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>[[Category:Missing_information]]}}}</p><noinclude>
<p style="margin-left: 1.6em;">{{{itemsrequired|<Information Missing>}}}{{#if:{{{itemsrequired|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>


==Usage==
==Usage==
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 Ordering}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 21:16, 27 January 2018

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.
  • Template 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.