Difference between revisions of "Template:Missile"

From Discovery Wiki
Jump to navigationJump to search
m (Removed "generic" so this page goes into the civilian category.)
 
(167 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" 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"|'''{{{short-name}}} Launcher'''
+
| 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:Missiles.jpg|center|220px]]}}
+
| [[Image:{{{image}}}|center|220px]]
|- title="Firing rate, in rounds per second"
+
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
|class="infobox-data-title" | '''Refire Rate'''
+
| [[Image:no_fighter_gun.png|center|220px]]}}
|style="padding-right: 1em;" | {{{refire-rate|''unknown ''}}}/s
 
|- title="Power used to drop the mine"
 
|class="infobox-data-title" | '''Power Usage'''
 
|style="padding-right: 1em;" | {{{power-usage|''unknown ''}}}u
 
|- title="Damage the equipment can take before being destroyed"
 
|class="infobox-data-title" | '''Hit Points'''
 
|style="padding-right: 1em;" | {{{hit-points|''unknown ''}}}
 
|- title="Cargo space used by the equipment"
 
|class="infobox-data-title" | '''Cargo Space'''
 
|style="padding-right: 1em;" | {{{cargo-space|''unknown ''}}}
 
 
|-
 
|-
|class="infobox-data-title" | '''Launcher Price'''
+
| 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;"|{{#if:{{{rotation|}}}|Missile Turret|Missile Launcher}}
|style="padding-right: 1em;" | {{#if: {{{price|}}}
+
|- title "Faction that owns this technology"
| ${{formatnum:{{{price}}}}}
+
| class="infobox-data-title" | '''Owner Faction'''
| ''unknown''
+
|| {{{faction|''unknown''}}}
}}
+
|- title "Weapon hard-point type and/or class"
 +
| class="infobox-data-title" | '''Weapon Class'''
 +
