Difference between revisions of "Template:Weapon/WeaponStats"

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