Difference between revisions of "Template:Infobox/Resource"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+German; +allow images (but show none by default); *documentation about since and name; *use dict for the since and unknown text;)
m (-defaults; +word wrap error message;)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|width=200
 
|padding=.5
 
 
|name={{{name|}}}
 
|name={{{name|}}}
 
|file={{{file|none}}}
 
|file={{{file|none}}}
Line 11: Line 9:
 
|e={{lang|en=Everywhere|de=Überall|pl=Wszędzie}}
 
|e={{lang|en=Everywhere|de=Überall|pl=Wszędzie}}
 
|i={{lang|en=Internal|de=Intern|pl=Wewnętrzny}}
 
|i={{lang|en=Internal|de=Intern|pl=Wewnętrzny}}
|#default=<span class="error">{{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}}</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 11:17, 25 August 2013

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.