Template:ShipInfobox: Difference between revisions

m Updated doc
m Added automatic MaxCargo
Line 54: Line 54:
| 30:Value = {{{maxboostspeed|}}}
| 30:Value = {{{maxboostspeed|}}}
| 31:Type = Line  | 31:Label = Cargo Capacity
| 31:Type = Line  | 31:Label = Cargo Capacity
| 31:ValueMethod = Quantify | 31:Unit = T
| 31:ValueMethod = MaxCargo | 31:Unit = T | 31:Cargo = {{{maxcargocapacity|}}} | 31:S1 = {{{size1|}}} | 31:S2 = {{{size2|}}} | 31:S3 = {{{size3|}}} | 31:S4 = {{{size4|}}} | 31:S5 = {{{size5|}}} | 31:S6 = {{{size6|}}} | 31:S7 = {{{size7|}}} | 31:S8 = {{{size8|}}}
| 31:Value = {{{maxcargocapacity|}}}
| 31:Value = {{{maxcargocapacity|}}}{{{size1|}}}{{{size2|}}}{{{size3|}}}{{{size4|}}}{{{size5|}}}{{{size6|}}}{{{size7|}}}{{{size8|}}}
}}</onlyinclude>
}}</onlyinclude>
<noinclude>
<noinclude>
Line 114: Line 114:
| maxcargocapacity    =  
| maxcargocapacity    =  
</pre>
</pre>
:;maxcargocapacity: This is completed automatically if there are internal compartments
</noinclude>
</noinclude>