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
(Delete lowercase)
(Generated infobox displays SI units for density, spec. heat)
 
(4 intermediate revisions by 3 users not shown)
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={{#ifeq:{{tagvalue|{{{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={{#ifeq:{{tagvalue|{{{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||
+
#vardefine:firesafe|{{#ifeq:{{firesafe/test|{{#var:melt}}}} {{firesafe/test|{{#var:boil}}}} {{firesafe/test|{{#var:burn}}}}|yes yes yes|yes|no}} }}{{
{{#ifeq:{{magmasafe/test|{{#var:boil}}}}|no||
+
#vardefine:magmasafe|{{#ifeq:{{magmasafe/test|{{#var:melt}}}} {{magmasafe/test|{{#var:boil}}}} {{magmasafe/test|{{#var:burn}}}}|yes yes yes|yes|no}} }}
{{#ifeq:{{magmasafe/test|{{#var:burn}}}}|no||<!---->
+
{{ #vardefine:colortoken|{{tagentry|{{{1|}}}|STATE_COLOR|2|ALL_SOLID||notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|gray}}}} }}
* [[Magma safe]] {{category|magma safe materials}}
+
{{firemagmasafe|{{#var:firesafe}}|{{#var:magmasafe}} }}
}}}}}}
 
 
* [[Melting point]] {{magmasafe|{{#var:melt}}}}
 
* [[Melting point]] {{magmasafe|{{#var:melt}}}}
 
* [[Boiling point]] {{magmasafe|{{#var:boil}}}}
 
* [[Boiling point]] {{magmasafe|{{#var:boil}}}}
 
* [[Ignition point]] {{magmasafe|{{#var:burn}}}}
 
* [[Ignition point]] {{magmasafe|{{#var:burn}}}}
* [[Solid density]] {{tagvalue|{{{1|}}}|SOLID_DENSITY|notfound={{#ifeq:{{tagvalue|{{{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}}}} kg/m³
* [[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|infinite}}}} J/kg·K
 +
{{ #if: {{#var:colortoken}}|
 +
* [[Color]] {{tagvalue|{{raw|v50:descriptor_color_standard.txt|COLOR|{{#var:colortoken}}}}|NAME}} }}
 +
</includeonly><noinclude>[[category:raw templates]]</noinclude>

Latest revision as of 06:46, 29 February 2024