Difference between revisions of "Template:Weapon"

From Discovery Wiki
Jump to navigationJump to search
(testing a template)
 
(Undo revision 107085 by Cheetah (talk))
 
(110 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[{{{Image|{{{4|{{{Image|Image}}}}}}}}} Weapon Image]]
+
<noinclude>{{Stub|
<div style="min-width: 250px; width:100%; margin-top:.5em; padding: 1em; align:right;">
+
*Imagelink the image. (it's currently incorrect)
<p><div style="font-size:1.5em; ">'''Full Name'''</div>
+
*Write up verbose instructions
:{{{Full-Name|{{{4|{{{Full-Name|Full-Name}}}}}}}}}</p>
+
*Check if it's easy to use
<p><div style=" font-size:1.5em; ">'''Description'''</div>
+
Signed by [[User:Chovynz| ~Chovynz~ ]] <sup>([[User_talk:Chovynz|Blabs]] • [[Special:Contributions/Chovynz|Ego]]) (Wiki Admin) </sup> 14:15, 16 October 2009 (MDT)}}<!--</noinclude>
:{{{Description|{{{4|{{{Description|Description}}}}}}}}}</p>
+
{| style="width:100%; padding:10px;" class="weaponmainbox"
<div class="normal-background" style="border: 2px solid; min-width:250px; padding:1em; width:27%; position:absolute; right:10px;">
+
|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]]|}}
<div style="font-size:1.5em; ">'''Statistics'''</div>
+
|valign="top" rowspan="2" align="right"|
{|
+
{| class="weaponinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px;"
|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]]
 +
}}
 +
|-
 +
|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: ||{{#if:{{{weapon-class|}}}|'''{{{weapon-class}}}'''|''unknown''}}{{#if: {{{energy-type|}}}|<br />
 +
{{!}}-
 +
{{!}}Energy Type: {{!!}}[[{{{energy-type}}}]]}}
 +
|-
 +
|Hull Damage: ||{{#if:{{{hull-damage|}}}|{{formatnum:'''{{{hull-damage}}}'''}}|''unknown''}}
 
|-
 
|-
|Shield Damage: ||'''{{{Shield-Damage|{{{4|{{{Shield-Damage|Shield-Damage}}}}}}}}}'''
+
|Shield Damage: ||{{#if:{{{shield-damage|}}}|{{formatnum:'''{{{shield-damage|}}}'''}}|''unknown''}}
 
|-
 
|-
|Range: ||'''{{{Range|{{{4|{{{Range|Range}}}}}}}}}'''
+
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}''' m}}|''unknown''}}
 
|-
 
|-
|Projectile Speed: ||'''{{{Projectile-Speed|{{{4|{{{Projectile-Speed|Projectile-Speed}}}}}}}}}'''
+
|Projectile Speed: ||{{#if:{{{projectile-speed|}}}|{{formatnum:'''{{{projectile-speed}}}''' m/s}}|''unknown''}}
 
|-
 
|-
|Refire Rate: ||'''{{{Refire-Rate|{{{4|{{{Refire-Rate|Refire-Rate}}}}}}}}}'''
+
|Refire Rate: ||{{#if:{{{refire-rate|}}}|{{formatnum:'''{{{refire-rate}}}'''}}|''unknown''}}
 
|-
 
|-
|Energy Usage: ||'''{{{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}}}''' 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''}}}}
 
|-
 
|-
|Price: ||'''{{{Price|{{{4|{{{Price|Price}}}}}}}}}'''
+
|}
 
|-
 
|-
 +
|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}}}}}}}}}
 +
}}
 
|}
 
|}
</div>
+
{{Equipment navigation}}
 +
{{#if:{{{examplepage|}}}||[[Category:Weapons]]
 +
{{#if:{{{faction|}}}|[[Category:{{{faction}}}]]|}} }}
 +
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
  
 +
==Usage==
  
<p><div style="font-size:1.5em; ">'''Places Sold'''</div>
+
<pre><nowiki>
{{{Places-Sold|{{{4|{{{Places-Sold|Places-Sold}}}}}}}}}</p>
+
{{Weapon
<p><div style="font-size:1.5em; ">'''See also:'''</div>
+
| full-name =
{{{See-also|{{{5|{{{See-also|See-also}}}}}}}}}</p>
+
| image =
<div style="margin-top:5px; border-style:solid; border-width:2px; padding: 1em;  align:right;">
+
| fire-image =
 
+
| faction =
</div>
+
| 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 =
 +
}}</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
  
{{EquipmentNav}}
+
==Result==
<noinclude>{{clear}}
 
  
==Usage==
+
{{Weapon
<pre><nowiki>
+
| examplepage = true
{{Weapon main
+
| full-name = CP-d "Debilitator" Civilian Advanced Mk I Pulse Cannon
| Full-Name =
+
| image = li_plasma_blaster.png
| Description =  
+
| faction = Civilian
| Weapon-Class =  
+
| 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.
| Hull-Damage =  
+
| weapon-class = 8
| Shield-Damage =  
+
| energy-type = Pulse
| Range =  
+
| hull-damage = 25
| Projectile-Speed =  
+
| shield-damage = 506
| Refire-Rate =  
+
| range = 600
| Energy-Usage =  
+
| projectile-speed = 750
| Price =  
+
| refire-rate = 4.00
| See-also =  
+
| energy-usage = 90.00
| Places-Sold =  
+
| 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>
}}</nowiki></pre>
 
[[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