Difference between revisions of "Template:Countermeasure"

From Discovery Wiki
Jump to navigationJump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="weaponmainbox" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #aaa;" cellpadding="3"
+
{| 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"
 
|-
 
|-
| colspan="2" class="infobox-name"|<H3>{{{short-name}}}</H3>
+
| 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}}}
 
|-
 
|-
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
| [[image:{{{image}}}|center|220px]]
+
| {{#ifexist:File:{{{image}}}
| [[image:no_fighter_gun.png|center|220px]]}}
+
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
| colspan="2" class="infobox-section"|<H3>Dropper</H3>
+
| 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"
 
|- title="Damage the equipment can take before being destroyed"
|class="infobox-data-title" | '''Hit-Points'''
+
| class="infobox-data-title" | '''Hit-Points'''
 
|| {{{hit-points|''unknown ''}}}
 
|| {{{hit-points|''unknown ''}}}
 
|- title="Cargo space used by the equipment"
 
|- title="Cargo space used by the equipment"
|class="infobox-data-title" | '''Cargo Space'''
+
| class="infobox-data-title" | '''Cargo Space'''
 
|| {{{cargo-space|''unknown ''}}}
 
|| {{{cargo-space|''unknown ''}}}
 
|-
 
|-
|class="infobox-data-title" | '''Dropper Price'''
+
| class="infobox-data-title" | '''Dropper Price'''
|| {{#if: {{{price|}}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
| ${{formatnum:{{{price}}}}}
 
| ''unknown''}}
 
 
|-
 
|-
| colspan="2" class="infobox-section"|<H3>Flare</H3>
+
| 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
 
|-
 
|-
|class="infobox-data-title" | '''Flare Price'''
+
| class="infobox-data-title" | '''Flare Price'''
|| {{#if: {{{ammo-price|}}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
| ${{formatnum:{{{ammo-price}}}}}
 
| ''unknown''}}
 
 
|-
 
|-
 
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{ammo-image|}}}
 
| 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.}}}}
 
| {{#ifexist:File:{{{ammo-image}}}|[[File:{{{ammo-image}}}|90px|ammunition image]]|Please [[File:{{{ammo-image}}}|upload]] a munition image.}}}}
 
|}
 
|}
 
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
 
 
 
{{Clear}}
 
 
 
 
==Countermeasure Stats==
 
==Countermeasure Stats==
 
* Decoy Effectiveness: {{formatnum:{{{effectiveness|0}}}%}}
 
* Decoy Effectiveness: {{formatnum:{{{effectiveness|0}}}%}}
Line 42: Line 36:
 
* Refire Rate: {{{refire-rate|''unknown ''}}} /sec
 
* Refire Rate: {{{refire-rate|''unknown ''}}} /sec
 
* Power Usage: {{{power-usage|''unknown ''}}}u
 
* Power Usage: {{{power-usage|''unknown ''}}}u
 
+
{{Clear}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
==Buy/Sell Locations==
{{{places-sold}}}}}
+
{{#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}}
 
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Ship Equipment]][[Category:Countermeasures]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Countermeasures]]</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 
 
 
'''Template:Countermeasure''' is for countermeasure launchers and their associated ammunition.
 
'''Template:Countermeasure''' is for countermeasure launchers and their associated ammunition.
  
Line 64: Line 58:
  
 
* If an ''ammo-image'' attribute is provided, a subsection for the image will be displayed under the description.
 
* 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==
Line 72: Line 68:
 
| short-name = Countermeasure
 
| short-name = Countermeasure
 
| full-name = CM-1 Countermeasure Dropper
 
| full-name = CM-1 Countermeasure Dropper
| description = The CM-1Countermeasure dropper dispenses an
+
| description = The CM-1Countermeasure dropper dispenses an expendable
expendable "package" of light, heat and electromagnetic radiation
+
"package" of light, heat and electromagnetic radiation that attracts
that attracts the attention incoming ordinance and draws it away
+
the attention incoming ordinance and draws it away from the ship.
from the ship.
 
  
 
*Requires Countermeasure Flare
 
*Requires Countermeasure Flare
 
 
| price = 1,000
 
| price = 1,000
 
| ammo-price = 25
 
| ammo-price = 25
Line 88: Line 82:
 
| power-usage = 1
 
| power-usage = 1
 
| refire = 4.00
 
| refire = 4.00
| places-sold =
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
 
!Base!!Owner!!System!!Region
 
!Base!!Owner!!System!!Region
Line 110: Line 103:
 
| short-name = Countermeasure
 
| short-name = Countermeasure
 
| full-name = CM-1 Countermeasure Dropper
 
| 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.
+
| 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
 
*Requires Countermeasure Flare
Line 122: Line 117:
 
| power-usage = 1
 
| power-usage = 1
 
| refire = 4.00
 
| refire = 4.00
| places-sold =
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
 
!Base!!Owner!!System!!Region
 
!Base!!Owner!!System!!Region
Line 137: 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.