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
m
(Generated infobox displays SI units for density, spec. heat)
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
* {{l|Material value}} {{tagvalue|{{{{{1|}}}}}|MATERIAL_VALUE|notfound=1}}
+
<includeonly>* [[Material value]] {{tagvalue|{{{1|}}}|MATERIAL_VALUE|notfound=1}}{{
* {{l|Melting point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|MELTING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|12768|11500}}}}}}}}
+
#vardefine:melt|{{tagvalue|{{{1|}}}|MELTING_POINT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|11500|NONE}} }} }}{{
* {{l|Boiling point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|BOILING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|15150|14000}}}}}}}}
+
#vardefine:boil|{{tagvalue|{{{1|}}}|BOILING_POINT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|14000|NONE}} }} }}{{
* {{l|Ignition point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|IGNITE_POINT|notfound=NONE}}}}}}
+
#vardefine:burn|{{tagvalue|{{{1|}}}|IGNITE_POINT|notfound=NONE}} }}{{
* {{l|Solid density}} {{tagvalue|{{{{{1|}}}}}|SOLID_DENSITY|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|7850|2670}}}}
+
#vardefine:firesafe|{{#ifeq:{{firesafe/test|{{#var:melt}}}} {{firesafe/test|{{#var:boil}}}} {{firesafe/test|{{#var:burn}}}}|yes yes yes|yes|no}} }}{{
* {{l|Specific heat}} {{tagvalue|{{{{{1|}}}}}|SPEC_HEAT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|450|800}}}}}}<!--
+
#vardefine:magmasafe|{{#ifeq:{{magmasafe/test|{{#var:melt}}}} {{magmasafe/test|{{#var:boil}}}} {{magmasafe/test|{{#var:burn}}}}|yes yes yes|yes|no}} }}
-->
+
{{ #vardefine:colortoken|{{tagentry|{{{1|}}}|STATE_COLOR|2|ALL_SOLID||notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|gray}}}} }}
{{#ifeq:
+
{{firemagmasafe|{{#var:firesafe}}|{{#var:magmasafe}} }}
{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|MELTING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|12768|11500}}}}}}
+
* [[Melting point]] {{magmasafe|{{#var:melt}}}}
|yes|
+
* [[Boiling point]] {{magmasafe|{{#var:boil}}}}
{{#ifeq:
+
* [[Ignition point]] {{magmasafe|{{#var:burn}}}}
|yes|
+
* [[Solid density]] {{tagvalue|{{{1|}}}|SOLID_DENSITY|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|2670|unknown}}}} kg/m³
{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|BOILING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|15150|14000}}
+
* [[Specific heat]] {{tagvalue|{{{1|}}}|SPEC_HEAT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|800|infinite}}}} J/kg·K
}}}}
+
{{ #if: {{#var:colortoken}}|
{{#ifeq:
+
* [[Color]] {{tagvalue|{{raw|v50:descriptor_color_standard.txt|COLOR|{{#var:colortoken}}}}|NAME}} }}
{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|IGNITE_POINT|notfound=NONE}}}}
+
</includeonly><noinclude>[[category:raw templates]]</noinclude>
|yes|[[category:magma safe materials]]}}}}}}<noinclude>[[category:raw templates]]</noinclude>
 

Latest revision as of 06:46, 29 February 2024