v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Metal"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Changing header title from "Ingot" to "Graphic" for template consistency.)
 
(50 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
+
<includeonly>{{infostart|{{{name}}}}}
|+ style="font-weight: bold" |{{{name}}}
+
{{infocell|{{{sample|}}}}}
|-
+
{{infocell|{{Metal/picture|ingredients={{#if:{{{color3|}}}|3|{{#if:{{{color2|}}}|2|1}}}}|color={{{color}}}|
| colspan="2" |
+
tile1={{{tile1|≡}}}|color1={{{color1}}}|
{| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto"
+
tile2={{{tile2|}}}|color2={{{color2}}}|
|-
+
tile3={{{tile3|}}}|color3={{{color3}}}}}}}
|style="padding: 0"|{{Raw Tile|&nbsp;|#ccc|#ccc}}
+
{{infoheader|Uses}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
{{infocell|{{{uses|}}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
* [[Construction]]}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
{{infoheader|Graphic}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
{{infocell|{{#if:{{{graphic|}}}|[[File:{{{graphic}}}|center]]|No graphic.}}}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
{{#if:{{{ore|}}}|{{infoheader|[[Ore]]}}
|style="padding: 0"|{{Raw Tile|&nbsp;|#ccc|#ccc}}
+
{{infocell|{{{ore|}}}}}}}
|-
+
{{#if:{{{recipe|}}}|{{infoheader|Recipe}}
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
+
{{infocell|{{{recipe|}}}}}}}
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
{{infoheader|Properties}}
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
+
{{infocell|{{{properties|}}}}}
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
+
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
+
{{infoend}}</includeonly><noinclude>
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
 
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
 
|-
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#xA3;|{{{ore_color}}}|#ccc}}
 
|style="padding: 0"|{{Raw Tile|&nbsp;|#ccc|#ccc}}
 
|-
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|*|{{{ore_color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&nbsp;|#ccc|#ccc}}
 
|-
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x2261;|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
 
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Ore
 
|-
 
| colspan="2" style="padding: 0.25em" | <span style="float: right">{{Raw Tile|&#xA3;|{{{ore_color}}}|white}} {{Raw Tile|*|{{{ore_color}}}|white}}</span> {{{ore}}}
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Properties
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Material Values|Trade value]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{value}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Coins|Coin value]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{coin}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Weapon Damage|Weapon damage]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{damage}}}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Uses
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
{{{uses}}}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Restrictions
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
{{{restrictions}}}
 
|}<noinclude>
 
 
Usage:
 
Usage:
 
<pre><nowiki>
 
<pre><nowiki>
{{Metal|color=white|ore_color=grey|name=Silver|ore=Galena<br>Silver Nuggets|value=10&times;|coin=$2|damage=50%
+
{{Metal|name=Silver|
 +
|sample=
 +
|graphic=
 +
|graphic2
 +
[[File:SilverSample.png|256px|center|frameless]]
 +
|color=7:7:1
 +
|ore=
 +
* [[Silver nuggets]]
 +
* [[Horn silver]]
 +
|properties=
 +
* [[Damage]]% 50
 +
* [[Material value]] 10
 
|uses=
 
|uses=
 
* [[Bolts]]
 
* [[Bolts]]
* [[Crafts]]
+
* [[Weapon|Melee weapons]]
* [[Coins]]
 
* [[Furniture]]
 
* [[Weapons]]
 
|restrictions=
 
* [[Anvils]]
 
* [[Armor]]
 
* [[Crossbows]]
 
* [[Picks]]
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Metal|color=white|ore_color=grey|name=Silver|ore=Galena<br>Silver Nuggets|value=10&times;|coin=$2|damage=50%
+
{{Metal|name=Silver|
 +
|sample=
 +
[[File:SilverSample.png|256px|center|frameless]]
 +
|color=7:7:1
 +
|ore=
 +
* [[Silver nuggets]]
 +
* [[Horn silver]]
 +
|properties=
 +
* [[Damage]]% 50
 +
* [[Material value]] 10
 
|uses=
 
|uses=
 
* [[Bolts]]
 
* [[Bolts]]
* [[Crafts]]
+
* [[Weapon|Melee weapons]]
* [[Coins]]
 
* [[Furniture]]
 
* [[Weapons]]
 
|restrictions=
 
* [[Anvils]]
 
* [[Armor]]
 
* [[Crossbows]]
 
* [[Picks]]
 
 
}}
 
}}
 +
 +
[[category:materials templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:32, 3 May 2024

Usage:

{{Metal|name=Silver|
|sample=
|graphic=
|graphic2
[[File:SilverSample.png|256px|center|frameless]]
|color=7:7:1
|ore=
* [[Silver nuggets]]
* [[Horn silver]]
|properties=
* [[Damage]]% 50
* [[Material value]] 10
|uses=
* [[Bolts]]
* [[Weapon|Melee weapons]]
}}


Silver
SilverSample.png
÷ Ω Ω Ω Ω Ω ÷
Ω = = Ω
Ω = Ω
Ω Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Graphic

No graphic.

Ore
Properties

Wikipedia article