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"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{infostart|{{{name}}}}} | <includeonly>{{infostart|{{{name}}}}} | ||
{{#ifeq:{{NAMESPACE}}| | | {{#ifeq:{{NAMESPACE}}| | | ||
− | {{infocell|style=border-radius:7px;|1={{{sample|}}}}} | + | {{infocell|style=border-radius:7px;|1={{#if:{{{sample|}}}|<div style="border-radius:7px;">[[File:{{{FULLPAGENAME}}}Sample.png|center]]|}} |
{{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}}}}}}}}} | ||
{{infoheader|Graphic}} | {{infoheader|Graphic}} |
Revision as of 16:15, 6 May 2024
Usage:
{{Mineral|name=Bituminous coal| |sample= [[File:Bituminous coalSample.png|200px|right]] |sprite=[[File:Bituminous coal sprite.png|left]] |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}}{{#ifeq:Template| | {{infocell|style=border-radius:7px;|1=
[[File:{{{FULLPAGENAME}}}Sample.png|center]]
| ||||||||||||||||||||||||||||||||||||
Graphic | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Uses | ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
Location | ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
Properties | ||||||||||||||||||||||||||||||||||||