Difference between revisions of "Template:Weapon"

From Discovery Wiki
Jump to navigationJump to search
(Undo revision 107085 by Cheetah (talk))
 
(101 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
 
*Float Right the Image box
 
*WordWrap image + Stats box
 
*border and 'normalise' the image box
 
 
*Imagelink the image. (it's currently incorrect)
 
*Imagelink the image. (it's currently incorrect)
 
*Write up verbose instructions
 
*Write up verbose instructions
*Remove blank line in between Description and Places
 
*Remove blank bordered Div
 
 
*Check if it's easy to use
 
*Check if it's easy to use
*Inform Nathrael of the better way (fixed/new) of applying colors/background colors, while allowing layout flexibility
+
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)}}<!--</noinclude>
*Automate the comma's e.g. 20,000,000
+
{| style="width:100%; padding:10px;" class="weaponmainbox"
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)
+
|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]]|}}
}}</noinclude>
+
|valign="top" rowspan="2" align="right"|
[[{{{Image|{{{4|{{{Image|Image}}}}}}}}} Weapon Image]]
+
{| class="weaponinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px;"
<div style="min-width: 250px; width:100%; margin-top:.5em; padding: 1em; align:right;">
 
<p><div style="font-size:1.5em; ">'''Full Name'''</div>
 
:{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}</p>
 
<p><div style=" font-size:1.5em; ">'''Description'''</div>
 
:{{{description|{{{4|{{{description|description}}}}}}}}}</p><div class="normal-background" style="border: 2px solid; min-width:250px; padding:1em; width:27%; position:absolute; right:10px;">
 
<div style="font-size:1.5em; ">'''Statistics'''</div>
 
{|
 
|Weapon Class: ||'''{{{weapon-class|{{{4|{{{weapon-class|weapon-class}}}}}}}}}'''
 
 
|-
 
|-
|Hull Damage: ||'''{{{hull-damage|{{{4|{{{hull-damage|hull-damage}}}}}}}}}'''
+
|colspan="2"|{{#ifexist: File:{{{image|Noimage_weapon.png}}}
 +
| [[image:{{{image}}}|right|200px]]
 +
| [[image:Noimage_weapon.png|right|200px]]
 +
}}
 
|-
 
|-
|Shield Damage: ||'''{{{shield-damage|{{{4|{{{shield-damage|shield-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}}}]]
 +
}}}}
 
|-
 
|-
|Range: ||'''{{{range|{{{4|{{{range|range}}}}}}}}}'''
+
|Weapon Class: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}}{{#if: {{{energy-type|}}}|<br />
 +
{{!}}-
 +
{{!}}Energy Type: {{!!}}[[{{{energy-type}}}]]}}
 
|-
 
|-
|Projectile Speed: ||'''{{{projectile-speed|{{{4|{{{projectile-speed|projectile-speed}}}}}}}}}'''
+
|Hull Damage: ||{{#if:{{{hull-damage|}}}|{{formatnum:'''{{{hull-damage}}}'''}}|''unknown''}}
 
|-
 
|-
|Refire Rate: ||'''{{{refire-rate|{{{4|{{{refire-rate|refire-rate}}}}}}}}}'''
+
|Shield Damage: ||{{#if:{{{shield-damage|}}}|{{formatnum:'''{{{shield-damage|}}}'''}}|''unknown''}}
 
|-
 
|-
|Energy Usage: ||'''{{{energy-usage|{{{4|{{{energy-usage|energy-usage}}}}}}}}}'''
+
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}''' m}}|''unknown''}}
 
|-
 
|-
|Price: ||{{#if: {{{price|}}}| ${{formatnum:'''{{{price|{{{4|{{{price|price}}}}}}}}}''' | ''unknown''
+
|Projectile Speed: ||{{#if:{{{projectile-speed|}}}|{{formatnum:'''{{{projectile-speed}}}''' m/s}}|''unknown''}}
}}
+
|-
 +
|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}}}}}}}}}
 
}}
 
}}
 
 
 
