Difference between revisions of "Template:Infobox/Resource"
From Kerbal Space Program Wiki
m (+file description;) |
|||
Line 3: | Line 3: | ||
|file={{{file|none}}} | |file={{{file|none}}} | ||
|lines= | |lines= | ||
− | {{if||{{{file desc|}}}|{{Infobox/Line|style=text-align:center; font-size:smaller;|{{{file desc|}}}}} | + | {{if||{{Booland|{{{file desc|}}}|{{{file|}}}}}|{{Infobox/Line|style=text-align:center; font-size:smaller;|{{{file desc|}}}}} |
}}{{Infobox/Line|{{lang|en=Density|de=Dichte|pl=Gęstość}}|2={{#ifeq: {{{density}}}|N|{{lang|en=None|de=Keine|pl=Brak}}|{{{density}}} kg/{{Unit|{{{unit|l}}}}}}}}} | }}{{Infobox/Line|{{lang|en=Density|de=Dichte|pl=Gęstość}}|2={{#ifeq: {{{density}}}|N|{{lang|en=None|de=Keine|pl=Brak}}|{{{density}}} kg/{{Unit|{{{unit|l}}}}}}}}} | ||
{{Infobox/Line|{{lang|en=Transferable|de=Transferierbar|pl=Transportowalne}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}} | {{Infobox/Line|{{lang|en=Transferable|de=Transferierbar|pl=Transportowalne}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}} | ||
Line 18: | Line 18: | ||
{{Parameter Row|name|Name of the resource.|<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt>}} | {{Parameter Row|name|Name of the resource.|<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt>}} | ||
{{Parameter Row|file|Image of the resource.|Not shown (<tt>none</tt>)}} | {{Parameter Row|file|Image of the resource.|Not shown (<tt>none</tt>)}} | ||
+ | {{Parameter Row|file desc|Description of the image.|Not shown (Hidden)|1}} | ||
{{Parameter Row|density|Density of the resource in kg/{{{unit}}}. Allows <tt>N</tt> for ''None'' and without unit.}} | {{Parameter Row|density|Density of the resource in kg/{{{unit}}}. Allows <tt>N</tt> for ''None'' and without unit.}} | ||
{{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}}}} |
Revision as of 13:44, 29 August 2013
Infobox | ||
Density | {{{density}}} kg/l | |
Transferable | Yes | |
Flow mode | Invalid flow mode | |
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. |