Difference between revisions of "Template:Infobox/Resource"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+cat; *use Template:Unit;)
Line 5: Line 5:
 
|file=none
 
|file=none
 
|lines=
 
|lines=
{{Infobox/Line|Density|2={{#ifeq: {{{density}}}|N|None|{{{density}}} kg/{{Unit|{{{unit|l}}}}}}}}}
+
{{Infobox/Line|{{lang|en=Density|pl=Gęstość}}|2={{#ifeq: {{{density}}}|N|{{lang|en=None|pl=Brak}}|{{{density}}} kg/{{Unit|{{{unit|l}}}}}}}}}
{{Infobox/Line|Transferable|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}}
+
{{Infobox/Line|{{lang|en=Transferable|pl=Transportowalne}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}}
{{Infobox/Line|[[Resource#Flow modes|Flow mode]]|{{#switch: {{{flow}}}
+
{{Infobox/Line|{{lang|en=[[Resource#Flow modes|Flow mode]]|pl=Tryb przepływu}}|{{#switch: {{{flow}}}
|a=Adjacent
+
|a={{lang|en=Adjacent|pl=Sąsiadujący}}
|e=Everywhere
+
|e={{lang|en=Everywhere|pl=Wszędzie}}
|i=Internal
+
|i={{lang|en=Internal|pl=Wewnętrzny}}
|#default=<span class="error">Invalid flow mode</span>}}}}
+
|#default=<span class="error">{{lang|en=Invalid flow mode|pl=Nieprawidłowy tryb przepływu}}</span>}}}}
{{Infobox/Line|Since|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|Unknown}}}}
+
{{Infobox/Line|{{lang|en=Since|pl=Od wersji}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{lang|en=Unknown|pl=Nieznane}}}}}}
 
}}<noinclude>Infobox for [[resource]]s.
 
}}<noinclude>Infobox for [[resource]]s.
  

Revision as of 19:00, 23 July 2013

Infobox
Density {{{density}}} kg/l
Transferable Yes
Flow mode Invalid flow mode
Since Unknown
Infobox for resources.

Parameters

Template:Parameter Table

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.