Difference between revisions of "Template:Weapon/WeaponStats"

From Holdfast: Nations At War
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{Weapon/WeaponStats|enum=Musket_NewLandPatternBrownBess}}
+
{{Weapon/WeaponStats|Musket_NewLandPatternBrownBess|150}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#switch: {{ Weapon/WeaponType|{{{enum}}} }} |
+
{|
Melee = '''Damage''': {{ Progress Bar | mode = value | min = 0 | max = 125 | current = {{ Weapon/WeaponDamage|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
{{#switch: {{ Weapon/WeaponType|{{{1}}} }} |
'''Reach''': {{ Progress Bar | mode = value | min = 0 | max = 100 | current = {{ Weapon/WeaponRangeReach|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
Melee = {{!}}-
'''Speed''': {{ Progress Bar | mode = value | min = 0 | max = 100 | current = {{ Weapon/WeaponAccuracySpeed|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
{{!}}'''Damage''': {{!}}{{!}} {{StatBar|max=125|value={{ Weapon/WeaponDamage|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=5}} '''{{ Weapon/WeaponDamage|{{{1}}} }}'''
|Firearm = '''Damage''': {{ Progress Bar | mode = value | min = 0 | max = 125 | current = {{ Weapon/WeaponDamage|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
{{!}}-
'''Range''': {{ Progress Bar | mode = value | min = 0 | max = 125 | current = {{ Weapon/WeaponRangeReach|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
{{!}}'''Reach''': {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponRangeReach|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponRangeReach|{{{1}}} }}'''
'''Accuracy''': {{ Progress Bar | mode = value | min = 0 | max = 100 | current = {{ Weapon/WeaponAccuracySpeed|{{{enum}}} }} | box-width={{{width|30em}}} }}
+
{{!}}-
 +
{{!}}'''Speed''': {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponAccuracySpeed|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponAccuracySpeed|{{{1}}} }}'''
 +
|Firearm = {{!}}-
 +
{{!}}'''Damage''': {{!}}{{!}} {{StatBar|max=125|value={{ Weapon/WeaponDamage|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=5}} '''{{ Weapon/WeaponDamage|{{{1}}} }}'''
 +
{{!}}-
 +
{{!}}'''Range''':  {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponRangeReach|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponRangeReach|{{{1}}} }}'''
 +
{{!}}-
 +
{{!}}'''Accuracy''': {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponAccuracySpeed|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponAccuracySpeed|{{{1}}} }}'''
 +
{{#ifeq: {{ Weapon/WeaponHasBayonet|{{{1}}} }} | TRUE |
 +
{{!}}-
 +
{{!}} colspan="2" {{!}} '''Bayonet'''
 +
 
 +
{{!}}-
 +
{{!}} '''Damage''': {{!}}{{!}} {{StatBar|max=125|value={{ Weapon/WeaponBayonetDamage|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=5}} '''{{ Weapon/WeaponBayonetDamage|{{{1}}} }}'''
 +
{{!}}-
 +
{{!}} '''Reach''': {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponBayonetReach|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponBayonetReach|{{{1}}} }}'''
 +
{{!}}-
 +
{{!}} '''Speed''': {{!}}{{!}} {{StatBar|max=100|value={{ Weapon/WeaponBayonetSpeed|{{{1}}} }}|bonus=0|width={{{2|175}}}|sections=4}} '''{{ Weapon/WeaponBayonetSpeed|{{{1}}} }}'''
 +
| }}
 
|
 
|
 
default = "Weapon Not Recognised"}}
 
default = "Weapon Not Recognised"}}
 +
|}
 
</includeonly>
 
</includeonly>

Latest revision as of 20:36, 6 March 2020


Damage:

100

Range:

70

Accuracy:

50

Bayonet
Damage:

80

Reach:

65

Speed:

50