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)
 
(23 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}}}}|magma ok|melts in magma}}}}
+
#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}}}}|magma ok|boils in magma}}}}
+
#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}}|magma ok|burns in magma}}}}
+
#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}} }}
{{#ifeq:{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|MELTING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|12768|11500}}}}}}|no||
+
{{ #vardefine:colortoken|{{tagentry|{{{1|}}}|STATE_COLOR|2|ALL_SOLID||notfound={{#ifeq:{{tagvalue|{{{1}}}|USE_MATERIAL_TEMPLATE}}|STONE_TEMPLATE|gray}}}} }}
{{#ifeq:{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|BOILING_POINT|notfound={{#ifeq: {{tag|{{{1}}}|USE_MATERIAL_TEMPLATE:METAL_TEMPLATE}}|true|15150|14000}}}}}}|no||
+
{{firemagmasafe|{{#var:firesafe}}|{{#var:magmasafe}} }}
{{#ifeq:{{magmasafe/test|{{tagvalue|{{{{{1|}}}}}|IGNITE_POINT|notfound=NONE}}}}|no||[[category:magma safe materials]]}}}}}}<noinclude>[[category:raw templates]]</noinclude>
+
* [[Melting point]] {{magmasafe|{{#var:melt}}}}
 +
* [[Boiling point]] {{magmasafe|{{#var:boil}}}}
 +
* [[Ignition point]] {{magmasafe|{{#var:burn}}}}
 +
* [[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|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