Difference between revisions of "Template:Infobox/Resource"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+file description;)
m (hungarian added)
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ść}}|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ść|hu=Sűrűség}}|2={{#ifeq: {{{density}}}|N|{{lang|en=None|de=Keine|pl=Brak|hu=Nincs}}|{{{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|hu=Áthelyezhető}}|{{#ifeq: {{{transfer}}}|N|{{No}}|{{Yes}}}}}}
 
{{Infobox/Line|{{lang|en=[[Resource#Flow modes|Flow mode]]|de=Flussmodus|pl=Tryb przepływu}}|{{#switch: {{{flow}}}
 
{{Infobox/Line|{{lang|en=[[Resource#Flow modes|Flow mode]]|de=Flussmodus|pl=Tryb przepływu}}|{{#switch: {{{flow}}}
|a={{lang|en=Adjacent|de=Benachbart|pl=Sąsiadujący}}
+
|a={{lang|en=Adjacent|de=Benachbart|pl=Sąsiadujący|hu=Szomszédos}}
|e={{lang|en=Everywhere|de=Überall|pl=Wszędzie}}
+
|e={{lang|en=Everywhere|de=Überall|pl=Wszędzie|hu=Bárhová}}
|i={{lang|en=Internal|de=Intern|pl=Wewnętrzny}}
+
|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}}</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|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 15:50, 27 April 2014

Infobox
Density {{{density}}} kg/l
Transferable Yes
Flow mode Invalid flow mode
Since version 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.