Template:Liquid: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(update for liquid rehaul)
mNo edit summary
Line 48: Line 48:
|imagearea = {{#if: {{{overrideimages|}}} | {{{overrideimages}}} }}
|imagearea = {{#if: {{{overrideimages|}}} | {{{overrideimages}}} }}
|rows =  
|rows =  
{{#if: {{{flame|}}}|{{infobox row|Flaming Temperature|{{{flame|350}}}}}}}
{{infobox row|Starts Flaming at|{{{flame|99999}}}}}}}
{{#if: {{{vapor|350}}}|{{infobox row|Vapor Temperature|{{{vapor|350}}}{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}}}
{{infobox row|Vaporizes at|{{{vapor|100}}}T{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}
{{#if: {{{temperature|}}}|{{infobox row|Base temperature|{{{temperature}}}T}}}}
{{infobox row|Base temperature|{{{temperature|25}}}T}}
{{#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}}} }} }}

Revision as of 00:38, 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