Difference between revisions of "Template:Gun"

From Discovery Wiki
Jump to navigationJump to search
Line 43: Line 43:
 
* Lifetime: {{{projectile-lifetime|0}}} seconds
 
* Lifetime: {{{projectile-lifetime|0}}} seconds
 
{{#if:{{{projectile-image|}}}|===Projectile Image===
 
{{#if:{{{projectile-image|}}}|===Projectile Image===
: {{#ifexist:File:{{{projectile-image}}}|[[File:{{{projectile-image}}}|projectile image]]|Please [[File:{{{projectile-image}}}|upload]] a projectile image.}}}}
+
: {{#ifexist:File:{{{projectile-image}}}|[[File:{{{projectile-image}}}|projectile image]]|Please [[File:{{{projectile-image}}}|upload]] the {{{projectile-image}}} file.}}}}
 
{{Clear}}
 
{{Clear}}
 
==Buy/Sell Locations==
 
==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.
+
{{#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.}}
+
{{{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}}
Line 93: Line 93:
 
| cargo-space = 0
 
| cargo-space = 0
 
| projectile-image = ci_laser_01_proj.png
 
| projectile-image = ci_laser_01_proj.png
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 2em;"
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
Line 129: Line 129:
 
| cargo-space = 0
 
| cargo-space = 0
 
| projectile-image = ci_laser_01_proj.png
 
| projectile-image = ci_laser_01_proj.png
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 2em;"
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-

Revision as of 02:38, 21 December 2012

Template:Gun is for weapons that use gun and turret hard-points, with non-motorized projectiles. Template:Missile provides similar functionality for weapons with 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.
  • If a projectile-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

{{Gun
| image = li_laser_beam.png
| short-name = Starbeam
| full-name = CL-a "Starbeam" Civilian Laser Cannon
| faction = [[Civilian]]
| description = This is a laser-based weapon that provides a high refire
rate at a reduced damage output. This weapon is most effective against
positron shields, and weakest against graviton shields.  
| price = 450
| weapon-class = Class 2 Guns
| hull-damage = 14
| energy-damage = 7
| damage-type = [[Laser]]
| refire-rate = 8.33
| projectile-speed = 750
| projectile-range = 600
| power-usage = 4
| hit-points = 400
| cargo-space = 0
| projectile-image = ci_laser_01_proj.png
| 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

Starbeam
Li laser beam.png
Energy Gun
Owner Faction Civilian
Weapon Class Class 2 Guns
Cargo Space 0
Hit-Points 400
Price 450

This is a laser-based weapon that provides a high refire rate at a reduced damage output. This weapon is most effective against positron shields, and weakest against graviton shields.

Weapon Stats

  • Hull Damage: 14 /round (116.62 /sec)
    3.5:1 efficency
  • Energy Damage: 7 /round (58.31 /sec)
    1.75:1 efficency
  • Refire Rate: 8.33 /sec
  • Power Usage: 4 u/round (33.32 u/sec)
  • Damage Type: Laser

Energy Pulse Stats

  • Speed: 750 m/sec
  • Travel Range: 600 meters
  • Lifetime: 0 seconds

Projectile Image

Please upload the ci_laser_01_proj.png file.


Buy/Sell Locations

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