{{#if: {{{fullcost|}}}
 
| ${{formatnum:{{{fullcost}}}}}
 
 
 
|-
 
 
|}
 
|}
</div>
+
{{Equipment navigation}}
<p><div style="font-size:1.5em; ">'''Places Sold'''</div>
+
{{#if:{{{examplepage|}}}||[[Category:Weapons]]
{{{places-sold|{{{4|{{{places-sold|places-sold}}}}}}}}}</p>
+
{{#if:{{{faction|}}}|[[Category:{{{faction}}}]]|}} }}
<p><div style="font-size:1.5em; ">'''See also:'''</div>
+
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
{{{see-also|{{{5|{{{see-also|see-also}}}}}}}}}</p>
 
<div style="margin-top:5px; border-style:solid; border-width:2px; padding: 1em;  align:right;">
 
  
</div>
+
==Usage==
 
 
{{EquipmentNav}}
 
<noinclude>{{clear}}
 
  
==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 71: 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
| full-name = Mad Deadly Cow
+
| examplepage = true
| description = It's a made deadly cow with flying hooves and acid teats!
+
| full-name = CP-d "Debilitator" Civilian Advanced Mk I Pulse Cannon
| weapon-class = Bomber
+
| image = li_plasma_blaster.png
| hull-damage = 1337
+
| faction = Civilian
| shield-damage = 69900
+
| 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.
| range = 999999
+
| weapon-class = 8
| projectile-speed = 12345
+
| energy-type = Pulse
| refire-rate = 898989
+
| hull-damage = 25
| energy-usage = 55555
+
| shield-damage = 506
| price =
+
| range = 600
| see-also = Mad flying Bomber, Mad Cow disease, Pigs Don't Fly!
+
| projectile-speed = 750
| places-sold = Everywhere
+
| refire-rate = 4.00
 +
| energy-usage = 90.00
 +
| price = 62450
 +
| see-also =
 +
* [[Class 8 Guns]]
 +
| places-sold =
 +
{{{!}} class="wikitable collapsible collapsed"
 +
!Spoiler: Buying Locations
 +
{{!}}-
 +
{{!}}
 +
{{{!}} class="wikitable sortable"
 +
{{!}}-
 +
!Base!!Owner!!System!!Location
 +
{{!}}-
 +
{{!}}[[Waterloo Station]]{{!}}{{!}}[[Interspace Commerce]]{{!}}{{!}}[[New London]]{{!}}{{!}}[[Bretonia]]
 +
{{!}}-
 +
{{!}}[[Planet Leeds]]{{!}}{{!}}[[Bretonia Police]]{{!}}{{!}}[[Leeds]]{{!}}{{!}}[[Bretonia]]
 +
{{!}}-
 +
{{!}}[[Freeport 1]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Omega-3]]{{!}}{{!}}[[Border Worlds]]
 +
{{!}}-
 +
{{!}}[[Freeport 6]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Tau-29]]{{!}}{{!}}[[Border Worlds]]
 +
{{!}}-
 +
{{!}}[[Meerbusch Base]]{{!}}{{!}}[[Das Wilde{{!}}The Wild]]{{!}}{{!}}[[Omega-55]]{{!}}{{!}}[[Border Worlds]]
 +
{{!}}-
 +
{{!}}[[Recklinghausen Base]]{{!}}{{!}}[[Das Wilde{{!}}The Wild]]{{!}}{{!}}[[Omega-55]]{{!}}{{!}}[[Border Worlds]]
 +
{{!}}-
 +
{{!}}[[Freeport 10]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Tau-37]]{{!}}{{!}}[[Edge Worlds]]
 +
{{!}}-
 +
{{!}}[[Freeport 5]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Omega-41]]{{!}}{{!}}[[Edge Worlds]]
 +
{{!}}-
 +
{{!}}[[Freeport 9]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Omicron Theta]]{{!}}{{!}}[[Edge Worlds]]
 +
{{!}}-
 +
{{!}}[[Freeport 2]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Bering]]{{!}}{{!}}[[Independent Systems]]
 +
{{!}}-
 +
{{!}}[[Freeport 4]]{{!}}{{!}}[[Independent Miners Guild{{!}}IMG]]{{!}}{{!}}[[Magellan]]{{!}}{{!}}[[Independent Systems]]
 +
{{!}}-
 +
{{!}}[[Ames Research Station]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Kepler]]{{!}}{{!}}[[Independent Systems]]
 +
{{!}}-
 +
{{!}}[[Leiden Base]]{{!}}{{!}}[[Lane Hackers]]{{!}}{{!}}[[Galileo]]{{!}}{{!}}[[Independent Systems]]
 +
{{!}}-
 +
{{!}}[[Barrier Gate Station]]{{!}}{{!}}Freelancers{{!}}{{!}}[[Coronado]]{{!}}{{!}}[[Independent Systems]]
 +
{{!}}-
 +
{{!}}[[Roppongi Station]]{{!}}{{!}}[[Interspace Commerce]]{{!}}{{!}}[[New Tokyo]]{{!}}{{!}}[[Kusari]]
 +
{{!}}-
 +
{{!}}[[Osaka Storage Facility]]{{!}}{{!}}[[Samura Industries]]{{!}}{{!}}[[Honshu]]{{!}}{{!}}[[Kusari]]
 +
{{!}}-
 +
{{!}}[[Tekagi's Base]]{{!}}{{!}}[[Das Wilde{{!}}The Wild]]{{!}}{{!}}[[Tohoku]]{{!}}{{!}}[[Kusari]]
 +
{{!}}-
 +
{{!}}[[Furyoku Station]]{{!}}{{!}}[[Interspace Commerce]]{{!}}{{!}}[[Okinawa]]{{!}}{{!}}[[Border Worlds]]
 +
{{!}}-
 +
{{!}}[[Detroit Munitions]]{{!}}{{!}}[[Ageira Technologies]]{{!}}{{!}}[[New York]]{{!}}{{!}}[[Liberty]]
 +
{{!}}-
 +
{{!}}[[Newark Station]]{{!}}{{!}}[[Interspace Commerce]]{{!}}{{!}}[[New York]]{{!}}{{!}}[[Liberty]]
 +
{{!}}-
 +
{{!}}[[Pueblo Station]]{{!}}{{!}}[[Ageira Technologies]]{{!}}{{!}}[[Colorado]]{{!}}{{!}}[[Liberty]]
 +
{{!}}-
 +
{{!}}[[Freeport 14]]{{!}}{{!}}[[Zoners]]{{!}}{{!}}[[Yukon]]{{!}}{{!}}[[Liberty]]
 +
{{!}}-
 +
{{!}}[[Hamilton Station]]{{!}}{{!}}[[Ageira Technologies]]{{!}}{{!}}[[Ontario]]{{!}}{{!}}[[Liberty]]
 +
{{!}}-
 +
{{!}}[[Bonn Station]]{{!}}{{!}}[[Interspace Commerce]]{{!}}{{!}}[[New Berlin]]{{!}}{{!}}[[Rheinland]]
 +
{{!}}-
 +
{{!}}[[Planet Holstein]]{{!}}{{!}}[[Daumann Heavy Construction{{!}}Daumann]]{{!}}{{!}}[[Frankfurt]]{{!}}{{!}}[[Rheinland]]
 +
{{!}}-
 +
{{!}}[[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