Template:Liquid: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
m (fix default weight)
Line 19: Line 19:
|Image={{{image|}}}
|Image={{{image|}}}
|Commerce={{{value|0}}}
|Commerce={{{value|0}}}
|Weight={{{weight|0}}}
|Weight={{{weight|0.25}}}
|ParentObject=Liquid
|ParentObject=Liquid
|DisplayChar={{qud char|{{{renderstr|&y}}}|≈}}
|DisplayChar={{qud char|{{{renderstr|&y}}}|≈}}
Line 55: Line 55:
{{#if: {{{cookeffect|}}}|{{Infobox row|Cooking Effect|{{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to page}} }} }}
{{#if: {{{cookeffect|}}}|{{Infobox row|Cooking Effect|{{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to page}} }} }}
{{#if: {{{value|}}}|{{infobox row|Value per dram|{{{value}}} }} }}
{{#if: {{{value|}}}|{{infobox row|Value per dram|{{{value}}} }} }}
{{infobox row|Weight per dram|{{{weight|0}}}{{Pounds}} }}
{{infobox row|Weight per dram|{{{weight|0.25}}}{{Pounds}} }}
{{#if: {{{evaporativity|}}}|{{infobox row|Evaporativity|{{{evaporativity}}} }} }}
{{#if: {{{evaporativity|}}}|{{infobox row|Evaporativity|{{{evaporativity}}} }} }}
{{#if: {{{fluidity|}}}|{{infobox row|Fluidity|{{{fluidity}}} }} }}
{{#if: {{{fluidity|}}}|{{infobox row|Fluidity|{{{fluidity}}} }} }}

Revision as of 01:21, 9 March 2021

This template defines the table "Liquids". View table.This template adds rows to the table "GeneralData", which is declared by the template General data table. View table.

argument description type
flame temperature it needs to reach to start burning. Defaults to 350 Integer
vapor temperature it needs to reach to evaporate. Defaults to 350. Integer
vaporobject object it vaporizes into. Defaults to steam String (it will auto link to the page)
cooling the cooling multiplier. This affects the temperature of something after pouring this liquid on it. Float
cookeffect if specified, links to the type of cooking effect this has. String (will autolink)
liquidid liquid id string
title self explanatory {{qud text|(name)|notxml}}
image for the image if it's uploaded. image.png
value value per dram Float