Difference between revisions of "Template:TW Unit"

From Totalwar.org
Jump to: navigation, search
(pinched drone's template trying out collapsable field)
(back to square one again)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| class="infobox bordered vevent" style="float: {{{align|right}}};  font-size: 90%; text-align: left;" cellpadding="3"  
 
{| class="infobox bordered vevent" style="float: {{{align|right}}};  font-size: 90%; text-align: left;" cellpadding="3"  
! colspan="2" style="font-size:110%; text-align: center; background-color: #D6B68C;" class="summary" | ''{{{title|{{PAGENAME}}}}}''
+
! colspan="2" style="font-size:110%; text-align: center; background-color: #D0C6A4;" class="summary" | ''{{{title|{{PAGENAME}}}}}''
 
{{{image|}}}
 
{{{image|}}}
 
|-  
 
|-  
 
|-  
 
|-  
! style="background-color: #FFEECC;" | Unit Name:
+
! style="background-color: #D7CEAF;" | Unit Name:
 
| {{{name|<noinclude>Unit name</noinclude>}}}
 
| {{{name|<noinclude>Unit name</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #FFEECC;" | Type:
+
! style="background-color: #D7CEAF;" | 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: #D7CEAF;" | Attack:
 +
| {{{attack|<noinclude>10 melee, 4 charge bonus etc</noinclude>}}}
 
|-
 
|-
! style="background-color: #FFEECC;" | Charge:
+
! style="background-color: #D7CEAF;" | Defence:
| {{{charge|<noinclude>charge value here</noinclude>}}}
+
| {{{defence|<noinclude>7 armour, 5 shield</noinclude>}}}
 
|-
 
|-
! style="background-color: #FFEECC;" | Attack:
+
! style="background-color: #D7CEAF;" | Special Abilities:
| {{{attack|<noinclude>attack value here</noinclude>}}}
+
| {{{special|<noinclude>hording, wedge formation etc..</noinclude>}}}
 
|-
 
|-
! style="background-color: #FFEECC;" | Defence:
+
! colspan="2" style="font-size:110%; text-align: center; background-color: #F4E9DF;" style="background-color: #D0C6A4;" | Unit Card:
| {{{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
 
|-
 
<!--
 
-->{{#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:
 
 
{{{card|<noinclude>insert pic</noinclude>}}}
 
{{{card|<noinclude>insert pic</noinclude>}}}
 
|-
 
|-
Line 83: Line 25:
  
  
to use this template use:
+
to use this template use: <br>
'''<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 </nowiki><br><nowiki>
 
+
|name= </nowiki><br><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.
+
|type= </nowiki><br><nowiki>
 
+
|attack= </nowiki><br><nowiki>
Shield should be None, Small, Cavalry, Large, or Pavise.
+
|defence= </nowiki><br><nowiki>
 
+
|special= </nowiki><br><nowiki>
Speed values should be entered as walk,run,charge, like "speed=6,10,11".
+
|card= }}</nowiki>'''
 
 
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>

Latest revision as of 22:10, 28 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= }}