Template:WeaponsTable/ranged: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
(ammo2) |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}</noinclude><onlyinclude> | <noinclude>{{doc}}</noinclude><onlyinclude> | ||
|- | |- {{#vardefine:rowspan|{{#expr: 1+{{#count:{{{ammo}}}|<br>}} {{#if:{{{ammo2|}}}|+1+{{#count:{{{ammo2}}}|<br>}}}} }}}} | ||
| style="text-align:center;" rowspan="{{#var:rowspan}}" | [[File:{{#replace:{{{name}}}|&#39;|'}}.png|50px]] <br> [[{{#replace:{{{name}}}|&#39;|'}}]] | |||
| style="text-align:center;" rowspan="{{# | | style="text-align:center;" rowspan="{{#var:rowspan}}" |{{{attackspeed}}} | ||
| style="text-align:center;" rowspan="{{# | | style="text-align:center;" rowspan="{{#var:rowspan}}" |{{#if:{{{supplyname|}}}|{{{supplyname}}}:<br>}}{{#if:{{{supplyitems|}}}|{{{supplyitems}}}}} | ||
| style="text-align:center;" rowspan="{{# | | style="text-align:center;" rowspan="{{#var:rowspan}}" |{{{ammocount}}}{{#if:{{{ammo2count|}}}| | {{{ammo2count}}}}} | ||
{{#if:{{{afflictions|}}}|<!-- The following is for weapons that don't use ammo and the afflictions are from the weapon itself --> | {{#if:{{{afflictions|}}}|<!-- The following is for weapons that don't use ammo and the afflictions are from the weapon itself --> | ||
{{!}} style="text-align:center;" rowspan="{{# | {{!}} style="text-align:center;" rowspan="{{#var:rowspan}}" {{!}} | ||
{{!}} style="text-align:center;" rowspan="{{# | {{!}} style="text-align:center;" rowspan="{{#var:rowspan}}" {{!}} | ||
{{!}} rowspan="{{# | {{!}} rowspan="{{#var:rowspan}}" {{!}} {{#if:{{{afflictions|}}}|{{AfflictionDisplayTest|afflictions={{{afflictions|}}}|explosionafflictions={{{explosionafflictions|}}}|explosionrange={{{explosionrange|}}}|projectiles={{{projectiles|}}}|weapondamagemodifier={{{weapondamagemodifier|}}}|nomargin=yes}}}} | ||
{{!}} rowspan="{{# | {{!}} rowspan="{{#var:rowspan}}" {{!}} {{#if:{{{penetration|}}}|{{{penetration}}}%}} | ||
{{!}} rowspan="{{# | {{!}} rowspan="{{#var:rowspan}}" {{!}} {{#if:{{{severlimbsprobability|}}}|{{{severlimbsprobability|}}}%}}|<!-- The following is for weapons with ammo --> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = Items,Ammunition | tables = Items,Ammunition |
Revision as of 16:44, 28 April 2023
This template is used by Template:WeaponsTable to display individual rows. It is not meant for direct usage.
Weapon | Fire rate |
Max ammo |
Ammunition | Mag size |
Afflictions | Armor Pen |
Sever Limb |
Supply |
---|---|---|---|---|---|---|---|---|
Advanced Syringe Gun |
1 | 8 | Template:AfflictionDisplayTest | |||||
Syringe Gun |
1 | 4 | Template:AfflictionDisplayTest | |||||
Stun Gun |
1 | 2
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Machine Pistol |
5.7 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Deadeye Carbine |
3.33 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
SMG |
5 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Boom Stick |
1.82 | 2
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Riot Shotgun |
1 | 6
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Autoshotgun |
2.22 | 24
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Rifle |
0.5 | 6 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Revolver |
2 | 6
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Scrap Cannon |
0.33 | Power Supply: Battery Cell (8 Shots) Fulgurium Battery Cell (16 Shots) |
8
Error: No field named "bluntforcetrauma" found for the database table "Items".
| |||||
HMG |
10 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Harpoon Gun |
0.571 | 6
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Harpoon Coil-Rifle |
0.571 | Power Supply: Battery Cell (12 Shots) Fulgurium Battery Cell (24 Shots) |
6
Error: No field named "bluntforcetrauma" found for the database table "Items".
| |||||
Handcannon |
1 | 6
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Assault Rifle |
4.167 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Alien Pistol |
1.88 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Grenade Launcher |
1 | 1
Error: No field named "bluntforcetrauma" found for the database table "Items".
| ||||||
Ancient Weapon |
1 | Power Supply: Alien Power Cell (20s) |
Template:AfflictionDisplayTest | 50% | 2.5% | |||
Arc Emitter |
0.2 | Power Supply: Battery Cell (4 Shots) Fulgurium Battery Cell (8 Shots) |
Template:AfflictionDisplayTest | |||||
Flamer |
1 | Fuel Supply: Welding Fuel Tank (16.7s) Incendium Fuel Tank (40s) |
Template:AfflictionDisplayTest | |||||
Prototype Steam Cannon |
1 | Fuel Supply: Welding Fuel Tank (16.7s) Incendium Fuel Tank (40s) |
Template:AfflictionDisplayTest | |||||
Rapid Fissile Accelerator |
0.8 | Fuel Rod Supply: Fuel Rod (4 Shots) Thorium Fuel Rod (8 Shots) Fulgurium Fuel Rod (12 Shots) Volatile Fulgurium Fuel Rod (20 Shots) |
Template:AfflictionDisplayTest | 50% | ||||
The above documentation is transcluded from Template:WeaponsTable/ranged/doc. (edit | history)
|-
| style="text-align:center;" rowspan="1" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]]
| style="text-align:center;" rowspan="1" |{{{attackspeed}}}
| style="text-align:center;" rowspan="1" |
| style="text-align:center;" rowspan="1" |{{{ammocount}}}
Error: No field named "bluntforcetrauma" found for the database table "Items".
|- | style="height:0;padding:0;" colspan="8" |