Difference between revisions of "Template:Weapon"
From Discovery Wiki
Jump to navigationJump to searchm (yet more formatting) |
|||
(33 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Stub| | <noinclude>{{Stub| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*Imagelink the image. (it's currently incorrect) | *Imagelink the image. (it's currently incorrect) | ||
*Write up verbose instructions | *Write up verbose instructions | ||
*Check if it's easy to use | *Check if it's easy to use | ||
− | + | Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)}}<!--</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT) | ||
− | }}<!--</noinclude> | ||
{| style="width:100%; padding:10px;" class="weaponmainbox" | {| style="width:100%; padding:10px;" class="weaponmainbox" | ||
− | |align="left"| | + | |align="left"|<h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}|''missing''}}</h3>{{#if:{{{fire-image|}}}|<br />[[Image:{{{fire-image}}}|Weapon being fired]]|}}{{#if:{{{fire_image|}}}|<br />[[Image:{{{fire_image}}}|Weapon being fired]]|}} |
− | |||
− | <h3>{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}</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;" | ||
|- | |- | ||
− | |colspan="2"|{{# | + | |colspan="2"|{{#ifexist: File:{{{image|Noimage_weapon.png}}} |
− | | [[image:{{{image}}}|right| | + | | [[image:{{{image}}}|right|200px]] |
− | | [[image:Noimage_weapon.png|right| | + | | [[image:Noimage_weapon.png|right|200px]] |
}} | }} | ||
|- | |- | ||
− | |colspan="2" align="center"|<h3>Statistics</h3> | + | |colspan="2" align="center"|<h3>Statistics</h3>{{#if: {{{faction|}}}|<br /> |
+ | {{!}}- | ||
+ | {{!}}Owner: {{!!}}{{#switch:{{{faction}}} | ||
+ | | Liberty = {{House Link | Liberty}} | ||
+ | | Bretonia = {{House Link | Bretonia}} | ||
+ | | Kusari = {{House Link | Kusari}} | ||
+ | | Rheinland = {{House Link | Rheinland}} | ||
+ | | Gallia = {{House Link | Gallia}} | ||
+ | | Outcasts = {{House Link | Outcasts}} | ||
+ | | Corsairs = {{House Link | Corsairs}} | ||
+ | | Nomads = {{House Link | Nomads}} | ||
+ | | Landwirtrechtbewegung = [[Landwirtrechtbewegung|LWB]] | ||
+ | | #default = [[{{{faction}}}]] | ||
+ | }}}} | ||
|- | |- | ||
− | |Weapon Class: ||'''{{{weapon-class|{{ | + | |Weapon Class: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}}{{#if: {{{energy-type|}}}|<br /> |
+ | {{!}}- | ||
+ | {{!}}Energy Type: {{!!}}[[{{{energy-type}}}]]}} | ||
|- | |- | ||
− | |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: ||{{formatnum:'''{{{energy-usage|{{{ | + | |Energy Usage: ||{{#if:{{{energy-usage|}}}|{{formatnum:'''{{{energy-usage}}}'''}}|''unknown''}}{{#if: {{{turn-rate|}}}|<br /> |
− | + | {{!}}- | |
− | + | {{!}}Turn Rate: {{!!}}{{formatnum:'''{{{turn-rate}}}''' rad/s}}}}{{#if: {{{explosion-radius|}}}|<br /> | |
+ | {{!}}- | ||
+ | {{!}}Explosion Radius: {{!!}}{{formatnum:'''{{{explosion-radius}}}''' m}}}}{{#if: {{{launcher-price|}}}|<br /> | ||
+ | {{!}}- | ||
+ | {{!}}Launcher Price: {{!!}}${{formatnum:'''{{{launcher-price}}}'''}} | ||
+ | {{!}}- | ||
+ | {{!}}Ammo Price: {{!!}}{{#if:{{{ammo-price|}}}|${{formatnum:'''{{{ammo-price}}}'''}}|''unknown''}}|<br /> | ||
+ | {{!}}- | ||
+ | {{!}}Price: {{!!}}{{#if: {{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}}} | ||
|- | |- | ||
|} | |} | ||
|- | |- | ||
− | |valign="top" style="width:100%;"| | + | |valign="top" style="width:100%;"|{{#if:{{{description|}}}|{{{description}}}|''missing''}} |
− | + | {{#if:{{{places-sold|}}}|==Places Sold== | |
− | {{{description| | + | {{{places-sold}}}}} |
− | ==Places Sold== | + | {{#if:{{{see-also|}}}|==See Also== |
− | {{{places-sold | + | {{#ifeq:{{{faction|}}}|The Phantoms|{{Heavy note|Phantom}}<br>}}{{{see-also|{{{4|{{{see-also|see-also}}}}}}}}} |
− | ==See Also== | + | }} |
− | {{{see-also|{{{4|{{{see-also|see-also}}}}}}}}} | ||
|} | |} | ||
− | {{ | + | {{Equipment navigation}} |
− | [[Category:Weapons]] | + | {{#if:{{{examplepage|}}}||[[Category:Weapons]] |
− | <noinclude>-->{{clear}} | + | {{#if:{{{faction|}}}|[[Category:{{{faction}}}]]|}} }} |
+ | __NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}} | ||
+ | |||
==Usage== | ==Usage== | ||
+ | |||
<pre><nowiki> | <pre><nowiki> | ||
{{Weapon | {{Weapon | ||
| full-name = | | full-name = | ||
| image = | | image = | ||
+ | | fire-image = | ||
+ | | faction = | ||
| description = | | description = | ||
− | | weapon-class = | + | | weapon-class = |
+ | | energy-type = | ||
| hull-damage = | | hull-damage = | ||
| shield-damage = | | shield-damage = | ||
Line 73: | Line 86: | ||
| refire-rate = | | refire-rate = | ||
| energy-usage = | | energy-usage = | ||
+ | | turn-rate = | ||
+ | | explosion-radius = | ||
| 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. | ||
+ | * Faction is an optional field, please use the same name as that faction's category | ||
+ | * energy-type is the weapon type (if there is one), such as Tachyon, Laser, etc. | ||
+ | * fire-image is optional, and is a picture of the weapon in use, which will be placed below the name | ||
+ | |||
==Result== | ==Result== | ||
+ | |||
{{Weapon | {{Weapon | ||
+ | | examplepage = true | ||
| full-name = CP-d "Debilitator" Civilian Advanced Mk I Pulse Cannon | | full-name = CP-d "Debilitator" Civilian Advanced Mk I Pulse Cannon | ||
− | | image = | + | | image = li_plasma_blaster.png |
+ | | faction = Civilian | ||
| 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. | | 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. | ||
| weapon-class = 8 | | weapon-class = 8 | ||
+ | | energy-type = Pulse | ||
| hull-damage = 25 | | hull-damage = 25 | ||
| shield-damage = 506 | | shield-damage = 506 | ||
Line 90: | Line 117: | ||
| energy-usage = 90.00 | | energy-usage = 90.00 | ||
| price = 62450 | | price = 62450 | ||
+ | | see-also = | ||
+ | * [[Class 8 Guns]] | ||
| places-sold = | | places-sold = | ||
{{{!}} class="wikitable collapsible collapsed" | {{{!}} class="wikitable collapsible collapsed" | ||
Line 151: | Line 180: | ||
{{!}}[[Freeport 11]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Omicron Delta]]{{!}}{{!}}[[Nomad Worlds]] | {{!}}[[Freeport 11]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Omicron Delta]]{{!}}{{!}}[[Nomad Worlds]] | ||
{{!}}} | {{!}}} | ||
− | {{!}}} | + | {{!}}} |
− | |||
}} | }} | ||
− | [[Category:Templates]]</noinclude> | + | [[Category:Templates]] |
+ | </noinclude> |
Latest revision as of 11:52, 21 January 2016
Usage
{{Weapon | full-name = | image = | fire-image = | faction = | description = | weapon-class = | energy-type = | hull-damage = | shield-damage = | range = | projectile-speed = | refire-rate = | energy-usage = | turn-rate = | explosion-radius = | 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.
- Faction is an optional field, please use the same name as that faction's category
- energy-type is the weapon type (if there is one), such as Tachyon, Laser, etc.
- fire-image is optional, and is a picture of the weapon in use, which will be placed below the name
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 |