Difference between revisions of "Template:TW Unit"
(pinched drone's template trying out collapsable field) |
|||
Line 8: | Line 8: | ||
|- | |- | ||
! style="background-color: #FFEECC;" | Type: | ! style="background-color: #FFEECC;" | Type: | ||
− | | {{{type|<noinclude> | + | | {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}} |
+ | |- | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" | Combat Stats | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Charge: | ||
+ | | {{{charge|<noinclude>charge value here</noinclude>}}} | ||
|- | |- | ||
! style="background-color: #FFEECC;" | Attack: | ! style="background-color: #FFEECC;" | Attack: | ||
− | | {{{attack|<noinclude> | + | | {{{attack|<noinclude>attack value here</noinclude>}}} |
|- | |- | ||
! style="background-color: #FFEECC;" | Defence: | ! style="background-color: #FFEECC;" | Defence: | ||
− | | {{{defence|<noinclude> | + | | {{{defence|<noinclude>defence value here</noinclude>}}} |
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Armour: | ||
+ | | {{{armour|<noinclude>armour value here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Shield: | ||
+ | | {{{shield|<noinclude>shield type here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Speed: | ||
+ | | {{{speed|<noinclude>walk, run, charge values here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Morale: | ||
+ | | {{{morale|<noinclude>morale value here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Discipline: | ||
+ | | {{{discipline|}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | AP Melee: | ||
+ | | {{{apmelee|}}} | ||
+ | |- | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" | Missile Stats | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Ammo: | ||
+ | | {{{ammo|<noinclude>ammunition count here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Range: | ||
+ | | {{{range|<noinclude>range of missile weapon here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | AP Missile: | ||
+ | | {{{apmissile|}}} | ||
+ | |- | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" | Unit Costs | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Recruitment: | ||
+ | | {{{recruit|<noinclude>recruitment cost here</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Upkeep: | ||
+ | | {{{upkeep|<noinclude>upkeep cost here</noinclude>}}} | ||
+ | |- | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" | Unit Restrictions | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Eras: | ||
+ | | {{{eras|}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Factions: | ||
+ | | {{{factions|}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Provinces: | ||
+ | | {{{provinces|}}} | ||
+ | |- | ||
+ | ! style="background-color: #FFEECC;" | Buildings Needed: | ||
+ | | {{{buildings|<noinclude>building prerequisites here</noinclude>}}} | ||
+ | |- | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" | Other | ||
|- | |- | ||
− | ! style="background-color: # | + | <!-- |
− | + | -->{{#if:{{{dismount|}}}|<tr><th style="background-color: #F4E9DF;">Dismount:</th><td>{{{dismount}}}</td></tr>}} | |
|- | |- | ||
! colspan="2" style="font-size:110%; text-align: center; background-color: #F4E9DF;" style="background-color: #FFEECC;" | Unit Card: | ! colspan="2" style="font-size:110%; text-align: center; background-color: #F4E9DF;" style="background-color: #FFEECC;" | Unit Card: | ||
Line 26: | Line 84: | ||
to use this template use: | to use this template use: | ||
− | '''<nowiki>{{ | + | '''<nowiki>{{MTW_Unit|name= |type= |charge= |attack= |defence= |armour= |shield= |speed= |morale= |discipline= |apmelee= |ammo= |range= |apmissile= |recruit= |upkeep= |eras= |factions= |provinces= |buildings= |dismount= |card= }}</nowiki>''' |
+ | |||
+ | Unit Type should be one of the following: Spearmen, Archers, Crossbowmen, Gunpowder, Swordsmen, Axemen, Pikemen, Polearms, Barbarians/Fanatics, Peasents/Militia, Knights, Heavy Cavalry, Missile Cavalry, Light Cavalry, Camels, Naptha, Javelin. | ||
+ | |||
+ | Shield should be None, Small, Cavalry, Large, or Pavise. | ||
+ | |||
+ | Speed values should be entered as walk,run,charge, like "speed=6,10,11". | ||
+ | |||
+ | Discipline values should be any combination of Disciplined, Elite, Impetuous. | ||
+ | |||
+ | Shield, AP, and Discipline values are optional. | ||
+ | |||
+ | Missile stats are optional. | ||
+ | |||
+ | Eras, Factions, and Provinces are optional. | ||
+ | |||
+ | Eras should be either Viking, Early, High, Late. | ||
+ | |||
+ | Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim. | ||
+ | |||
+ | Dismount is optional. If used, this parameter should be a link to the unit type dismounting becomes. | ||
+ | |||
+ | TBD - need to make optional fields disappear if not given values, including missile stats section. Maybe add lethality and other missile-related stats. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 21:20, 27 March 2008
TW Unit | |
---|---|
Unit Name: | Unit name |
Type: | Spears, Missile, Swordsmen, Axemen, etc |
Combat Stats | |
Charge: | charge value here |
Attack: | attack value here |
Defence: | defence value here |
Armour: | armour value here |
Shield: | shield type here |
Speed: | walk, run, charge values here |
Morale: | morale value here |
Discipline: | |
AP Melee: | |
Missile Stats | |
Ammo: | ammunition count here |
Range: | range of missile weapon here |
AP Missile: | |
Unit Costs | |
Recruitment: | recruitment cost here |
Upkeep: | upkeep cost here |
Unit Restrictions | |
Eras: | |
Factions: | |
Provinces: | |
Buildings Needed: | building prerequisites here |
Other | |
Unit Card:
insert pic |
to use this template use:
{{MTW_Unit|name= |type= |charge= |attack= |defence= |armour= |shield= |speed= |morale= |discipline= |apmelee= |ammo= |range= |apmissile= |recruit= |upkeep= |eras= |factions= |provinces= |buildings= |dismount= |card= }}
Unit Type should be one of the following: Spearmen, Archers, Crossbowmen, Gunpowder, Swordsmen, Axemen, Pikemen, Polearms, Barbarians/Fanatics, Peasents/Militia, Knights, Heavy Cavalry, Missile Cavalry, Light Cavalry, Camels, Naptha, Javelin.
Shield should be None, Small, Cavalry, Large, or Pavise.
Speed values should be entered as walk,run,charge, like "speed=6,10,11".
Discipline values should be any combination of Disciplined, Elite, Impetuous.
Shield, AP, and Discipline values are optional.
Missile stats are optional.
Eras, Factions, and Provinces are optional.
Eras should be either Viking, Early, High, Late.
Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim.
Dismount is optional. If used, this parameter should be a link to the unit type dismounting becomes.
TBD - need to make optional fields disappear if not given values, including missile stats section. Maybe add lethality and other missile-related stats.