This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Weapon"
From Discovery Wiki
Jump to navigationJump to searchm (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: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}} |
|- | |- | ||
− | |Hull Damage: ||{{ | + | |Hull Damage: ||{{#if:{{{hull-damage|}}}|{{formatnum:'''{{{hull-damage}}}'''}}|''unknown''}} |
|- | |- | ||
− | |Shield Damage: ||{{ | + | |Shield Damage: ||{{#if:{{{shield-damage|}}}|{{formatnum:'''{{{shield-damage|}}}'''}}|''unknown''}} |
|- | |- | ||
− | |Range: ||{{ | + | |Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}''' m}}|''unknown''}} |
|- | |- | ||
− | |Projectile Speed: ||{{ | + | |Projectile Speed: ||{{#if:{{{projectile-speed|}}}|{{formatnum:'''{{{projectile-speed}}}''' m/s}}|''unknown''}} |
|- | |- | ||
− | |Refire Rate: ||{{ | + | |Refire Rate: ||{{#if:{{{refire-rate|}}}|{{formatnum:'''{{{refire-rate}}}'''}}|''unknown''}} |
|- | |- | ||
− | |Energy Usage: ||{{ | + | |Energy Usage: ||{{#if:{{{energy-usage|}}}|{{formatnum:'''{{{energy-usage}}}'''}}|''unknown''}}{{#if: {{{turn-rate|}}}|<br /> |
− | + | {{!}}- | |
− | + | {{!}}Turn Rate: {{!!}}{{formatnum:'''{{{turn-rate}}}''' rad/s}}}}{{#if: {{{explosion-range|}}}|<br /> | |
− | + | {{!}}- | |
− | + | {{!}}Explosion Range: {{!!}}{{formatnum:'''{{{explosion-range}}}''' m}}}}{{#if: {{{launcher-price|}}}|<br /> | |
− | + | {{!}}- | |
− | {{#if {{{launcher-price|}}} | + | {{!}}Launcher Price: {{!!}}${{formatnum:'''{{{launcher-price}}}'''}} |
− | + | {{!}}- | |
− | + | {{!}}Ammo Price: {{!!}}{{#if:{{{ammo-price|}}}|${{formatnum:'''{{{ammo-price}}}'''}}|''unknown''}}|<br /> | |
− | + | {{!}}- | |
− | + | {{!}}Price: {{!!}}{{#if: {{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}}} | |
|- | |- | ||
|} | |} | ||
Line 59: | Line 60: | ||
|valign="top" style="width:100%;"| | |valign="top" style="width:100%;"| | ||
==Description== | ==Description== | ||
− | {{{description| | + | {{#if:{{{description|}}}|{{{description}}}|''missing''}} |
− | ==Places Sold== | + | {{#if:{{{places-sold|}}}|==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
Weaponry: | Light Fighter Guns, Heavy Fighter Guns, Elite Fighter Guns, Light Turrets, Bomber Guns, CODENAMES, Missiles & Torpedoes |
Weaponry: | Transport Turrets, Gunboat Turrets, Cruiser Turrets, Battlecruiser Turrets, Battleship Turrets |
Class: | Guns ~ Class 1, Class 2, Class 3, Class 4, Class 6, Class 8, Class 9
Turrets ~ Class 1, Class 2, Class 3, Class 4, Class 5, Class 6, Class 7, Class 8, Class 9, Class 10 |
Equipment: | Armor, Cargo Pods, Cloaking Devices, Countermeasures, Cruise Disruptors, Engines, IDs, Mines, Scanners, Shields, Thrusters |