Difference between revisions of "Template:Class"

From Holdfast: Nations At War
Jump to navigation Jump to search
m (Added space for other equipment. Page to be refactored with plugins.)
m (Profile pictures now driven by faction list)
Line 56: Line 56:
 
|weapon_prussian=Musket_CharlevilleIXXII
 
|weapon_prussian=Musket_CharlevilleIXXII
 
|weapon_french=Musket_CharlevilleDragoonPattern,Sabre_Briquet
 
|weapon_french=Musket_CharlevilleDragoonPattern,Sabre_Briquet
 +
|equipment=Lantern,Spyglass
 
|h=== }}
 
|h=== }}
 
</noinclude>
 
</noinclude>
Line 64: Line 65:
 
|+ '''Class Stats'''
 
|+ '''Class Stats'''
 
|-  
 
|-  
| colspan="2" align=center| [[File:Class_Portrait_French_{{{enum}}}.png|frameless|120px]][[File:Class_Portrait_British_{{{enum}}}.png|frameless|120px]][[File:Class_Portrait_Prussian_{{{enum}}}.png|frameless|120px]]
+
| colspan="2" align=center| {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassPortrait|%pattern%|{{{enum}}}}} }}
 
|-  
 
|-  
 
| style="text-align:right;font-weight:bold;width:100px" | Factions: || {{{factions}}}
 
| style="text-align:right;font-weight:bold;width:100px" | Factions: || {{{factions}}}
 
|-  
 
|-  
| style="text-align:right;font-weight:bold;" | Health: || {{{healthbase}}} + {{{healthbonus}}}
+
| style="text-align:right;font-weight:bold;" | Health: || {{{healthbase}}} (+{{{healthbonus}}})
 
|-  
 
|-  
| style="text-align:right;font-weight:bold;" | Agility: || {{{agilitybase}}} + {{{agilitybonus}}}
+
| style="text-align:right;font-weight:bold;" | Agility: || {{{agilitybase}}} (+{{{agilitybonus}}})
 
|-  
 
|-  
| style="text-align:right;font-weight:bold;" | Swimming: || {{{swimmingbase}}} + {{{swimmingbonus}}}
+
| style="text-align:right;font-weight:bold;" | Swimming: || {{{swimmingbase}}} (+{{{swimmingbonus}}})
 
|-
 
|-
 
| colspan="2" align=center|[[File:Class_Header_{{{enum}}}.png|550px]]
 
| colspan="2" align=center|[[File:Class_Header_{{{enum}}}.png|550px]]
Line 100: Line 101:
 
|}
 
|}
 
{{{h|=}}}=Other Equipment={{{h|=}}}
 
{{{h|=}}}=Other Equipment={{{h|=}}}
{{{equipment|No added equipment}}}
+
{{#ifeq: {{{equipment|}}}||No added equipment|
 +
{{#invoke: ApplyPattern | apply |{{{equipment|}}}|* %pattern%
 +
}} }}
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
 
</includeonly>
 
</includeonly>

Revision as of 15:15, 17 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 (+0)
Agility: 65 (+0)
Swimming: 35 (+0)
Class Header LightInfantry.png

Quick footed skirmisher. Moves about at a greater pace.


Traits & Abilities

Traits: LightFooted,Skirmisher

Abilities:

Weapons

Faction Weapons
French: Musket_NewLandPatternBrownBess
British: Musket_CharlevilleIXXII
Prussian: Musket_CharlevilleDragoonPattern,Sabre_Briquet

Other Equipment

  • Lantern
  • Spyglass