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
(switch this to using the various info templates to construct the table for us) |
m |
||
Line 2: | Line 2: | ||
{{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:{{{uses|}}}|{{infoheader|Uses}} | {{#if:{{{uses|}}}|{{infoheader|Uses}} | ||
− | {{infocell|{{{uses|}}}}}}} | + | {{infocell|{{{uses|}}}}}|{{!-}}}} |
{{#if:{{{location|}}}|{{infoheader|Location}} | {{#if:{{{location|}}}|{{infoheader|Location}} | ||
− | {{infocell|{{{location|}}}}}}} | + | {{infocell|{{{location|}}}}}|{{!-}}}} |
{{#if:{{{properties|}}}|{{infoheader|Properties}} | {{#if:{{{properties|}}}|{{infoheader|Properties}} | ||
− | {{infocell|{{{properties|}}}}}}} | + | {{infocell|{{{properties|}}}}}|{{!-}}}} |
{{#if:{{{contains|}}}|{{infoheader|Contains}} | {{#if:{{{contains|}}}|{{infoheader|Contains}} | ||
− | {{infocell|{{{contains|}}}}}}} | + | {{infocell|{{{contains|}}}}}|{{!-}}}} |
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}| {{{wiki}}}|{{{name}}}}}|Wikipedia article}}}}|{{!-}}}} | {{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}| {{{wiki}}}|{{{name}}}}}|Wikipedia article}}}}|{{!-}}}} | ||
{{infoend}}</includeonly><noinclude> | {{infoend}}</includeonly><noinclude> |
Revision as of 20:54, 20 April 2011
Usage:
{{Mineral|name=Bituminous coal|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}}
| ||||||||||||||||||||||||||||||||||||
Uses | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
Location | ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
Properties | ||||||||||||||||||||||||||||||||||||