YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Cloaking Device"

From Discovery Wiki
Jump to navigationJump to search
m (Disclaimer added.)
 
(74 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{workinprogress|[[Space]]}}
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
<b>TODO:</b> Add note about cloaking devices not being buyable anywhere except from player(s)/(bases), and fix a better solution for handling fuel types and consumption.
+
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 110%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="3"
<!--</noinclude>
 
{| style="width:100%; padding:10px;" class="weaponmainbox"
 
|align="left"|
 
==Full Name==
 
<h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}|''missing''}}</h3>
 
|valign="top" rowspan="2" align="right"|
 
{| class="equipinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px; width:250px;"
 
 
|-
 
|-
|colspan="2" align="center"|[[FILE:CloakingDevice.jpg]]
+
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{short-name}}}
<h3>Statistics</h3>
 
 
|-
 
|-
|Cargo Space: ||{{#if:{{{cargo-space|}}}|{{formatnum:'''{{{cargo-space}}} units'''}}|''unknown''}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
 +
| {{#ifexist:File:{{{image}}}
 +
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
|Hold Size Limit: ||{{#if:{{{holdlimit|}}}|{{formatnum:'''{{{holdlimit}}} units'''}}|''unknown''}}
+
| colspan="2" class="infobox-section" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 150%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|Cloaking Device
|-
+
|- title="Damage the equipment can take before being destroyed"
|Warmup Time: ||{{#if:{{{warmup|}}}|{{formatnum:'''{{#expr:{{{warmup}}}/1000}} seconds'''}}|''unknown''}}
+
| class="infobox-data-title" | '''Hit-Points'''
|-
+
|| {{{hit-points|''unknown''}}}
|Cooldown Time: ||{{#if:{{{cooldown|}}}|{{formatnum:'''{{#expr:{{{cooldown}}}/1000}} seconds'''}}|''unknown''}}
+
|- title="Cargo space used by the equipment"
|-
+
| class="infobox-data-title" | '''Cargo Space'''
|Fuel(s): ||{{#if:{{{fuel1|}}}|{{formatnum:{{{fuel1}}} unit(s) per second}}|''unknown''}}{{#if:{{{fuel2|}}}|<br>{{formatnum:{{{fuel2}}} unit(s) per second}}|}}{{#if:{{{fuel3|}}}|<br>{{formatnum:{{{fuel3}}} unit(s) per second}}|}}{{#if:{{{fuel4|}}}|<br>{{formatnum:{{{fuel4}}} unit(s) per second}}|}}{{#if:{{{fuel5|}}}|<br>{{formatnum:{{{fuel5}}} unit(s) per second}}|}}
+
|| {{{cargo-space|''unknown''}}}
|-
 
|Drop shields on uncloak: ||{{#switch: {{{shielddrop}}}|true='''Yes'''|True|false='''No'''|False|#default=''Unknown''}}
 
 
|-
 
|-
 +
| class="infobox-data-title" | '''NPC Buy Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|}
 
|}
|-
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
|valign="top" style="width:100%;"|
+
==Cloak Data==
==Description==
+
* Max Ship Size: {{#ifeq: {{{hold-size-limit}}}|0|Unlimited|{{{hold-size-limit}}} cargo hold}}
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
+
* Time to Cloak: {{{warmup-time|''unknown''}}} seconds
|}
+
* Cooldown Time: {{{cooldown-time|''unknown''}}} seconds
 +
* Power Usage: {{{power-usage|''unknown''}}}u
 +
* Drop shields on uncloak: {{#switch: {{{drop-shields-on-uncloak}}}|Yes=True|True|No=False|False|#default=''unknown''}}
 +
===Fuel Consumption===
 +
{{#if: {{{fuel1|}}}|* {{{fuel1}}}/sec}}{{#if: {{{fuel2|}}}
 +
|* {{{fuel2}}}/sec}}{{#if: {{{fuel3|}}}
 +
|* {{{fuel3}}}/sec}}{{#if: {{{fuel4|}}}
 +
|* {{{fuel4}}}/sec}}{{#if: {{{fuel5|}}}
 +
|* {{{fuel5}}}/sec}}{{#if: {{{fuel6|}}}
 +
|* {{{fuel6}}}/sec}}{{#if: {{{fuel7|}}}
 +
|* {{{fuel7}}}/sec}}{{#if: {{{fuel8|}}}
 +
|* {{{fuel8}}}/sec}}{{#if: {{{fuel9|}}}
 +
|* {{{fuel9}}}/sec}}
 +
{{Clear}}
 +
==Buy/Sell Locations==
 +
{{#if: {{{places-sold|}}}|: The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.
 +
{{{places-sold}}}|: This item is not sold on any known bases. It may only be available from shipwrecks, sold on player bases, or given by administrators.}}
 +
 
 +
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Cloaking Devices]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Cloaking Devices]]</includeonly>
{{#if:{{{disclaimer|}}}|:''{{{disclaimer}}}''|:''Cloaking Devices may only be bought from players or player bases.''}}
+
<noinclude>-->
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
'''Template:Cloaking Device''' is for player-made cloaks.
 +
 
 +
Recognized attributes are shown in the ''Usage'' section below. Of particular note:
 +
 
 +
* ''full-name'' is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
 +
 
 +
* ''short-name'' is used for the title of the infobox.
 +
 
 +
* ''description'' is used for the text block at the top of the page.
 +
 
 +
* ''image'' is used for the equipment image in the infobox. If a value for the ''image'' attribute is not provided, [[:File:no_fighter_gun.png]] is used as the default image.
 +
 
 +
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Cloaking Device
 
{{Cloaking Device
| examplepage = ffffff
+
| image = Br_protective_armor.png
 +
| short-name = Light Cloaking Device
 
| full-name = Light Cloaking Device
 
| full-name = Light Cloaking Device
| description = This is the Cloaking Device typically used for [[Fighters]] and [[Bombers]].
+
| description = A cloaking device bends EM radiation to render the ship
 +
invisible to most sensors. It allows a ship to remain cloaked for a
 +
short time but uses significant amounts of fuel when active. This
 +
device is suitable for mounting on small ships such as fighters,
 +
bombers and some freighters.
 +
| price = 550,000
 
| cargo-space = 25
 
| cargo-space = 25
| holdlimit = 120
+
| hit-points = 100,000
| warmup = 3000
+
| hold-size-limit = 120
| cooldown = 120000
+
| warmup-time = 3
| shielddrop = true
+
| cooldown-time = 120
| fuel1 = [[MOX]], 1
+
| power-usage = 250
| fuel2 = [[Oil]], 1
+
| drop-shields-on-uncloak = Yes
| fuel3 = [[H-Fuel]], 1
+
| fuel1 = [[MOX (Rheinland)]]: 1
| fuel4 = [[Deuterium]], 1
+
| fuel2 = [[MOX (Bretonia)]]: 1
| fuel5 = [[Helium-3]], 1
+
| fuel3 = [[Promethene]]: 1
 +
| fuel4 = [[H-Fuel]]: 1
 +
| fuel5 = [[Deuterium]]: 1
 +
| fuel6 = [[Helium-3]]: 1
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Cloaking Device
 
{{Cloaking Device
| examplepage = ffffff
+
| image = Br_protective_armor.png
 +
| short-name = Light Cloaking Device
 
| full-name = Light Cloaking Device
 
| full-name = Light Cloaking Device
| description = This is the Cloaking Device typically used for [[Fighters]] and [[Bombers]].
+
| description = A cloaking device bends EM radiation to render the ship
 +
invisible to most sensors. It allows a ship to remain cloaked for a
 +
short time but uses significant amounts of fuel when active. This
 +
device is suitable for mounting on small ships such as fighters,
 +
bombers and some freighters.
 +
| price = 550,000
 
| cargo-space = 25
 
| cargo-space = 25
| holdlimit = 120
+
| hit-points = 100,000
| warmup = 3000
+
| hold-size-limit = 120
| cooldown = 120000
+
| warmup-time = 3
| shielddrop = true
+
| cooldown-time = 120
| fuel1 = [[MOX]], 1
+
| power-usage = 250
| fuel2 = [[Oil]], 1
+
| drop-shields-on-uncloak = Yes
| fuel3 = [[H-Fuel]], 1
+
| fuel1 = [[MOX (Rheinland)]]: 1
| fuel4 = [[Deuterium]], 1
+
| fuel2 = [[MOX (Bretonia)]]: 1
| fuel5 = [[Helium-3]], 1
+
| fuel3 = [[Promethene]]: 1
 +
| fuel4 = [[H-Fuel]]: 1
 +
| fuel5 = [[Deuterium]]: 1
 +
| fuel6 = [[Helium-3]]: 1
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 02:34, 21 December 2012

Template:Cloaking Device is for player-made cloaks.

Recognized attributes are shown in the Usage section below. Of particular note:

  • full-name is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
  • short-name is used for the title of the infobox.
  • description is used for the text block at the top of the page.
  • image is used for the equipment image in the infobox. If a value for the image attribute is not provided, File:no_fighter_gun.png is used as the default image.

The remaining attributes are used to populate fields throughout the page.

Usage

{{Cloaking Device
| image = Br_protective_armor.png
| short-name = Light Cloaking Device
| full-name = Light Cloaking Device
| description = A cloaking device bends EM radiation to render the ship
invisible to most sensors. It allows a ship to remain cloaked for a
short time but uses significant amounts of fuel when active. This
device is suitable for mounting on small ships such as fighters,
bombers and some freighters.
| price = 550,000
| cargo-space = 25
| hit-points = 100,000
| hold-size-limit = 120
| warmup-time = 3
| cooldown-time = 120
| power-usage = 250
| drop-shields-on-uncloak = Yes
| fuel1 = [[MOX (Rheinland)]]: 1
| fuel2 = [[MOX (Bretonia)]]: 1
| fuel3 = [[Promethene]]: 1
| fuel4 = [[H-Fuel]]: 1
| fuel5 = [[Deuterium]]: 1
| fuel6 = [[Helium-3]]: 1
}}

Result

Light Cloaking Device
Br protective armor.png
Cloaking Device
Hit-Points 100,000
Cargo Space 25
NPC Buy Price 550,000

A cloaking device bends EM radiation to render the ship invisible to most sensors. It allows a ship to remain cloaked for a short time but uses significant amounts of fuel when active. This device is suitable for mounting on small ships such as fighters, bombers and some freighters.

Cloak Data

  • Max Ship Size: 120 cargo hold
  • Time to Cloak: 3 seconds
  • Cooldown Time: 120 seconds
  • Power Usage: 250u
  • Drop shields on uncloak: True

Fuel Consumption


Buy/Sell Locations

This item is not sold on any known bases. It may only be available from shipwrecks, sold on player bases, or given by administrators.