Difference between revisions of "Template:Infobox/Resource"

From Kerbal Space Program Wiki
Jump to: navigation, search
(- partly back)
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
Line 17: Line 17:
 
== Parameters ==
 
== Parameters ==
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
{{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|file desc|Description of the image.|Not shown (Hidden)|1}}
{{Parameter Row|density|Density of the resource in kg/{{{unit}}}. Allows <tt>0</tt> for ''None'' and without unit.}}
+
{{Parameter row|density|Density of the resource in kg/{{{unit}}}. Allows <tt>0</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}}}}
{{Parameter Row|flow|The [[Resource#Flow%20modes|flow mode]] of the resource.}}
+
{{Parameter row|flow|The [[Resource#Flow%20modes|flow mode]] of the resource.}}
{{Parameter Row|cost|Cost per unit of the resource. Allows <tt>0</tt> for ''None'' and without unit. Also calculates costs per mass if density and cost are both not zero.}}
+
{{Parameter row|cost|Cost per unit of the resource. Allows <tt>0</tt> for ''None'' and without unit. Also calculates costs per mass if density and cost are both not zero.}}
{{Parameter Row|since|The introduction of this resource. If not set shows the value unknown.|Not set (Unknown)}}
+
{{Parameter row|since|The introduction of this resource. If not set shows the value unknown.|Not set (Unknown)}}
{{Parameter Row|unit|The unit of volume for the density.|<tt>l</tt>}}
+
{{Parameter row|unit|The unit of volume for the density.|<tt>l</tt>}}
 
}}
 
}}
  

Revision as of 20:57, 26 November 2014

Infobox
Density 5 kg/l
Transferable Yes
Flow mode Invalid flow mode
Cost 0.8 Funds/l
0.16 Funds/kg
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.