Difference between revisions of "Template:TW Unit"

From Totalwar.org
Jump to: navigation, search
(pinched drone's template trying out collapsable field)
(reverting - didn't work)
Line 8: Line 8:
 
|-  
 
|-  
 
! style="background-color: #FFEECC;" | Type:
 
! style="background-color: #FFEECC;" | Type:
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
+
| {{{type|<noinclude>Cavalry, Infantry or Missile 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 value here</noinclude>}}}
+
| {{{attack|<noinclude>10 melee, 4 charge bonus etc</noinclude>}}}
 
|-
 
|-
 
! style="background-color: #FFEECC;" | Defence:
 
! style="background-color: #FFEECC;" | Defence:
| {{{defence|<noinclude>defence value here</noinclude>}}}
+
| {{{defence|<noinclude>7 armour, 5 shield</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: #FFEECC;" | Special Abilities:
-->{{#if:{{{dismount|}}}|<tr><th style="background-color: #F4E9DF;">Dismount:</th><td>{{{dismount}}}</td></tr>}}
+
| {{{special|<noinclude>hording, wedge formation etc..</noinclude>}}}
 
|-
 
|-
 
! 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 84: Line 26:
  
 
to use this template use:
 
to use this template use:
'''<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>'''
+
'''<nowiki>{{TW_Unit|name= |type= |attack= |defence= |special= |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:22, 27 March 2008

TW Unit
Unit Name: Unit name
Type: Cavalry, Infantry or Missile etc
Attack: 10 melee, 4 charge bonus etc
Defence: 7 armour, 5 shield
Special Abilities: hording, wedge formation etc..
Unit Card:

insert pic



to use this template use: {{TW_Unit|name= |type= |attack= |defence= |special= |card= }}