Template:ShipInfobox: Difference between revisions
m Fixed some elements being hidden |
m Fixed insurance |
||
| Line 20: | Line 20: | ||
| 5:Value = {{#if:{{{cost|}}}|{{{cost|?}}} CR|---}} | | 5:Value = {{#if:{{{cost|}}}|{{{cost|?}}} CR|---}} | ||
| 6:Type = Line | | 6:Type = Line | ||
| 6:Label = Insurance | | 6:Label = Insurance | ||
| 6:Value = {{formatnum:{{#expr:trunc({{formatnum:{{{cost|}}}|R}}*0.05)}}}} CR | | 6:Value = {{#if:{{{cost|}}}|{{formatnum:{{#expr:trunc({{formatnum:{{{cost|}}}|R}}*0.05)}}}} CR|}} | ||
}} | |||
| 7:Type = Line | | 7:Type = Line | ||