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:Mineral"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(added condition. will only show for main namespace not previous versions.)
(Should probably edit the usage example as well.)
 
(52 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>{{infostart|{{{name}}}}}
 
<includeonly>{{infostart|{{{name}}}}}
 
{{#ifeq:{{NAMESPACE}}| |
 
{{#ifeq:{{NAMESPACE}}| |
{{infocell|{{{sample|}}}}}}}
+
{{infocell|{{{sample|}}}}}{{{sprite|}}}}}
 
{{infocell|{{Mineral/picture|tile={{{tile|?}}}|icon={{{icon|•}}}|color={{{color}}}|itemcolor={{#ifeq:{{{itemcolor|}}}||{{{color}}}|{{{itemcolor}}}}}}}}}
 
{{infocell|{{Mineral/picture|tile={{{tile|?}}}|icon={{{icon|•}}}|color={{{color}}}|itemcolor={{#ifeq:{{{itemcolor|}}}||{{{color}}}|{{{itemcolor}}}}}}}}}
 +
{{#if:{{{graphic|}}}|{{infoheader|Graphic}}
 +
{{infocell|[[File:{{{graphic}}}|center]]}}|{{!-}}}}
 
{{#if:{{{uses|}}}|{{infoheader|Uses}}
 
{{#if:{{{uses|}}}|{{infoheader|Uses}}
 
{{infocell|{{{uses|}}}}}|{{!-}}}}
 
{{infocell|{{{uses|}}}}}|{{!-}}}}
Line 8: Line 10:
 
{{infocell|{{{location|}}}}}|{{!-}}}}
 
{{infocell|{{{location|}}}}}|{{!-}}}}
 
{{#if:{{{properties|}}}|{{infoheader|Properties}}
 
{{#if:{{{properties|}}}|{{infoheader|Properties}}
 +
{{#if:{{{graphic2|}}}|{{infocell|*Rough gem: [[File:{{{graphic2}}}]]|}}|{{!-}}}}
 
{{infocell|{{{properties|}}}}}|{{!-}}}}
 
{{infocell|{{{properties|}}}}}|{{!-}}}}
 
{{#if:{{{contains|}}}|{{infoheader|Contains}}
 
{{#if:{{{contains|}}}|{{infoheader|Contains}}
Line 18: Line 21:
 
{{Mineral|name=Bituminous coal|
 
{{Mineral|name=Bituminous coal|
 
|sample=
 
|sample=
[[File:Bituminous_Coal_Sample.png|256px|center]]
+
[[File:Bituminous coalSample.png|200px|right]]
 +
|sprite=[[File:Bituminous coal sprite.png|left]]
 +
|graphic2=(filename.png) (This is used for gems only!)
 
|tile=☼|icon=☼|color=0:7:1
 
|tile=☼|icon=☼|color=0:7:1
 
|uses =
 
|uses =
Line 33: Line 38:
 
* [[Material value]] 1}}
 
* [[Material value]] 1}}
 
</nowiki></pre>
 
</nowiki></pre>
{{Mineral|name=Bituminous coal||sample=
+
{{Mineral|name=Bituminous coal|
[[File:Bituminous_Coal_Sample.png|256px|center]]
+
|sample=[[File:Bituminous coalSample.png|256px|center]]
 +
|graphic=Bituminous coal sprite.png
 
|tile=☼|icon=☼|color=0:7:1
 
|tile=☼|icon=☼|color=0:7:1
 
|uses =
 
|uses =

Latest revision as of 15:14, 9 May 2024


Usage:

{{Mineral|name=Bituminous coal|
|sample=
[[File:Bituminous coalSample.png|200px|right]]
|sprite=[[File:Bituminous coal sprite.png|left]]
|graphic2=(filename.png) (This is used for gems only!)
|tile=☼|icon=☼|color=0:7:1
|uses =
* 3 coke at [[smelter]]
* [[mason's workshop|Masonry]]
* [[craftsdwarf's workshop|Stone crafting]]
* [[Construction]]
|location =
* [[Sedimentary layer]]s
* Found as veins
|properties =
* Can [[ignite]]
* [[Economic stone]]
* [[Material value]] 1}}
Bituminous coal
= = =
= = =
= =
=
Graphic
Bituminous coal sprite.png
Uses
Location
Properties

Wikipedia article