Difference between revisions of "Template:Countermeasure"

From Discovery Wiki
Jump to navigationJump to search
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| style="width:100%; padding:10px;" class="weaponmainbox"
+
{| 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"
|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"|{{#if: {{{image|}}}
+
| 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}}}
| [[image:{{{image}}}|center|120px]]
 
| [[image:Countermeasures.jpg|center|120px]]}}|{{#if: {{{ammo-image|}}}
 
| [[image:{{{ammo-image}}}|center|120px]]
 
| [[image:Countermeasures.jpg|center|120px]]}}
 
<h3>Statistics</h3>
 
 
|-
 
|-
|Effectiveness: ||{{#if:{{{effectiveness|}}}|{{formatnum:'''{{{effectiveness}}}%'''}}|''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]]}}
 
|-
 
|-
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}} m'''}}|''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;"|Dropper
 +
|- title="Damage the equipment can take before being destroyed"
 +
| class="infobox-data-title" | '''Hit-Points'''
 +
|| {{{hit-points|''unknown ''}}}
 +
|- title="Cargo space used by the equipment"
 +
| class="infobox-data-title" | '''Cargo Space'''
 +
|| {{{cargo-space|''unknown ''}}}
 
|-
 
|-
|Lifetime: ||{{#if:{{{lifetime|}}}|{{formatnum:'''{{{lifetime}}} s'''}}|''unknown''}}
+
| class="infobox-data-title" | '''Dropper Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|-
 
|-
|Power Usage: ||{{#if:{{{power-usage|}}}|{{formatnum:'''{{{power-usage}}} u'''}}|''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;"|Flare
 
|-
 
|-
|Refire Rate: ||{{#if:{{{refire|}}}|{{formatnum:'''{{{refire}}}/s'''}}|''unknown''}}
+
| class="infobox-data-title" | '''Flare Price'''
|-
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
|Dropper Hit Pts: ||{{#if:{{{hit-points|}}}|{{formatnum:'''{{{hit-points}}}'''}}|''unknown''}}
 
|-
 
|Dropper Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}
 
|-
 
|Flare Price: ||{{#if:{{{ammo-price|}}}|${{formatnum:'''{{{ammo-price}}}'''}}|''unknown''}}
 
 
|-
 
|-
 +
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{ammo-image|}}}
 +
| {{#ifexist:File:{{{ammo-image}}}|[[File:{{{ammo-image}}}|90px|ammunition image]]|Please [[File:{{{ammo-image}}}|upload]] a munition image.}}}}
 
|}
 
|}
|-
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
|valign="top" style="width:100%;"|
+
==Countermeasure Stats==
==Description==
+
* Decoy Effectiveness: {{formatnum:{{{effectiveness|0}}}%}}
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
+
* Decoy Range: {{{range|''unknown ''}}} meters
{{#if:{{{places-sold|}}}|==Places Sold==
+
* Decoy Lifetime: {{{lifetime|''unknown ''}}} seconds
{{{places-sold}}}}}
+
* Refire Rate: {{{refire-rate|''unknown ''}}} /sec
|}
+
* Power Usage: {{{power-usage|''unknown ''}}}u
 +
{{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:Countermeasures]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Countermeasures]]</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 +
'''Template:Countermeasure''' is for countermeasure launchers and their associated ammunition.
 +
 
 +
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.
 +
 
 +
* If an ''ammo-image'' attribute is provided, a subsection for the image will be displayed under the description.
 +
 
 +
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Countermeasure
 
{{Countermeasure
| full-name = Ludicrous Countermeasure
+
| image = li_cm_dropper01.png
| description = Countermeasures can be launched to confuse incoming missiles. This one confuses you instead.
+
| ammo-image = ge_cm_mark1.png
| effectiveness = -99
+
| short-name = Countermeasure
| range = 9999
+
| full-name = CM-1 Countermeasure Dropper
| lifetime = 5
+
| description = The CM-1Countermeasure dropper dispenses an expendable
| power-usage = 15
+
"package" of light, heat and electromagnetic radiation that attracts
| refire = 4
+
the attention incoming ordinance and draws it away from the ship.
| hit-points = 5000
+
 
| price = 700
+
*Requires Countermeasure Flare
| ammo-price = 9999999999
+
| price = 1,000
| places-sold =
+
| ammo-price = 25
{{{!}} class="wikitable collapsible collapsed"
+
| cargo-space = 0
 +
| hit-points = 4,000
 +
| effectiveness = 50
 +
| range = 1,000
 +
| lifetime = 3
 +
| power-usage = 1
 +
| refire = 4.00
 +
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 70: Line 95:
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
{{!}}}
}}
+
}}</nowiki></pre>
</nowiki></pre>
 
  
 
==Result==
 
==Result==
 
{{Countermeasure
 
{{Countermeasure
| examplepage = true
+
| image = li_cm_dropper01.png
| full-name = Ludicrous Countermeasure
+
| ammo-image = ge_cm_mark1.png
| description = Countermeasures can be launched to confuse incoming missiles. This one confuses you instead.
+
| short-name = Countermeasure
| effectiveness = -99
+
| full-name = CM-1 Countermeasure Dropper
| range = 9999
+
| description = The CM-1Countermeasure dropper dispenses an expendable
| lifetime = 5
+
"package" of light, heat and electromagnetic radiation that attracts
| power-usage = 15
+
the attention incoming ordinance and draws it away from the ship.
| refire = 4
+
 
| hit-points = 5000
+
*Requires Countermeasure Flare
| price = 700
+
| price = 1,000
| ammo-price = 9999999999
+
| ammo-price = 25
| places-sold =
+
| cargo-space = 0
{{{!}} class="wikitable collapsible collapsed"
+
| hit-points = 4,000
 +
| effectiveness = 50
 +
| range = 1,000
 +
| lifetime = 3
 +
| power-usage = 1
 +
| refire = 4.00
 +
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 101: Line 131:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 02:35, 21 December 2012

Template:Countermeasure is for countermeasure launchers and their associated ammunition.

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.
  • If an ammo-image attribute is provided, a subsection for the image will be displayed under the description.

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

Usage

{{Countermeasure
| image = li_cm_dropper01.png
| ammo-image = ge_cm_mark1.png
| short-name = Countermeasure
| full-name = CM-1 Countermeasure Dropper
| description = The CM-1Countermeasure dropper dispenses an expendable
"package" of light, heat and electromagnetic radiation that attracts
the attention incoming ordinance and draws it away from the ship.

*Requires Countermeasure Flare
| price = 1,000
| ammo-price = 25
| cargo-space = 0
| hit-points = 4,000
| effectiveness = 50
| range = 1,000
| lifetime = 3
| power-usage = 1
| refire = 4.00
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
!Spoiler: Buying Locations
{{!}}-
{{!}}
{{{!}} class="wikitable sortable" style="margin: 4px;"
{{!}}-
!Base!!Owner!!System!!Region
{{!}}-
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
{{!}}-
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}}
{{!}}}
}}

Result

Countermeasure
Li cm dropper01.png
Dropper
Hit-Points 4,000
Cargo Space 0
Dropper Price 1,000
Flare
Flare Price 1,000
ammunition image

The CM-1Countermeasure dropper dispenses an expendable "package" of light, heat and electromagnetic radiation that attracts the attention incoming ordinance and draws it away from the ship.

  • Requires Countermeasure Flare

Countermeasure Stats

  • Decoy Effectiveness: 50%
  • Decoy Range: 1,000 meters
  • Decoy Lifetime: 3 seconds
  • Refire Rate: unknown /sec
  • Power Usage: 1u


Buy/Sell Locations

The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.