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)
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|
+
<includeonly>* [[Material value]] {{tagvalue|{{{1|}}}|MATERIAL_VALUE|notfound=1}}{{
* {{l|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}} }} }}{{
* {{l|Melting point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|MELTING_POINT|notfound=12768}}}}}}
+
#vardefine:boil|{{tagvalue|{{{1|}}}|BOILING_POINT|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|14000|NONE}} }} }}{{
* {{l|Boiling point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|BOILING_POINT|notfound=15150}}}}}}
+
#vardefine:burn|{{tagvalue|{{{1|}}}|IGNITE_POINT|notfound=NONE}} }}{{
* {{l|Ignition point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|IGNITE_POINT|notfound=NONE}}}}}}
+
#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=450}}
+
#vardefine:magmasafe|{{#ifeq:{{magmasafe/test|{{#var:melt}}}} {{magmasafe/test|{{#var:boil}}}} {{magmasafe/test|{{#var:burn}}}}|yes yes yes|yes|no}} }}
* {{l|Solid density}} {{tagvalue|{{{{{1|}}}}}|SOLID_DENSITY|notfound=7850}}|
+
{{ #vardefine:colortoken|{{tagentry|{{{1|}}}|STATE_COLOR|2|ALL_SOLID||notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|gray}}}} }}
* {{l|Material value}} {{tagvalue|{{{{{1|}}}}}|MATERIAL_VALUE|notfound=1}}
+
{{firemagmasafe|{{#var:firesafe}}|{{#var:magmasafe}} }}
* {{l|Melting point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|MELTING_POINT|notfound=11500}}}}}}
+
* [[Melting point]] {{magmasafe|{{#var:melt}}}}
* {{l|Boiling point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|BOILING_POINT|notfound=14000}}}}}}
+
* [[Boiling point]] {{magmasafe|{{#var:boil}}}}
* {{l|Ignition point}} {{lc:{{magmasafe|{{tagvalue|{{{{{1|}}}}}|IGNITE_POINT|notfound=NONE}}}}}}
+
* [[Ignition point]] {{magmasafe|{{#var:burn}}}}
* {{l|Solid density}} {{tagvalue|{{{{{1|}}}}}|SOLID_DENSITY|notfound=2670}}
+
* [[Solid density]] {{tagvalue|{{{1|}}}|SOLID_DENSITY|notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|2670|unknown}}}} kg/m³
* {{l|Specific heat}} {{tagvalue|{{{{{1|}}}}}|SPEC_HEAT|notfound=800}}}}<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