Difference between revisions of "Template:MTW Unit"

From Totalwar.org
Jump to: navigation, search
(set width to 300px)
(Modified color scheme)
Line 1: Line 1:
{| class="infobox bordered vevent" style="float: {{{align|right}}}; font-size: 90%; text-align: left; width:300px" cellpadding="3"  
+
{| class="infobox bordered vevent" cellpadding="3" style="float: {{{align|right}}}; border: 1px solid grey; font-size: 90%; text-align: left; width:300px; background-color:#E7E2CF"  
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
+
! colspan="2" style="font-size:150%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
 
|-  
 
|-  
 
! style="background-color: #D7CEAF;" | Unit Type:
 
! style="background-color: #D7CEAF;" | Unit Type:
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Combat Stats
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Combat Stats
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Charge:
 
! style="background-color: #D7CEAF;" | Charge:
Line 36: Line 36:
 
{{!}} {{{dismount}}} }}
 
{{!}} {{{dismount}}} }}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Costs
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Costs
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Recruitment:
 
! style="background-color: #D7CEAF;" | Recruitment:
Line 44: Line 44:
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Restrictions
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Restrictions
 
|-
 
|-
 
{{#if:{{{eras|}}}|
 
{{#if:{{{eras|}}}|
Line 101: Line 101:
  
 
Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim.
 
Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim.
 
TBD - need to make optional fields disappear if not given values.  Make sure unit descriptions for Cav include dismount links.
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 22:15, 8 May 2008

Unit name
Unit 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
Unit Costs
Recruitment: recruitment cost here
Upkeep: upkeep cost here
Unit Restrictions
Buildings Needed: building prerequisites here
Unit Card:

insert pic



to use this template use:

{{MTW_Unit 
|name= 
|type= 
|charge= 
|attack= 
|defence= 
|armour= 
|shield= 
|speed= 
|morale= 
|notes= 
|dismount= 
|recruit= 
|upkeep= 
|eras= 
|factions= 
|provinces= 
|buildings= 
|card= }}

Unit Type should be one of the following: Spearmen, Swordsmen, Axemen, Pikemen, Polearms, Archers, Crossbowmen, Gunpowder, Javelins, Peasants/Militia, Knights, Heavy Cavalry, Missile Cavalry, Light Cavalry, Camels, Artillery.

Shield should be None, Small, Cavalry, Large, or Pavise.

Speed values should be entered as walk,run,charge, like "speed=6,10,11".

Notes should be used to show: AP melee attack, Disciplined/Elite/Impetuous, Hides Anywhere, province bonus

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.