Difference between revisions of "Template:Class"

From Holdfast: Nations At War
Jump to navigation Jump to search
m
m (Changed weapons to a vertical layout)
Line 88: Line 88:
 
{{#invoke: ApplyPattern | applyTemplate | {{{abilities}}} |TraitAbilityDisplay|enum}} }}
 
{{#invoke: ApplyPattern | applyTemplate | {{{abilities}}} |TraitAbilityDisplay|enum}} }}
 
{{{h|=}}}=[[Weapons|Weapons]]={{{h|=}}}
 
{{{h|=}}}=[[Weapons|Weapons]]={{{h|=}}}
<!-- Introduce a for-each here, or a Cargo query? -->
+
{|class=wikitable style="width:900px;vertical-align:top"
<!-- Weapon statistics, model, reach, etc. -->
+
{{#ifeq: {{{weapon_british|}}}|||
 +
! '''British''' }}
 +
{{#ifeq: {{{weapon_french|}}}|||
 +
! '''French''' }}
 +
{{#ifeq: {{{weapon_prussian|}}}|||
 +
! '''Prussian''' }}
 +
|-
 
{{#ifeq: {{{weapon_british|}}}|||
 
{{#ifeq: {{{weapon_british|}}}|||
'''British:'''{{#invoke: ApplyPattern | applyTemplate | {{{weapon_british}}} |WeaponDisplay|enum}} }}
+
{{!}} style="vertical-align:top" {{!}}  {{#invoke: ApplyPattern | applyTemplate | {{{weapon_british}}} |WeaponDisplay|enum}} }}
 
{{#ifeq: {{{weapon_french|}}}|||
 
{{#ifeq: {{{weapon_french|}}}|||
 
+
{{!}} style="vertical-align:top" {{!}} {{#invoke: ApplyPattern | applyTemplate | {{{weapon_french}}} |WeaponDisplay|enum}} }}
'''French:'''{{#invoke: ApplyPattern | applyTemplate | {{{weapon_french}}} |WeaponDisplay|enum}} }}
 
 
{{#ifeq: {{{weapon_prussian|}}}|||
 
{{#ifeq: {{{weapon_prussian|}}}|||
 
+
{{!}} style="vertical-align:top" {{!}} {{#invoke: ApplyPattern | applyTemplate | {{{weapon_prussian}}} |WeaponDisplay|enum}} }}
'''Prussian:'''{{#invoke: ApplyPattern | applyTemplate | {{{weapon_prussian}}} |WeaponDisplay|enum}} }}
+
|}
 +
<!-- Introduce a for-each here, or a Cargo query? -->
 +
<!-- Weapon statistics, model, reach, etc. -->
 
{{{h|=}}}=[[Equipment|Other Equipment]]={{{h|=}}}
 
{{{h|=}}}=[[Equipment|Other Equipment]]={{{h|=}}}
 
{{#ifeq: {{{equipment|}}}||No added equipment|
 
{{#ifeq: {{{equipment|}}}||No added equipment|

Revision as of 18:24, 19 August 2019

Usage:

{{Class
|enum=LightInfantry
|name=Light Infantry
|description=Quick footed skirmisher.  Moves about at a greater pace.
|traits=LightFooted,Skirmisher
|abilities=
|factions=British,French,Prussian
|healthbase=100
|agilitybase=65
|swimmingbase=35
|healthbonus=0
|agilitybonus=0
|swimmingbonus=0
|equipment=Lantern,Spyglass
|weapon_british=Musket_NewLandPatternBrownBess
|weapon_prussian=Musket_CharlevilleIXXII
|weapon_french=Musket_CharlevilleDragoonPattern,Sabre_Briquet
|h== }} <!-- Used for heading indentation -->
{Class
|enum=LightInfantry
|name=Light Infantry
|description=Quick footed skirmisher.  Moves about at a greater pace.
|traits=LightFooted,Skirmisher
|abilities=
|factions=British,French,Prussian
|healthbase=100
|agilitybase=65
|swimmingbase=35
|healthbonus=0
|agilitybonus=0
|swimmingbonus=0
|equipment=Lantern,Spyglass
|weapon_british=Musket_NewLandPatternBrownBess
|weapon_prussian=Musket_CharlevilleIXXII
|weapon_french=Musket_CharlevilleDragoonPattern,Sabre_Briquet
|h=== }}

Example

Light Infantry

Class Stats

Class Portrait British LightInfantry.png Class Portrait French LightInfantry.png Class Portrait Prussian LightInfantry.png

Factions: British,French,Prussian
Health:
 
100
100 (+0)
Agility:
 
65
65 (+0)
Swimming:
 
35
35 (+0)

Class Full British LightInfantry.png Class Full French LightInfantry.png Class Full Prussian LightInfantry.png

Quick footed skirmisher. Moves about at a greater pace.

Traits and Abilities

Traits:

Trait LightFooted.png Light Footed Fast and nimble. Your running speed is increased by 5% but you deal less damage with melee weapons.
Trait Skirmisher.png Skirmisher Drilled with knowledge on skirmishing tactics. Your accuracy when using firearms while crouching is increased by 10% but you receive more damage when stricken by melee weapons.

Weapons

British French Prussian
New Land Pattern Brown Bess Musket
Weapon Musket NewLandPatternBrownBess.png
Muzzle loaded firearm equipped with a pointy end. Manufactured en masse, they're your best bet at making quick work of your enemy.
Base Weapon Stats
Damage:

100

Range:

70

Accuracy:

50

Bayonet
Damage:

80

Reach:

65

Speed:

50

Reload Speed: 12s
Starting Ammo: 25s
Charleville Musket Dragoon Pattern
Weapon Musket CharlevilleDragoonPattern.png
Muzzle loaded firearm equipped with a pointy end. Manufactured en masse, they're your best bet at making quick work of your enemy.
Base Weapon Stats
Damage:

100

Range:

70

Accuracy:

50

Bayonet
Damage:

60

Reach:

55

Speed:

50

Reload Speed: 12s
Starting Ammo: 25s
Sabre Briquet
Weapon Sabre Briquet.png
Short-bladed sword. Equip this when things get up close and personal.
Base Weapon Stats
Damage:

50

Reach:

40

Speed:

70

Charleville Musket IX/XII
Weapon Musket CharlevilleIXXII.png
Muzzle loaded firearm equipped with a pointy end. Manufactured en masse, they're your best bet at making quick work of your enemy.
Base Weapon Stats
Damage:

100

Range:

70

Accuracy:

50

Bayonet
Damage:

60

Reach:

55

Speed:

50

Reload Speed: 12s
Starting Ammo: 25s

Other Equipment

  • Lantern
  • Spyglass