Difference between revisions of "Template:Class"
Jump to navigation
Jump to search
m (Profile pictures now driven by faction list) |
|||
| Line 62: | Line 62: | ||
{{{h|=}}}{{{name}}}{{{h|=}}} | {{{h|=}}}{{{name}}}{{{h|=}}} | ||
<!-- This infobox should be recreated as a template --> | <!-- This infobox should be recreated as a template --> | ||
| − | {| style="float:right;border:1px solid black;width: | + | {| style="float:right;border:1px solid black;width:650px" |
|+ '''Class Stats''' | |+ '''Class Stats''' | ||
|- | |- | ||
| Line 75: | Line 75: | ||
| style="text-align:right;font-weight:bold;" | Swimming: || {{{swimmingbase}}} (+{{{swimmingbonus}}}) | | style="text-align:right;font-weight:bold;" | Swimming: || {{{swimmingbase}}} (+{{{swimmingbonus}}}) | ||
|- | |- | ||
| − | | colspan="2" align=center| | + | | colspan="2" align=center| {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassFull|%pattern%|{{{enum}}}}} }} |
|} | |} | ||
| Line 82: | Line 82: | ||
| − | {{{h|=}}}=Traits | + | {{{h|=}}}=[[Traits and Abilities]]={{{h|=}}} |
| − | + | {{#ifeq: {{{traits|}}}||| | |
| − | Traits: {{{traits}}} | + | Traits: |
| + | {{#invoke: ApplyPattern | apply | {{{traits|}}} |{{TraitAbilityDisplay|enum=%pattern%}}}} | ||
| + | }} | ||
| + | {{#ifeq: {{{abilities|}}}||| | ||
| + | Abilities: | ||
| + | {{#invoke: ApplyPattern | apply |{{{abilities|}}}|* %pattern% | ||
| + | }} }} | ||
| − | + | {{{h|=}}}=[[Weapons|Weapons]]={{{h|=}}} | |
| − | {{{h|=}}}=Weapons={{{h|=}}} | ||
<!-- Introduce a for-each here, or a Cargo query? --> | <!-- Introduce a for-each here, or a Cargo query? --> | ||
<!-- Weapon statistics, model, reach, etc. --> | <!-- Weapon statistics, model, reach, etc. --> | ||
| Line 100: | Line 105: | ||
|'''Prussian: ''' || {{{weapon_french}}} | |'''Prussian: ''' || {{{weapon_french}}} | ||
|} | |} | ||
| − | {{{h|=}}}=Other Equipment={{{h|=}}} | + | {{{h|=}}}=[[Equipment|Other Equipment]]={{{h|=}}} |
{{#ifeq: {{{equipment|}}}||No added equipment| | {{#ifeq: {{{equipment|}}}||No added equipment| | ||
{{#invoke: ApplyPattern | apply |{{{equipment|}}}|* %pattern% | {{#invoke: ApplyPattern | apply |{{{equipment|}}}|* %pattern% | ||
Revision as of 16:21, 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
| Factions: | British,French,Prussian |
| Health: | 100 (+0) |
| Agility: | 65 (+0) |
| Swimming: | 35 (+0) |
Quick footed skirmisher. Moves about at a greater pace.
Traits and Abilities
Traits:
| File:LightFooted.png | test |
| File:Skirmisher.png | test |
Weapons
| Faction | Weapons |
|---|---|
| French: | Musket_NewLandPatternBrownBess |
| British: | Musket_CharlevilleIXXII |
| Prussian: | Musket_CharlevilleDragoonPattern,Sabre_Briquet |
Other Equipment
- Lantern
- Spyglass





