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"
Jump to navigation
Jump to search
(Changing header title from "Ingot" to "Graphic" for template consistency.) |
|||
(48 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{infostart|{{{name}}}}} |
− | { | + | {{infocell|{{{sample|}}}}} |
− | + | {{infocell|{{Metal/picture|ingredients={{#if:{{{color3|}}}|3|{{#if:{{{color2|}}}|2|1}}}}|color={{{color}}}| | |
− | | | + | tile1={{{tile1|≡}}}|color1={{{color1}}}| |
− | + | tile2={{{tile2|≡}}}|color2={{{color2}}}| | |
− | { | + | tile3={{{tile3|≡}}}|color3={{{color3}}}}}}} |
− | + | {{infoheader|Uses}} | |
− | {{ | + | {{infocell|{{{uses|}}} |
− | + | * [[Construction]]}} | |
− | | | + | {{infoheader|Graphic}} |
− | {{ | + | {{infocell|{{#if:{{{graphic|}}}|[[File:{{{graphic}}}|center]]|No graphic.}}}} |
− | {{ | + | {{#if:{{{ore|}}}|{{infoheader|[[Ore]]}} |
− | + | {{infocell|{{{ore|}}}}}}} | |
− | {{ | + | {{#if:{{{recipe|}}}|{{infoheader|Recipe}} |
− | + | {{infocell|{{{recipe|}}}}}}} | |
− | | | + | {{infoheader|Properties}} |
− | {{ | + | {{infocell|{{{properties|}}}}} |
− | {{ | + | {{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}} |
− | + | {{infoend}}</includeonly><noinclude> | |
− | {{ | ||
− | {{ | ||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | {{{ | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | {{{ | ||
− | | | ||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
Usage: | Usage: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Metal| | + | {{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]] | ||
* [[Weapon|Melee weapons]] | * [[Weapon|Melee weapons]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | {{Metal| | + | {{Metal|name=Silver| |
+ | |sample= | ||
+ | [[File:SilverSample.png|256px|center|frameless]] | ||
+ | |color=7:7:1 | ||
|ore= | |ore= | ||
* [[Silver nuggets]] | * [[Silver nuggets]] | ||
Line 66: | Line 52: | ||
* [[Weapon|Melee weapons]] | * [[Weapon|Melee weapons]] | ||
}} | }} | ||
+ | |||
+ | [[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]] }}
| ||||||||||||||||||||||||||||||||||||
Uses | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Graphic | ||||||||||||||||||||||||||||||||||||
No graphic. | ||||||||||||||||||||||||||||||||||||
Ore | ||||||||||||||||||||||||||||||||||||
Properties | ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||