Template:Liquid: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (fix default weight)
m (Update documentation)
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|Fluidity = Integer
|Fluidity = Integer
|Cleansing = Integer
|Cleansing = Integer
|DamageTypes = String
|Joinkey = String
|Joinkey = String
|ObjectID = String
|ObjectID = String
Line 35: Line 36:
|Cleansing = {{{cleansing|}}}
|Cleansing = {{{cleansing|}}}
|LiquidID = {{{liquidid|}}}
|LiquidID = {{{liquidid|}}}
|DamageTypes = {{{damagetypes|}}}
|Joinkey = {{FULLPAGENAME}}
|Joinkey = {{FULLPAGENAME}}
|ObjectID={{{id|}}}
|ObjectID={{{id|}}}
Line 49: Line 51:
|rows =  
|rows =  
<th style="text-align:left" colspan="2"> When on/in other objects/liquids:</th>
<th style="text-align:left" colspan="2"> When on/in other objects/liquids:</th>
<tr><td style="text-align:left;padding:0em 2em 0.5em 2em;" colspan="2">{{{adjective}}} {{qud shader|y|liquid}}</br>{{{stained}}} {{qud shader|y|object}}</br>{{{smeared}}} {{qud shader|y|object}}</td></tr>
<tr><td style="text-align:left;padding:0em 2em 0.5em 2em;" colspan="2">{{{adjective}}} {{qud shader|y|liquid}}</br>{{{smeared}}} {{qud shader|y|object}}</br>{{{stained}}} {{qud shader|y|object}}</td></tr>
{{#if:{{{flame|}}}|{{infobox row|Starts Flaming at|{{{flame}}}}} }}
{{#if:{{{flame|}}}|{{infobox row|Starts Flaming at|{{{flame}}}°}} }}
{{infobox row|Vaporizes at|{{{vapor|100}}}T{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}
{{infobox row|Vaporizes at|{{{vapor|100}}}°{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}
{{infobox row|Base temperature|{{{temperature|25}}}T}}
{{infobox row|Base temperature|{{{temperature|25}}}°}}
{{#if: {{{damagetypes|}}} | {{infobox row|[[Damage Type]]|{{{damagetypes}}} }} }}
{{#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}}} }} }}
Line 59: Line 62:
{{#if: {{{fluidity|}}}|{{infobox row|Fluidity|{{{fluidity}}} }} }}
{{#if: {{{fluidity|}}}|{{infobox row|Fluidity|{{{fluidity}}} }} }}
{{#if: {{{cleansing|}}}|{{infobox row|Cleaning factor|{{{cleansing}}}}}}}
{{#if: {{{cleansing|}}}|{{infobox row|Cleaning factor|{{{cleansing}}}}}}}
{{infobox row|Dangerous to touch?|{{{dangeroustotouch|no}}} }}
{{infobox row|Prompt to wade through?|{{{dangeroustotouch|no}}} }}
{{infobox row|Dangerous to drink?|{{{dangeroustodrink|no}}} }}
{{infobox row|Prompt 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|}}} }}
Line 87: Line 90:
|the cooling multiplier. This affects the temperature of something after pouring this liquid on it.
|the cooling multiplier. This affects the temperature of something after pouring this liquid on it.
|Float
|Float
|-
|damagetypes
|the types of damage caused by this liquid through drinking or physical contact
|String (<nowiki></br></nowiki> delimited)
|-
|-
|cookeffect
|cookeffect

Latest revision as of 00:05, 13 September 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
damagetypes the types of damage caused by this liquid through drinking or physical contact String (</br> delimited)
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