Difference between revisions of "Classes: Command"

From Holdfast: Nations At War
Jump to navigation Jump to search
(removed HorsebackRiding perk from officer)
Line 1: Line 1:
The Command classes direct the course of battle, marshalling groups of soldiers together to fight as a unit or crew.
+
<noinclude>
 +
[[Category:Templates]]
 +
This is the modern Class Infobox template.  
 +
</noinclude>
 +
<includeonly>
 +
{{{h|=}}}{{{name}}}{{{h|=}}}
  
{{Class
+
<div style="float: right; width: 350px; margin-left: 20px; border: 1px solid #d1d1d1; background-color: #fcfcfc; font-family: 'Segoe UI', Roboto, sans-serif; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden;">
|enum=InfantryOfficer
 
|name=Army Infantry Officer
 
|description=The infantry officers govern the course of battles on land.  They are able to issue [[Orders]] to gather their troops into firing lines, and provide bonuses to men who follow them.  They are by no means slouches in combat, armed with a punchy pistol and sabre combination to fight with their line in a charge.  They can be distinguished from other soldiers due to the cross icon on the mini-map.
 
|traits=Distinguishable, Resilient, SwordSpecialisation, PistolSpecialisation
 
|abilities=HighCommandArmy
 
|factions=British,French,Prussian,Russian
 
|healthbase=100
 
|agilitybase=80
 
|swimmingbase=35
 
|healthbonus=15
 
|agilitybonus=0
 
|swimmingbonus=0
 
|equipment=Spyglass,Lantern
 
|weapon_british=Pistol_NewLandPattern,Sword_Pattern1803FlankOfficer
 
|weapon_prussian=Pistol_XIII,Sabre_1715Pattern
 
|weapon_french=Pistol_XIII,Sabre_AnXILight
 
|weapon_russian=Pistol_Russian_1809_Pistol,Sword_Russian_Epee_Officer  }}
 
  
{{Class
+
    <div style="background: linear-gradient(to right, #333, #444); color: white; padding: 15px; display: flex; align-items: center; gap: 15px;">
|enum=Captain
+
        <div style="width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #222; flex-shrink: 0;">
|name=Naval Captain
+
            {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassPortrait|%pattern%|{{{enum}}}}} }}
|description=The captain rules the soggier side of the battlefield, commanding a ship and her crew to do his bidding.  They have priority over steering ships.
+
        </div>
|traits=Distinguishable, Resilient, SwordSpecialisation, PistolSpecialisation
+
        <div>
|abilities=HighCommandNaval
+
            <div style="font-size: 1.2em; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px;">{{{name}}}</div>
|factions=British,French
+
            <div style="font-size: 0.8em; opacity: 0.8;">"{{#invoke: ApplyPattern | applyTemplate | {{{factions}}} | Faction/FactionName | 1 |, | test}}"</div>
|healthbase=100
+
        </div>
|agilitybase=80
+
    </div>
|swimmingbase=35
+
 
|healthbonus=15
+
    <div style="padding: 15px; border-bottom: 1px solid #eee;">
|agilitybonus=0
+
        <div style="font-size: 1em; font-weight: bold; color: #444; margin-bottom: 10px; border-bottom: 2px solid #555; display: inline-block;">Class Statistics</div>
|swimmingbonus=0
+
       
|equipment=Spyglass,Lantern
+
        <div style="display: flex; justify-content: space-between; align-items: center;">
|weapon_british=Pistol_SeaService,Hanger_Variation1
+
            <div style="flex: 1;">
|weapon_french=Pistol_XIII,Hanger_Variation2 }}
+
                <table style="width: 100%; font-size: 0.9em; border-collapse: collapse;">
 +
                    <tr>
 +
                        <td style="padding: 5px 0; color: #666;">Health</td>
 +
                        <td style="text-align: right;">{{StatBar|max=125|value={{{healthbase}}}|bonus={{{healthbonus}}}|width=80}}</td>
 +
                    </tr>
 +
                    <tr>
 +
                        <td style="padding: 5px 0; color: #666;">Agility</td>
 +
                        <td style="text-align: right;"><b>{{{agilitybase}}}</b> <small style="color: green;">(+{{{agilitybonus}}})</small></td>
 +
                    </tr>
 +
                    <tr>
 +
                        <td style="padding: 5px 0; color: #666;">Swimming</td>
 +
                        <td style="text-align: right;"><b>{{{swimmingbase}}}</b></td>
 +
                    </tr>
 +
                </table>
 +
            </div>
 +
           
 +
            <div style="width: 140px; height: 140px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-left: 10px; border: 1px solid #ccc;">
 +
                {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassFull|%pattern%|{{{enum}}}}} }}
 +
            </div>
 +
        </div>
 +
    </div>
 +
 
 +
    <div style="padding: 15px; background: #fff;">
 +
        <div style="font-size: 0.95em; font-weight: bold; margin-bottom: 8px;">Weapons</div>
 +
        <div style="background: #2a2e33; color: white; padding: 5px 10px; font-size: 0.85em; font-weight: bold; border-radius: 3px 3px 0 0;">
 +
            British
 +
        </div>
 +
        <div style="border: 1px solid #ddd; border-top: none; padding: 10px; font-size: 0.9em;">
 +
            {{#invoke: ApplyPattern | applyTemplate | {{{weapon_british}}} | WeaponDisplay | enum}}
 +
        </div>
 +
    </div>
 +
 
 +
    <div style="padding: 15px; background: #f9f9f9; border-top: 1px solid #eee;">
 +
        <div style="font-size: 0.95em; font-weight: bold; margin-bottom: 5px;">Other Equipment</div>
 +
        <div style="background: #fff; border: 1px solid #ddd; padding: 10px; border-radius: 4px; display: flex; align-items: center; gap: 10px; font-size: 0.9em;">
 +
            {{#invoke: ApplyPattern | applyTemplate |{{{equipment|}}}| Equipment | enum}}
 +
        </div>
 +
    </div>
 +
 
 +
</div>
 +
 
 +
<div style="margin-right: 370px;">
 +
{{{description}}}
 +
 
 +
{{{h|=}}} Traits and Abilities {{{h|=}}}
 +
{{#ifeq: {{{traits|}}}||| '''Traits:''' {{#invoke: ApplyPattern | applyTemplate | {{{traits}}} | TraitAbility | enum}} }}
 +
{{#ifeq: {{{abilities|}}}||| '''Abilities:''' {{#invoke: ApplyPattern | applyTemplate | {{{abilities}}} | TraitAbility | enum}} }}
 +
</div>
 +
 
 +
<div style="clear: both;"></div>
 +
</includeonly>

Revision as of 02:40, 24 January 2026

This is the modern Class Infobox template.