|| {{#if:{{{weapon-class|}}}|[[{{{weapon-class}}}]]|''unknown''}}
 +
{{#if:{{{rotation|}}}
 +
|{{!}}- title="Turret rotation rate, in degrees/sec"
 +
{{!}}class="infobox-data-title" {{!}} '''Turret Rotation'''
 +
{{!!}} {{{rotation|}}} deg/s|}}
 +
|- title="Cargo space used by the weapon"
 +
| class="infobox-data-title" | '''Cargo Space'''
 +
|| {{{cargo-space|''unknown''}}}
 +
|- title="Damage the weapon can take before being destroyed"
 +
| class="infobox-data-title" | '''Launcher Hit-Points'''
 +
|| {{{hit-points|''unknown''}}}
 +
|-
 +
| class="infobox-data-title" | '''Launcher Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|-
 
|-
|<br>
+
| colspan="2" class="infobox-section"|<H3>Missile</H3>
 
|-
 
|-
| colspan="2" class="infobox-name"|'''{{{short-name}}}'''
+
|class="infobox-data-title" | '''Missile Price'''
 +
|| {{#if: {{{ammo-price|}}}|{{formatnum:{{{ammo-price}}}}}|''n/a''}}
 
|-
 
|-
 
| 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|}}}
| [[image:{{{ammo-image}}}|center|220px]]
+
| {{#ifexist:File:{{{ammo-image}}}|[[File:{{{ammo-image}}}|90px|ammunition image]]|Please [[File:{{{ammo-image}}}|upload]] a munition image.}}}}
| [[image:Missiles.jpg|center|220px]]}}
 
|- title="Amount of damage to unshielded objects within the blast radius"
 
|class="infobox-data-title" | '''Hull Damage'''
 
|style="padding-right: 1em; font-weight: bold;" | {{formatnum:{{{hull-damage|0}}}}}
 
|- title="Amount of damage to shields, or to power core if shields are down"
 
|class="infobox-data-title" | '''Energy Damage'''
 
|style="padding-right: 1em; font-weight: bold;" | {{formatnum:{{{energy-damage|0}}}}}
 
|- title="Reach of the blast sphere, measured from center"
 
|class="infobox-data-title" | '''Explosion Radius'''
 
|style="padding-right: 1em;" | {{{radius|0}}}m
 
|- title="Seek time until mine deactivates"
 
|class="infobox-data-title" | '''Lifetime'''
 
|style="padding-right: 1em;" | {{{lifetime|''unknown ''}}}s
 
|- title="Damage the projectile will take before exploding"
 
|class="infobox-data-title" | '''Hit Points'''
 
|style="padding-right: 1em;" | {{{projectile-hit-points|''unknown''}}}
 
|-
 
|class="infobox-data-title" | '''Ammo Price'''
 
|style="padding-right: 1em;" | {{#if: {{{ammo-price|}}}
 
| ${{formatnum:{{{ammo-price}}}}}
 
| ''unknown''
 
}}
 
 
|}
 
|}
{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
==Weapon Stats==
{{{places-sold}}}}}
+
* Hull Damage: {{{hull-damage|''unknown''}}} /round ({{formatnum: {{#expr:{{formatnum:{{{hull-damage}}}|R}}*{{{refire-rate}}}}}|,}} /sec) {{#ifeq: {{{power-usage}}}|0||*: {{#expr: {{#expr:{{formatnum:{{{hull-damage}}}|R}}/{{formatnum:{{{power-usage}}}|R}}}} round2}}:1 efficency}}
 +
* Energy Damage: {{{energy-damage|''unknown''}}} /round ({{formatnum: {{#expr:{{formatnum:{{{energy-damage}}}|R}}*{{{refire-rate}}}}}|,}} /sec) {{#ifeq: {{{power-usage}}}|0||*: {{#expr: {{#expr:{{formatnum:{{{energy-damage}}}|R}}/{{formatnum:{{{power-usage}}}|R}}}} round2}}:1 efficency}}
 +
* Refire Rate: {{{refire-rate|''unknown''}}} /sec
 +
* Power Usage: {{{power-usage|''unknown''}}} u/round ({{formatnum:{{#expr:{{formatnum:{{{power-usage}}}|R}}*{{{refire-rate}}}}}|,}} u/sec)
 +
* Damage Type: {{{damage-type|''unknown''}}}
 +
===Missile Stats===
 +
* Seek Range: {{{projectile-seek-range|0}}} meters
 +
* Thrust Speed: {{{projectile-speed|0}}} m/sec
 +
* Lifetime: {{{projectile-lifetime|0}}} seconds
 +
* Travel Range: {{{projectile-range|0}}} meters
 +
* Turn Rate: {{RadConv|{{{projectile-turn-rate|0}}}}} deg/sec ({{{projectile-turn-rate|0}}} rad/sec)
 +
* Hit-Points: {{{projectile-hit-points|''unknown''}}}
 +
===Explosion Stats===
 +
* Explosion Radius: {{{explosion-radius|0}}} meters
 +
* Detonation Range: {{{detonation-distance|''unknown''}}} meters
 +
{{#if:{{{projectile-image|}}}|===Projectile Image===
 +
: {{#ifexist:File:{{{projectile-image}}}|[[File:{{{projectile-image}}}|projectile image]]|Please [[File:{{{projectile-image}}}|upload]] a projectile image.}}}}
 +
{{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}}
 
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Weapons]][[Category:Mines]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Weapons]]{{#if:{{{weapon-class|}}}|[[Category:{{{weapon-class}}}]]}}{{#if:{{{faction-raw|}}}|[[Category:{{{faction-raw}}}]]}}</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 +
'''Template:Missile''' is for weapons that use gun, torpedo, and cruise disruptor hard-points, with motorized projectiles. [[:Template:Gun]] provides similar functionality for weapons with non-motorized projectiles.
 +
 
 +
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.
 +
 
 +
* ''faction'' (singular) contains a linked version of the Owner Faction name (necessary for efficient redirection of Guard factions), while ''faction-raw'' contains the unlinked target faction name (necessary for Category links).
 +
 
 +
* If an ''ammo-image'' attribute is provided, a subsection for the image will be displayed under the description.
 +
 
 +
* If a ''rotation'' attribute is provided then the entry is treated as a Turret, otherwise it is treated as a Gun. The infobox data and the Category links in the footer are affected by this outcome.
 +
 
 +
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
Line 67: Line 91:
 
{{Missile
 
{{Missile
 
| image = li_rad_launcher.png
 
| image = li_rad_launcher.png
| icon = equipicon_missilelauncher.jpg
 
 
| ammo-image = li_rad_missile.png
 
| ammo-image = li_rad_missile.png
| ammo-icon = equipicon_missile.jpg
 
 
| short-name = Javelin Missile
 
| short-name = Javelin Missile
 
| full-name = J63 "Javelin" Missile Launcher
 
| full-name = J63 "Javelin" Missile Launcher
| faction = Civilian
+
| faction = [[Civilian]]
 +
| faction-raw = Civilian
 
| description = The Javelin Missile launcher's main attribute is its
 
| description = The Javelin Missile launcher's main attribute is its
 
stalwart reliability; delivering a punishing payload accurately and
 
stalwart reliability; delivering a punishing payload accurately and
Line 81: Line 104:
 
| price = 500
 
| price = 500
 
| ammo-price = 20
 
| ammo-price = 20
| weapon-class = [[Class 2 Gun]]
+
| weapon-class = Class 2 Guns
 
| hull-damage = 729
 
| hull-damage = 729
 
| energy-damage = 364
 
| energy-damage = 364
| damage-type = Direct
+
| damage-type = [[Direct]]
 
| refire-rate = 0.33
 
| refire-rate = 0.33
 
| power-usage = 0
 
| power-usage = 0
Line 91: Line 114:
 
| projectile-hit-points = 2
 
| projectile-hit-points = 2
 
| projectile-speed = 90
 
| projectile-speed = 90
| projectile-range = 1,000
+
| projectile-range = 1,237
 +
| projectile-lifetime = 13.75
 +
| projectile-seek-range = 1,000
 
| projectile-turn-rate = 2.9
 
| projectile-turn-rate = 2.9
| projectile-lifetime = 13
 
 
| explosion-radius = 16
 
| explosion-radius = 16
| 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!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 114: Line 137:
 
{{Missile
 
{{Missile
 
| image = li_rad_launcher.png
 
| image = li_rad_launcher.png
| icon = equipicon_missilelauncher.jpg
 
 
| ammo-image = li_rad_missile.png
 
| ammo-image = li_rad_missile.png
| ammo-icon = equipicon_missile.jpg
 
 
| short-name = Javelin Missile
 
| short-name = Javelin Missile
 
| full-name = J63 "Javelin" Missile Launcher
 
| full-name = J63 "Javelin" Missile Launcher
| faction = Civilian
+
| faction = [[Civilian]]
| description = The Javelin Missile launcher's main attribute is its stalwart reliability; delivering a punishing payload accurately and effectively.  This and its relatively inexpensive cost make the Javelin a welcome addition to any arsenal.  
+
| faction-raw = Civilian
 +
| description = The Javelin Missile launcher's main attribute is its
 +
stalwart reliability; delivering a punishing payload accurately and
 +
effectively.  This and its relatively inexpensive cost make the
 +
Javelin a welcome addition to any arsenal.  
  
 
*Requires Javelin Missile
 
*Requires Javelin Missile
 
| price = 500
 
| price = 500
 
| ammo-price = 20
 
| ammo-price = 20
| weapon-class = [[Class 2 Gun]]
+
| weapon-class = Class 2 Guns
 
| hull-damage = 729
 
| hull-damage = 729
 
| energy-damage = 364
 
| energy-damage = 364
| damage-type = Direct
+
| damage-type = [[Direct]]
 
| refire-rate = 0.33
 
| refire-rate = 0.33
 
| power-usage = 0
 
| power-usage = 0
Line 135: Line 160:
 
| projectile-hit-points = 2
 
| projectile-hit-points = 2
 
| projectile-speed = 90
 
| projectile-speed = 90
| projectile-range = 1,000
+
| projectile-range = 1,237
 +
| projectile-lifetime = 13.75
 +
| projectile-seek-range = 1,000
 
| projectile-turn-rate = 2.9
 
| projectile-turn-rate = 2.9
| projectile-lifetime = 13
 
 
| explosion-radius = 16
 
| explosion-radius = 16
| 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!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 154: Line 179:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:51, 4 May 2019

Template:Missile is for weapons that use gun, torpedo, and cruise disruptor hard-points, with motorized projectiles. Template:Gun provides similar functionality for weapons with non-motorized projectiles.

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.
  • faction (singular) contains a linked version of the Owner Faction name (necessary for efficient redirection of Guard factions), while faction-raw contains the unlinked target faction name (necessary for Category links).
  • If an ammo-image attribute is provided, a subsection for the image will be displayed under the description.
  • If a rotation attribute is provided then the entry is treated as a Turret, otherwise it is treated as a Gun. The infobox data and the Category links in the footer are affected by this outcome.

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

Usage

{{Missile
| image = li_rad_launcher.png
| ammo-image = li_rad_missile.png
| short-name = Javelin Missile
| full-name = J63 "Javelin" Missile Launcher
| faction = [[Civilian]]
| faction-raw = Civilian
| description = The Javelin Missile launcher's main attribute is its
stalwart reliability; delivering a punishing payload accurately and
effectively.  This and its relatively inexpensive cost make the
Javelin a welcome addition to any arsenal. 

*Requires Javelin Missile
| price = 500
| ammo-price = 20
| weapon-class = Class 2 Guns
| hull-damage = 729
| energy-damage = 364
| damage-type = [[Direct]]
| refire-rate = 0.33
| power-usage = 0
| hit-points = 400
| cargo-space = 0
| projectile-hit-points = 2
| projectile-speed = 90
| projectile-range = 1,237
| projectile-lifetime = 13.75
| projectile-seek-range = 1,000
| projectile-turn-rate = 2.9
| explosion-radius = 16
| 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

Javelin Missile
Li rad launcher.png
Missile Launcher
Owner Faction Civilian
Weapon Class Class 2 Guns
Cargo Space 0
Launcher Hit-Points 400
Launcher Price 500

Missile

Missile Price 20
ammunition image

The Javelin Missile launcher's main attribute is its stalwart reliability; delivering a punishing payload accurately and effectively. This and its relatively inexpensive cost make the Javelin a welcome addition to any arsenal.

  • Requires Javelin Missile

Weapon Stats

  • Hull Damage: 729 /round (240.57 /sec)
  • Energy Damage: 364 /round (120.12 /sec)
  • Refire Rate: 0.33 /sec
  • Power Usage: 0 u/round (0 u/sec)
  • Damage Type: Direct

Missile Stats

  • Seek Range: 1,000 meters
  • Thrust Speed: 90 m/sec
  • Lifetime: 13.75 seconds
  • Travel Range: 1,237 meters
  • Turn Rate: 166.16 deg/sec (2.9 rad/sec)
  • Hit-Points: 2

Explosion Stats

  • Explosion Radius: 16 meters
  • Detonation Range: unknown meters


Buy/Sell Locations

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