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:Stonelookup/aux2"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(try tagvalue instead)
(use tagvalues)
Line 1: Line 1:
 
<includeonly>* [[Material value]] {{tagvalue|{{{1|}}}|MATERIAL_VALUE|notfound=1}}{{
 
<includeonly>* [[Material value]] {{tagvalue|{{{1|}}}|MATERIAL_VALUE|notfound=1}}{{
#vardefine:melt|{{tagvalue|{{{1|}}}|MELTING_POINT|notfound={{#if:{{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:STONE_TEMPLATE}}|11500|NONE}} }} }}{{
+
#vardefine:melt|{{tagvalue|{{{1|}}}|MELTING_POINT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|11500|NONE}} }} }}{{
#vardefine:boil|{{tagvalue|{{{1|}}}|BOILING_POINT|notfound={{#if:{{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:STONE_TEMPLATE}}|14000|NONE}} }} }}{{
+
#vardefine:boil|{{tagvalue|{{{1|}}}|BOILING_POINT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|14000|NONE}} }} }}{{
 
#vardefine:burn|{{tagvalue|{{{1|}}}|IGNITE_POINT|notfound=NONE}} }}  
 
#vardefine:burn|{{tagvalue|{{{1|}}}|IGNITE_POINT|notfound=NONE}} }}  
 
{{#ifeq:{{magmasafe/test|{{#var:melt}}}}|no||
 
{{#ifeq:{{magmasafe/test|{{#var:melt}}}}|no||
Line 11: Line 11:
 
* [[Boiling point]] {{lc:{{magmasafe|{{#var:boil}}}}}}
 
* [[Boiling point]] {{lc:{{magmasafe|{{#var:boil}}}}}}
 
* [[Ignition point]] {{lc:{{magmasafe|{{#var:burn}}}}}}
 
* [[Ignition point]] {{lc:{{magmasafe|{{#var:burn}}}}}}
* [[Solid density]] {{tagvalue|{{{1|}}}|SOLID_DENSITY|notfound={{#if:{{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:STONE_TEMPLATE}}|2670|unknown}}}}
+
* [[Solid density]] {{tagvalue|{{{1|}}}|SOLID_DENSITY|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|2670|unknown}}}}
 
* [[Specific heat]] {{tagvalue|{{{1|}}}|SPEC_HEAT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|800|unknown}}}}</includeonly><noinclude>[[category:raw templates]]</noinclude>
 
* [[Specific heat]] {{tagvalue|{{{1|}}}|SPEC_HEAT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|800|unknown}}}}</includeonly><noinclude>[[category:raw templates]]</noinclude>

Revision as of 16:22, 13 July 2014