Difference between revisions of "Template:Cloaking Device"

From Discovery Wiki
Jump to navigationJump to search
(TODO: Add note about cloaks not being buyable anywhere except from player bases, and fix a better solution for adding fuel types and consumption.)
 
m (#expr test)
Line 16: Line 16:
 
|Hold Size Limit: ||{{#if:{{{holdlimit|}}}|{{formatnum:'''{{{holdlimit}}}'''}}|''unknown''}}
 
|Hold Size Limit: ||{{#if:{{{holdlimit|}}}|{{formatnum:'''{{{holdlimit}}}'''}}|''unknown''}}
 
|-
 
|-
|Warmup Time: ||{{#if:{{{warmup|}}}|{{formatnum:'''{{{warmup}}}'''}}|''unknown''}}
+
|Warmup Time: ||{{#if:{{{warmup|}}}|{{formatnum:'''{{#expr:{{{warmup}}}/1000}}'''}}|''unknown''}}
 
|-
 
|-
|Cooldown Time: ||{{#if:{{{cooldown|}}}|{{formatnum:'''{{{cooldown}}}'''}}|''unknown''}}
+
|Cooldown Time: ||{{#if:{{{cooldown|}}}|{{formatnum:'''{{#expr:{{{cooldown}}}/1000}}'''}}|''unknown''}}
 
|-
 
|-
 
|Fuel(s): ||{{#if:{{{fuel|}}}|{{formatnum:'''{{{fuel}}}'''}}|''unknown''}}
 
|Fuel(s): ||{{#if:{{{fuel|}}}|{{formatnum:'''{{{fuel}}}'''}}|''unknown''}}
 
|-
 
|-
 
|Drop shields on uncloak: ||{{#if:{{{shielddrop|}}}|{{formatnum:'''{{{shielddrop}}}'''}}|''unknown''}}
 
|Drop shields on uncloak: ||{{#if:{{{shielddrop|}}}|{{formatnum:'''{{{shielddrop}}}'''}}|''unknown''}}
|-
 
|Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}
 
 
|-
 
|-
 
|}
 
|}

Revision as of 10:06, 23 June 2012

150px-WIP2.png This page is currently being developed by one or more editors being led by Space. Please refer to the talk page to learn about and/or contribute to the completion of this page. You can also contact the leader on their discussion page.

Talk Page

TODO: Add note about cloaks not being buyable anywhere except from player(s)/(bases), and fix a better solution for handling fuel types and consumption.

Usage

{{User:Space/Template:Cloak
| examplepage = ffffff
| full-name = Light Cloaking Device
| description = This is the Cloaking Device typically used for [[Fighters]] and [[Bombers]].
| cargo-space = 25
| holdlimit = 120
| warmup = 3000
| cooldown = 120000
| shielddrop = true
| fuel = Mox, 1
| fuel = Oil, 1
| fuel = H-Fuel, 1
| fuel = Deuterium, 1
| fuel = Helium-3, 1
}}

Result

User:Space/Template:Cloak