Difference between revisions of "Template:Weapon"

From Discovery Wiki
Jump to navigationJump to search
m (test)
(updated for missiles)
Line 1: Line 1:
 
<noinclude>{{Stub|
 
<noinclude>{{Stub|
 +
<s>
 
*Raise the Stats to the top of the Wep Div
 
*Raise the Stats to the top of the Wep Div
 
**This must keep it's structure/flow for those with "No-CSS styles".
 
**This must keep it's structure/flow for those with "No-CSS styles".
Line 6: Line 7:
 
*Float Right the Image box
 
*Float Right the Image box
 
**preferably this would be either above Stats box or underneath, on the right side.
 
**preferably this would be either above Stats box or underneath, on the right side.
*WordWrap image + Stats box
+
*WordWrap image + Stats box</s>
 
*Imagelink the image. (it's currently incorrect)
 
*Imagelink the image. (it's currently incorrect)
 
*Write up verbose instructions
 
*Write up verbose instructions
Line 16: Line 17:
 
*<s>Automate the comma's e.g. 20,000,000</s>
 
*<s>Automate the comma's e.g. 20,000,000</s>
 
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)
 
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)
}}<--</noinclude>__NOTOC__ __NOEDITSECTION__
+
}}<!--</noinclude>__NOTOC__ __NOEDITSECTION__
 
{| style="width:100%; padding:10px;" class="weaponmainbox"
 
{| style="width:100%; padding:10px;" class="weaponmainbox"
 
|align="left"|
 
|align="left"|
 
==Full Name==
 
==Full Name==
<h3>{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}</h3>
+
<h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}|''missing''}}</h3>
 
|valign="top" rowspan="2" align="right"|
 
|valign="top" rowspan="2" align="right"|
 
{| class="weaponinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px;"
 
{| class="weaponinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px;"
Line 31: Line 32:
 
|colspan="2" align="center"|<h3>Statistics</h3>
 
|colspan="2" align="center"|<h3>Statistics</h3>
 
|-
 
|-
|Weapon Class: ||'''{{{weapon-class|{{{4|{{{weapon-class|weapon-class}}}}}}}}}'''
+
|Weapon Class: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}}
 
|-
 
