Difference between revisions of "Template:Infobox/Resource"
From Kerbal Space Program Wiki
m (sry, 1 missed) |
(*more specific category; +cost;) |
||
Line 11: | Line 11: | ||
|i={{lang|en=Internal|de=Intern|pl=Wewnętrzny|hu=Belül}} | |i={{lang|en=Internal|de=Intern|pl=Wewnętrzny|hu=Belül}} | ||
|#default=<span class="error" style="white-space:normal;">{{lang|en=Invalid flow mode|de=Ungültiger Flussmodus|pl=Nieprawidłowy tryb przepływu|hu=Érvénytelen}}</span>}}}} | |#default=<span class="error" style="white-space:normal;">{{lang|en=Invalid flow mode|de=Ungültiger Flussmodus|pl=Nieprawidłowy tryb przepływu|hu=Érvénytelen}}</span>}}}} | ||
+ | {{Infobox/Line|{{Dict|Cost}}|{{#if: {{{cost|}}}|{{{cost}}} &curr;/{{Unit|{{{unit|l}}}}}|{{Dict|Unknown}}}}}} | ||
{{Infobox/Line|{{Dict|Since}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}} | {{Infobox/Line|{{Dict|Since}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}} | ||
}}<noinclude>Infobox for [[resource]]s. | }}<noinclude>Infobox for [[resource]]s. | ||
Line 22: | Line 23: | ||
{{Parameter Row|transfer|If this resource is transferable. Allows <tt>N</tt> for {{No}} and shows {{Yes}} for every other value.|{{Yes}}}} | {{Parameter Row|transfer|If this resource is transferable. Allows <tt>N</tt> for {{No}} and shows {{Yes}} for every other value.|{{Yes}}}} | ||
{{Parameter Row|flow|The [[Resource#Flow%20modes|flow mode]] of the resource.}} | {{Parameter Row|flow|The [[Resource#Flow%20modes|flow mode]] of the resource.}} | ||
+ | {{Parameter Row|cost|Cost per unit of the resource. ''Currently'' it defaults to ''Unknown'', but this default will be removed as soon as it's not required.}} | ||
{{Parameter Row|since|The introduction of this resource. If not set shows the value unknown.|Not set (Unknown)}} | {{Parameter Row|since|The introduction of this resource. If not set shows the value unknown.|Not set (Unknown)}} | ||
{{Parameter Row|unit|The unit of volume for the density.|<tt>l</tt>}} | {{Parameter Row|unit|The unit of volume for the density.|<tt>l</tt>}} | ||
Line 45: | Line 47: | ||
|} | |} | ||
− | [[Category: | + | [[Category:Infobox templates]]</noinclude> |
Revision as of 09:46, 20 July 2014
Infobox | ||
Density | {{{density}}} kg/l | |
Transferable | Yes | |
Flow mode | Invalid flow mode | |
Cost | Unknown | |
Since version | Unknown |
Parameters
Flow modes
Code | Type | Description |
---|---|---|
a | Adjacent | Resources will only flow between adjacent sources and sinks, meaning that tanks can be drained unevenly. |
e | Everywhere | The resource is always available to all parts structurally connected to the vessel, and the same amount of resources is drained from every container. |
i | Internal | The resource can only be used by the part containing it. |