Difference between revisions of "Template:Metal"
From TerraFirmaCraft Plus Wiki
Kittychanley (Talk | contribs) (Created page with "<includeonly>{{infobox common | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} | imagearea = {{ #if: {{#pos: {{{image}}} | ; }} | {{animate|{{{image}}}|15...") |
(No difference)
|
Revision as of 22:51, 18 April 2015
Template documentation (for the above template, sometimes hidden or invisible)
This template provides a uniform design for metal pages.
{{Metal |title= |image= |image2= |image3= |invimage= |invimage2= |invimage3= |invimage4= |invimage5= |invimage6= |invimage7= |invimage8= |invimage9= |invimage10= |invimage11= |invimage12= |invimage13= |invimage14= |invimage15= |invimage16= |invimage17= |invimage18= |invimage19= |invimage20= |invimage21= |invimage22= |invimage23= |invimage24= |invimage25= |tier= |type= |source= |source2= |source3= |anvil= |tuyere= |casting= |forging= |armor= |notes= }}
Please note the unusual markup at the beginning and end; copy it verbatim if you are creating a new block page.
Parameter | Function | Default value |
---|---|---|
title |
Only needed to change the title from the page name | {{BASEPAGENAME}}
|
image |
Image of the metal materials (Unshaped, ingot, double ingot, etc) (should be approx. 150x150px). Rotate through multiple images by separating them with ; | {{{title}}}.png if it exists, otherwise No image.png (linking to the page where to upload the missing image)
|
imageN |
Other images for multi-state blocks (also approx. 150x150px). Should only be used when the second state is very dissimilar from the first (e.g. fence gates open & closed) | None |
invimage |
Image for object in inventory. Can use None to force no invimage. Uses Template:Grid. | Grid {{{title}}}.png if it exists, otherwise None
|
invimageN |
Other images for multi-state objects in inventory. Uses Template:Grid. | None |
tier |
Tier # | 0 |
type |
Metal or Alloy? | Metal |
source |
Material source. Input "raw" metal names such as copper, tin, zinc, etc to show ore images. Input alloy to just display a link to alloy page. | ? |
anvil |
Is there an anvil made out of this metal? If yes, put "Yes {{GridImage|Anvil_(Metal)}}" | None |
tuyere |
Is there a tuyere made out of this metal? If yes, put "Yes {{GridImage|Metal_Tuyere}}" | None |
casting |
Can this metal be casted into tools? If Yes, put "Yes {{GridImage|Ceramic_Mold_Pick_(Metal)}}" | No |
forging |
Can this metal be forged into tools? If Yes, put "Yes {{GridImage|Metal_Pickaxe}}" | No |
armor |
Is there armor made out of this metal? If Yes, put "Yes {{GridImage|Metal_Helmet}}" | No |
notes |
Adds a centred column spanning across both rows at the bottom of the box | None |
Visit Template:Metal/doc to edit this text! (How does this work?)