|-
|Hull Damage: ||{{formatnum:'''{{{hull-damage|{{{4|{{{hull-damage|hull-damage}}}}}}}}}'''}}
+
|Hull Damage: ||{{#if:{{{hull-damage|}}}|{{formatnum:'''{{{hull-damage}}}'''}}|''unknown''}}
 
|-
 
|-
|Shield Damage: ||{{formatnum:'''{{{shield-damage|{{{4|{{{shield-damage|shield-damage}}}}}}}}}'''}}
+
|Shield Damage: ||{{#if:{{{shield-damage|}}}|{{formatnum:'''{{{shield-damage|}}}'''}}|''unknown''}}
 
|-
 
|-
|Range: ||{{formatnum:'''{{{range|{{{4|{{{range|range}}}}}}}}}''' m}}
+
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}''' m}}|''unknown''}}
 
|-
 
|-
|Projectile Speed: ||{{formatnum:'''{{{projectile-speed|{{{4|{{{projectile-speed|projectile-speed}}}}}}}}}''' m/s}}
+
|Projectile Speed: ||{{#if:{{{projectile-speed|}}}|{{formatnum:'''{{{projectile-speed}}}''' m/s}}|''unknown''}}
 
|-
 
|-
|Refire Rate: ||{{formatnum:'''{{{refire-rate|{{{4|{{{refire-rate|refire-rate}}}}}}}}}'''}}
+
|Refire Rate: ||{{#if:{{{refire-rate|}}}|{{formatnum:'''{{{refire-rate}}}'''}}|''unknown''}}
 
|-
 
|-
|Energy Usage: ||{{formatnum:'''{{{energy-usage|{{{4|{{{energy-usage|energy-usage}}}}}}}}}'''}}
+
|Energy Usage: ||{{#if:{{{energy-usage|}}}|{{formatnum:'''{{{energy-usage}}}'''}}|''unknown''}}{{#if: {{{turn-rate|}}}|<br />
|-
+
{{!}}-
|Turn Rate: ||{{formatnum:'''{{{turn-rate|{{{4|{{{turn-rate|turn-rate}}}}}}}}}''' rad/s}}
+
{{!}}Turn Rate: {{!!}}{{formatnum:'''{{{turn-rate}}}''' rad/s}}}}{{#if: {{{explosion-range|}}}|<br />
|-
+
{{!}}-
|Explosion Range: ||{{formatnum:'''{{{explosion-range|{{{4|{{{explosion-range|explosion-range}}}}}}}}}''' m}}
+
{{!}}Explosion Range: {{!!}}{{formatnum:'''{{{explosion-range}}}''' m}}}}{{#if: {{{launcher-price|}}}|<br />
|-
+
{{!}}-
{{#if {{{launcher-price|}}}
+
{{!}}Launcher Price: {{!!}}${{formatnum:'''{{{launcher-price}}}'''}}
|{{!}}Launcher Price: {{!!}} ${{formatnum:'''{{{launcher-price}}}'''}}
+
{{!}}-
|{{!}}Price: {{!!}} ${{formatnum:'''{{{price}}}'''}}
+
{{!}}Ammo Price: {{!!}}{{#if:{{{ammo-price|}}}|${{formatnum:'''{{{ammo-price}}}'''}}|''unknown''}}|<br />
|-
+
{{!}}-
|Ammo Price: || ${{formatnum:'''{{{ammo-price|{{{4|{{{ammo-price|ammo-price}}}}}}}}}'''}}
+
{{!}}Price: {{!!}}{{#if: {{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}}}
 
|-
 
|-
 
|}
 
|}
Line 59: Line 60:
 
|valign="top" style="width:100%;"|
 
|valign="top" style="width:100%;"|
 
==Description==
 
==Description==
{{{description|{{{4|{{{description|description}}}}}}}}}
+
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
==Places Sold==
+
{{#if:{{{places-sold|}}}|==Places Sold==
{{{places-sold|{{{4|{{{places-sold|places-sold}}}}}}}}}
+
{{{places-sold}}}}}
==See Also==
+
{{#if:{{{see-also|}}}|==See Also==
 
{{{see-also|{{{4|{{{see-also|see-also}}}}}}}}}
 
{{{see-also|{{{4|{{{see-also|see-also}}}}}}}}}
 +
}}
 
|}
 
|}
 
{{EquipmentNav}}
 
{{EquipmentNav}}
Line 81: Line 83:
 
| refire-rate =  
 
| refire-rate =  
 
| energy-usage =  
 
| energy-usage =  
 +
| turn-rate =
 +
| explosion-range =
 
| price =  
 
| price =  
 +
| launcher-price =
 +
| ammo-price =
 
| see-also =  
 
| see-also =  
 
| places-sold =
 
| places-sold =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
*Turn Rate, Explosion Range, Launcher Price, and Ammo Price are optional fields for use with missiles.
 +
*If Launcher price is defined, the standard price field will not be shown.
 
==Result==
 
==Result==
 
{{Weapon
 
{{Weapon

Revision as of 01:01, 6 November 2009


Usage

{{Weapon
| full-name = 
| image = 
| description = 
| weapon-class = 
| hull-damage = 
| shield-damage = 
| range = 
| projectile-speed = 
| refire-rate = 
| energy-usage = 
| turn-rate = 
| explosion-range = 
| price = 
| launcher-price =
| ammo-price =
| see-also = 
| places-sold =
}}
  • Turn Rate, Explosion Range, Launcher Price, and Ammo Price are optional fields for use with missiles.
  • If Launcher price is defined, the standard price field will not be shown.

Result

Full Name

CP-d "Debilitator" Civilian Advanced Mk I Pulse Cannon

Li plasma blaster.png

Statistics

Weapon Class: 8
Hull Damage: 25
Shield Damage: 506
Range: 600 m
Projectile Speed: 750 m/s
Refire Rate: 4.00
Energy Usage: 90.00
Price: $62,450

Description

This is a pulse-based weapon that does enormous amounts of shield damage, but virtually no hull damage. This weapon is most effective against positron shields, and weakest against graviton shields.

Places Sold

See Also