Template:Liquid: Difference between revisions
Jump to navigation
Jump to search
(JoinKey) |
(liquid cargo storage) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_attach:_table=GeneralData}}</noinclude><includeonly><!-- | <noinclude>{{#cargo_declare:_table=Liquids | ||
|CookEffect = List (,) of String | |||
|LiquidID = String | |||
|Joinkey = String | |||
}}<!-- | |||
-->{{#cargo_attach:_table=GeneralData}}</noinclude><includeonly><!-- | |||
GENERAL DATA STORAGE | GENERAL DATA STORAGE | ||
Line 15: | Line 21: | ||
|IDAliases={{#var:idaliases|}} | |IDAliases={{#var:idaliases|}} | ||
|JoinKey={{FULLPAGENAME}} | |JoinKey={{FULLPAGENAME}} | ||
}}<!--- | }}<!-- | ||
LIQUID DATA STORAGE | |||
-->{{#cargo_store:_table=Liquids | |||
|CookEffect = {{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to name}} | |||
|LiquidID = Liquid ID|{{{liquidid|}}} | |||
|Joinkey = {{FULLPAGENAME}} | |||
}}<!-- | |||
VARIABLE DEFINITIONS | VARIABLE DEFINITIONS | ||
Line 28: | Line 42: | ||
{{#if: {{{vapor|350}}}|{{infobox row|Vapor Temperature|{{{vapor|350}}}{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}}} | {{#if: {{{vapor|350}}}|{{infobox row|Vapor Temperature|{{{vapor|350}}}{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }}}} | ||
{{#if: {{{cooling|}}}|{{infobox row|Cooling Multiplier|{{{cooling}}}}}}} | {{#if: {{{cooling|}}}|{{infobox row|Cooling Multiplier|{{{cooling}}}}}}} | ||
{{#if: {{{cookeffect|}}}|{{ | {{#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|ID|{{{id|}}} }} | {{infobox row|ID|{{{id|}}} }} |
Revision as of 17:43, 1 September 2020
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 |