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
(adding a parameter to insert an easy link to Wikipedia for real-world info about these minerals)
(revert myself, the urlencode parser function is putting in + instead of _)
Line 1: Line 1:
 
<includeonly>{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
 
<includeonly>{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
|+ style="font-weight: bold" |{{#if: {{{wikipedia|}}} | [http://en.wikipedia.org/wiki/{{urlencode:{{{wikipedia}}}}} {{{name}}}] | {{{name}}} }}
+
|+ style="font-weight: bold" |{{{name}}}
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Line 78: Line 78:
 
* Can [[ignite]]
 
* Can [[ignite]]
 
* [[Economic stone]]
 
* [[Economic stone]]
* [[Material value]] 1
+
* [[Material value]] 1}}
|wikipedia = Bituminous coal
 
}}
 
 
</nowiki></pre>
 
</nowiki></pre>
 
{{Mineral|name=Bituminous Coal|tile=☼|icon=☼|color=#888
 
{{Mineral|name=Bituminous Coal|tile=☼|icon=☼|color=#888
Line 94: Line 92:
 
* Can [[ignite]]
 
* Can [[ignite]]
 
* [[Economic stone]]
 
* [[Economic stone]]
* [[Material value]] 1
+
* [[Material value]] 1}}
|wikipedia = Bituminous coal
 
}}
 
 
[[Category:materials templates]]
 
[[Category:materials templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 01:32, 30 April 2008


Usage:

{{Mineral|name=Bituminous Coal|tile=☼|icon=☼|color=#888
|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
= = =
= = =
= =
=
Uses
Location
Properties