Difference between revisions of "Template:Class"
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|=}}} | ||
− | + | {|class=wikitable style="width:900px;vertical-align:top" | |
− | + | {{#ifeq: {{{weapon_british|}}}||| | |
+ | ! '''British''' }} | ||
+ | {{#ifeq: {{{weapon_french|}}}||| | ||
+ | ! '''French''' }} | ||
+ | {{#ifeq: {{{weapon_prussian|}}}||| | ||
+ | ! '''Prussian''' }} | ||
+ | |- | ||
{{#ifeq: {{{weapon_british|}}}||| | {{#ifeq: {{{weapon_british|}}}||| | ||
− | + | {{!}} 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}} }} | |
− | |||
{{#ifeq: {{{weapon_prussian|}}}||| | {{#ifeq: {{{weapon_prussian|}}}||| | ||
− | + | {{!}} style="vertical-align:top" {{!}} {{#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
Factions: | British,French,Prussian |
Health: | 100 |
Agility: | 65 |
Swimming: | 35 |
Quick footed skirmisher. Moves about at a greater pace.
Traits and Abilities
Traits:
Light Footed | Fast and nimble. Your running speed is increased by 5% but you deal less damage with melee weapons. |
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
Other Equipment
- Lantern
- Spyglass