Difference between revisions of "Template:Engine infobox"

From Stars!wiki
Jump to: navigation, search
m (oops!)
 
(8 intermediate revisions by the same user not shown)
Line 23: Line 23:
 
  !colspan="2" style="background-color:#333"| Cost
 
  !colspan="2" style="background-color:#333"| Cost
 
  |-
 
  |-
  | [[Ironium]] || {{{iron}}}kT
+
  | [[Ironium]] || <span style="color:blue">{{{iron}}}kT</span>
 +
|-
 
{{#ifexpr:{{{bora|0}}}>0|
 
{{#ifexpr:{{{bora|0}}}>0|
 +
{{!}} [[Boranium]] {{!!}} <span style="color:green">{{{bora}}}kT</span>
 
  {{!-}}
 
  {{!-}}
{{!}} [[Boranium]] {{!!}} {{{bora}}}kT
 
 
}}{{#ifexpr:{{{germ|0}}}>0|
 
}}{{#ifexpr:{{{germ|0}}}>0|
 +
{{!}} [[Germanium]] {{!!}} <span style="color:yellow">{{{germ}}}kT</span>
 
  {{!-}}
 
  {{!-}}
{{!}} [[Germanium]] {{!!}} {{{germ}}}kT
 
 
}}
 
}}
 +
| [[Resources]] || {{{res}}}
 +
|-
 +
!colspan="2" style="background-color:#333"| Fuel usage
 
  |-
 
  |-
  | [[Resources]] || {{{res}}}
+
  |colspan="2"|
 +
<div style="width:80%; margin:auto">
 +
{| style="width:100%"
 +
|- style="font-size:50%; text-align:center"
 +
|{{{warp1|0}}}||{{{warp2|15}}}||{{{warp3|50}}}||{{{warp4|60}}}||{{{warp5|70}}}||{{{warp6|100}}}||{{{warp7|100}}}||{{{warp8|115}}}||{{{warp9|700}}}||{{{warp10|840}}}
 +
|- valign="bottom" style="height:{{#expr:10*ln(1+1080)}}px"
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp1|0}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp2|15}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp3|50}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp4|60}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp5|70}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp6|100}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp7|100}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp8|115}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|safe|10|{{#expr:10*ln(1+{{{warp9|700}}})}}}}
 +
|style="width:10%"| {{engine infobox/warp bar|{{#ifeq:{{{warp10safe}}}|yes|safe|unsafe}}|10|{{#expr:10*ln(1+{{{warp10|840}}})}}}}
 +
|- style="text-align:center"
 +
|1||2||3||4||5||6||7||8||9||10
 +
|}
 +
</div>
 
  |}
 
  |}

Latest revision as of 19:44, 17 February 2010

Engine
[[{{{name}}}]]

Nominal Warp: {{{warp}}}
Warp 10: unsafe

Tech req.
none
Cost
Ironium {{{iron}}}kT
Resources {{{res}}}
Fuel usage
0 15 50 60 70 100 100 115 700 840
1 2 3 4 5 6 7 8 9 10