Template:Liquid: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(add section that gives names to all the variations, add additional id aliases to id)
mNo edit summary
Line 61: Line 61:
{{infobox row|Dangerous to touch?|{{{dangeroustotouch|no}}} }}
{{infobox row|Dangerous to touch?|{{{dangeroustotouch|no}}} }}
{{infobox row|Dangerous to drink?|{{{dangeroustodrink|no}}} }}
{{infobox row|Dangerous to drink?|{{{dangeroustodrink|no}}} }}
{{infobox row|ID|{{{id|}}}{{#varexists:idaliases|, {{#var:idaliases}} }}
{{infobox row|ID|{{{id|}}}{{#varexists:idaliases|, {{#var:idaliases}} }}}}
{{infobox row|Liquid ID|{{{liquidid|}}} }}
{{infobox row|Liquid ID|{{{liquidid|}}} }}
}}[[Category:Liquids]]</includeonly><noinclude><!--
}}[[Category:Liquids]]</includeonly><noinclude><!--
Line 107: Line 107:
| value per dram
| value per dram
| Float
| Float
|}
|}</noinclude>
 
{{liquid
| title={{qud shader|G|acid}}
| liquidid=acid
| id=AcidPool
| vaporobject=corrosive gas
| cookeffect=acidMinor
| value=1.5
| combustibility = 3
| thermalconductivity = 45
| fluidity = 30
| evaporativity = 1
| cleansing = 30
| staining = 1
| dangeroustotouch = yes
| dangeroustodrink = yes
| image=acid.png}}</noinclude>

Revision as of 01:12, 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