8,290
edits
(replaced byteid with liquidid for liquid overhaul) |
m (Update documentation) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_attach:_table=GeneralData}}</noinclude><includeonly><!-- | <noinclude>{{#cargo_declare:_table=Liquids | ||
|CookEffect = List (,) of String | |||
|LiquidID = String | |||
|Temperature = Integer | |||
|Fluidity = Integer | |||
|Cleansing = Integer | |||
|DamageTypes = String | |||
|Joinkey = String | |||
|ObjectID = String | |||
}}<!-- | |||
-->{{#cargo_attach:_table=GeneralData}}</noinclude><includeonly><!-- | |||
GENERAL DATA STORAGE | GENERAL DATA STORAGE | ||
Line 8: | Line 19: | ||
|ObjectID={{{id|}}} | |ObjectID={{{id|}}} | ||
|Image={{{image|}}} | |Image={{{image|}}} | ||
|Commerce= | |Commerce={{{value|0}}} | ||
|Weight= | |Weight={{{weight|0.25}}} | ||
|ParentObject=Liquid | |ParentObject=Liquid | ||
|DisplayChar={{qud char|{{{renderstr|&y}}}|≈}}}}<!--- | |DisplayChar={{qud char|{{{renderstr|&y}}}|≈}} | ||
|Aliases={{#var:aliases|}} | |||
|IDAliases={{#var:idaliases|}} | |||
|JoinKey={{FULLPAGENAME}} | |||
}}<!-- | |||
LIQUID DATA STORAGE | |||
-->{{#cargo_store:_table=Liquids | |||
|CookEffect = {{#if: {{{cookeffect|}}}|{{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to name}} }} | |||
|Temperature = {{{temperature|}}} | |||
|Fluidity = {{{fluidity|}}} | |||
|Cleansing = {{{cleansing|}}} | |||
|LiquidID = {{{liquidid|}}} | |||
|DamageTypes = {{{damagetypes|}}} | |||
|Joinkey = {{FULLPAGENAME}} | |||
|ObjectID={{{id|}}} | |||
}}<!-- | |||
VARIABLE DEFINITIONS | VARIABLE DEFINITIONS | ||
-->{{#vardefine:name|{{{title|}}}}}<!---- | -->{{#vardefine:name|{{{title|<b>{{PAGENAME}}</b>}}}}}{{#vardefine:plainname|{{StripFormatting|1={{{title|{{PAGENAME}} }}} }} }}<!---- | ||
INFOBOX START | INFOBOX START | ||
-->{{#invoke:infobox| infobox | | -->{{#invoke:infobox| infobox | ||
|imagearea = {{#if: {{{overrideimages|}}} | {{{overrideimages}}} }} | |||
{{#if: {{{ | |rows = | ||
{{#if: {{{ | <th style="text-align:left" colspan="2"> When on/in other objects/liquids:</th> | ||
{{#if: {{{ | <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: {{{cookeffect|}}}|{{ | {{#if:{{{flame|}}}|{{infobox row|Starts Flaming at|{{{flame}}}°}} }} | ||
{{infobox row|Vaporizes at|{{{vapor|100}}}°{{#if: {{{vaporobject|}}}|, into [[{{{vaporobject|Steam}}}]]}} }} | |||
{{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: {{{value|}}}|{{infobox row|Value per dram|{{{value}}} }} }} | {{#if: {{{value|}}}|{{infobox row|Value per dram|{{{value}}} }} }} | ||
{{infobox row|ID|{{{id|}}} }} | {{infobox row|Weight per dram|{{{weight|0.25}}}{{Pounds}} }} | ||
{{#if: {{{evaporativity|}}}|{{infobox row|Evaporativity|{{{evaporativity}}} }} }} | |||
{{#if: {{{fluidity|}}}|{{infobox row|Fluidity|{{{fluidity}}} }} }} | |||
{{#if: {{{cleansing|}}}|{{infobox row|Cleaning factor|{{{cleansing}}}}}}} | |||
{{infobox row|Prompt to wade through?|{{{dangeroustotouch|no}}} }} | |||
{{infobox row|Prompt to drink?|{{{dangeroustodrink|no}}} }} | |||
{{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><!-- | ||
[[Category:Cargo Store Templates]] | |||
-->[[Category:Cargo Store Templates]] | |||
{| class="wikitable" | {| class="wikitable" | ||
!argument | !argument | ||
Line 50: | 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 | ||
Line 55: | Line 99: | ||
|String (will autolink) | |String (will autolink) | ||
|- | |- | ||
| | |liquidid | ||
|liquid id | |liquid id | ||
|string | |string |