Difference between revisions of "Template:Infobox/Resource"
From Kerbal Space Program Wiki
Kspjptrans (talk | contribs) |
(update) |
||
Line 4: | Line 4: | ||
|lines= | |lines= | ||
{{if||{{Booland|{{{file desc|}}}|{{{file|}}}}}|{{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ść|hu=Sűrűség|ru=Плотность|ja=密度}}|2={{#ifexpr: {{{density<noinclude>|5</noinclude>}}}|{{{density<noinclude>|5</noinclude>}}} | + | }}{{Infobox/Line|{{lang|en=Density|de=Dichte|pl=Gęstość|hu=Sűrűség|ru=Плотность|ja=密度}}|2={{#ifexpr: {{{density<noinclude>|5</noinclude>}}}|{{{density<noinclude>|5</noinclude>}}} {{dict|k}}{{dict|g}}/{{mark|fuelu}}|{{lang|en=None|de=Keine|pl=Brak|hu=Nincs|ru=Нет|ja=無し}}}}}} |
{{Infobox/Line|{{lang|en=Transferable|de=Transferierbar|pl=Transportowalne|hu=Áthelyezhető|ru=Передаваемый|ja=他機との受給}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}} | {{Infobox/Line|{{lang|en=Transferable|de=Transferierbar|pl=Transportowalne|hu=Áthelyezhető|ru=Передаваемый|ja=他機との受給}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}} | ||
{{Infobox/Line|{{lang|en=[[Resource#Flow modes|Flow mode]]|de=Flussmodus|pl=Tryb przepływu|hu=Áramlás módja|ru=Способ истечения|ja=[[Resource/ja#機内供給の性質|機内供給]]}}|{{#switch: {{{flow}}} | {{Infobox/Line|{{lang|en=[[Resource#Flow modes|Flow mode]]|de=Flussmodus|pl=Tryb przepływu|hu=Áramlás módja|ru=Способ истечения|ja=[[Resource/ja#機内供給の性質|機内供給]]}}|{{#switch: {{{flow}}} | ||
Line 11: | Line 11: | ||
|i={{lang|en=Internal|de=Intern|pl=Wewnętrzny|hu=Belül|ru=Внутренний|ja=自己消費}} | |i={{lang|en=Internal|de=Intern|pl=Wewnętrzny|hu=Belül|ru=Внутренний|ja=自己消費}} | ||
|#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|ru=Неизвестный способ истечения}}</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|ru=Неизвестный способ истечения}}</span>}}}} | ||
− | {{Infobox/Line|{{Dict|Cost}}|{{#ifexpr: {{{cost<noinclude>|0.8</noinclude>}}}|{{{cost<noinclude>|0.8</noinclude>}}} | + | {{Infobox/Line|{{Dict|Cost}}|{{#ifexpr: {{{cost<noinclude>|0.8</noinclude>}}}|{{{cost<noinclude>|0.8</noinclude>}}} {{mark|fund}}/{{mark|fuelu}}|{{lang|en=None|de=Keine|pl=Brak|hu=Nincs|ru=Нет}}}}|{{#ifexpr: {{{cost<noinclude>|0.8</noinclude>}}}*{{{density<noinclude>|5</noinclude>}}}|{{#expr: {{{cost<noinclude>|0.8</noinclude>}}}/{{{density<noinclude>|5</noinclude>}}} round 2}} {{mark|fund}}/{{dict|k}}{{dict|g}}}}}} |
{{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. |
Revision as of 12:05, 23 November 2014
Infobox | ||
Density | 5 kg/ | |
Transferable | Yes | |
Flow mode | Invalid flow mode | |
Cost | 0.8 / | |
0.16 /kg | ||
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. |