Difference between revisions of "Template:Weapon"

From Discovery Wiki
Jump to navigationJump to search
(Undo revision 107085 by Cheetah (talk))
 
(50 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<noinclude>{{Stub|
 
<noinclude>{{Stub|
*Raise the Stats to the top of the Wep Div
 
**This must keep it's structure/flow for those with "No-CSS styles".
 
**Change to see what I mean
 
**Has to go to the top of the applied template section.
 
*Float Right the Image box
 
**preferably this would be either above Stats box or underneath, on the right side.
 
*WordWrap image + Stats box
 
 
*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
*<s>border and 'normalise' the image box</s>
+
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)}}<!--</noinclude>
*<s>Remove blank line in between Description and Places</s>
+
{| style="width:100%; padding:10px;" class="weaponmainbox"
*<s>Remove blank bordered Div</s>
+
|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]]|}}
*<s>Inform Nathrael of the better way (fixed/new) of applying colors/background colors, while allowing layout flexibility </s>
+
|valign="top" rowspan="2" align="right"|
*<s>Automate the comma's e.g. 20,000,000</s>
+
{| class="weaponinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px;"
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)
 
}}</noinclude>
 
{{#if: {{{image|}}}|[[Image:{{{image}}}{{!}}thumb{{!}}|right|200px]]}}
 
{| style="float:right;"
 
!colspan="2"|'''Statistics'''
 
 
|-
 
|-
|Weapon Class: ||'''{{{weapon-class|{{{4|{{{weapon-class|weapon-class}}}}}}}}}'''
+
|colspan="2"|{{#ifexist: File:{{{image|Noimage_weapon.png}}}
 +
| [[image:{{{image}}}|right|200px]]
 +
| [[image:Noimage_weapon.png|right|200px]]
 +
}}
 
|-
 
|-
|Hull Damage: ||{{formatnum:'''{{{hull-damage|{{{4|{{{hull-damage|hull-damage}}}}}}}}}'''}}
+
|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}}}]]
 +
}}}}
 
|-
 
|-
|Shield Damage: ||{{formatnum:'''{{{shield-damage|{{{4|{{{shield-damage|shield-damage}}}}}}}}}'''}}
+
|Weapon Class: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}}{{#if: {{{energy-type|}}}|<br />
 +
{{!}}-
 +
{{!}}Energy Type: {{!!}}[[{{{energy-type}}}]]}}
 
|-
 
|-
|Range: ||{{formatnum:'''{{{range|{{{4|{{{range|range}}}}}}}}}''' m}}
+
|Hull Damage: ||{{#if:{{{hull-damage|}}}|{{formatnum:'''{{{hull-damage}}}'''}}|''unknown''}}
 
|-
 
|-
|Projectile Speed: ||{{formatnum:'''{{{projectile-speed|{{{4|{{{projectile-speed|projectile-speed}}}}}}}}}''' m/s}}
+
|Shield Damage: ||{{#if:{{{shield-damage|}}}|{{formatnum:'''{{{shield-damage|}}}'''}}|''unknown''}}
 
|-
 
|-
|Refire Rate: ||{{formatnum:'''{{{refire-rate|{{{4|{{{refire-rate|refire-rate}}}}}}}}}'''}}
+
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}''' m}}|''unknown''}}
 
|-
 
|-
|Energy Usage: ||{{formatnum:'''{{{energy-usage|{{{4|{{{energy-usage|energy-usage}}}}}}}}}'''}}
+
|Projectile Speed: ||{{#if:{{{projectile-speed|}}}|{{formatnum:'''{{{projectile-speed}}}''' m/s}}|''unknown''}}
 
|-
 
|-
|Price: || ${{formatnum:'''{{{price|{{{4|{{{price|price}}}}}}}}}'''}}
+
|Refire Rate: ||{{#if:{{{refire-rate|}}}|{{formatnum:'''{{{refire-rate}}}'''}}|''unknown''}}
 +
|-
 +
|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%;"|{{#if:{{{description|}}}|{{{description}}}|''missing''}}
 +
{{#if:{{{places-sold|}}}|==Places Sold==
 +
{{{places-sold}}}}}
 +
{{#if:{{{see-also|}}}|==See Also==
 +
{{#ifeq:{{{faction|}}}|The Phantoms|{{Heavy note|Phantom}}<br>}}{{{see-also|{{{4|{{{see-also|see-also}}}}}}}}}
 +
}}
 +
|}
 +
{{Equipment navigation}}
 +
{{#if:{{{examplepage|}}}||[[Category:Weapons]]
 +
{{#if:{{{faction|}}}|[[Category:{{{faction}}}]]|}} }}
 +
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
  
'''Full Name'''
 
:{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}
 
'''Description'''
 
:{{{description|{{{4|{{{description|description}}}}}}}}}
 
'''Places Sold'''
 
:{{{places-sold|{{{4|{{{places-sold|places-sold}}}}}}}}}
 
'''See also:'''
 
:{{{see-also|{{{5|{{{see-also|see-also}}}}}}}}}
 
[[Category:Weapons]]
 
<br />
 
{{EquipmentNav}}
 
<noinclude>{{clear}}-->
 
 
==Usage==
 
==Usage==
 +
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Weapon
 
{{Weapon
 
| full-name =  
 
| full-name =  
 +
| image =
 +
| fire-image =
 +
| faction =
 
| description =  
 
| description =  
| weapon-class =  
+
| weapon-class =
 +
| energy-type =  
 
| hull-damage =  
 
| hull-damage =  
 
| shield-damage =  
 
| shield-damage =  
Line 63: 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 = Odin1.jpg
+
| 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 81: Line 117:
 
| energy-usage = 90.00
 
| energy-usage = 90.00
 
| price = 62450
 
| price = 62450
| see-also =  
+
| see-also =
 
* [[Class 8 Guns]]
 
* [[Class 8 Guns]]
 
| places-sold =
 
| places-sold =
Line 144: 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

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

Li plasma blaster.png

Statistics


Owner: Civilian
Weapon Class: 8
Energy Type: Pulse
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
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