Difference between revisions of "Template:MTW Unit"

From Totalwar.org
Jump to: navigation, search
(trying to fix text style of lines within conditionals)
(one more time with bolding)
Line 29: Line 29:
 
|-
 
|-
 
{{#if:{{{notes|}}}|
 
{{#if:{{{notes|}}}|
{{!}}style="font-size:110%; background-color: #D7CEAF;" {{!}} Notes:
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Notes:'''
 
{{!}} {{{notes}}} }}
 
{{!}} {{{notes}}} }}
 
|-
 
|-
 
{{#if:{{{dismount|}}}|
 
{{#if:{{{dismount|}}}|
{{!}}style="font-size:110%; background-color: #D7CEAF;" {{!}} Dismounts to:
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Dismounts to:'''
 
{{!}} {{{dismount}}} }}
 
{{!}} {{{dismount}}} }}
 
|-
 
|-
Line 47: Line 47:
 
|-
 
|-
 
{{#if:{{{eras|}}}|
 
{{#if:{{{eras|}}}|
{{!}}style="font-size:110%; background-color: #D7CEAF;" {{!}} Eras:
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Eras:'''
 
{{!}} {{{eras}}} }}
 
{{!}} {{{eras}}} }}
 
|-
 
|-
 
{{#if:{{{factions|}}}|
 
{{#if:{{{factions|}}}|
{{!}}style="font-size:110%; background-color: #D7CEAF;" {{!}} Factions:
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Factions:'''
 
{{!}} {{{factions}}} }}
 
{{!}} {{{factions}}} }}
 
|-
 
|-
 
{{#if:{{{provinces|}}}|
 
{{#if:{{{provinces|}}}|
{{!}}style="font-size:110%; background-color: #D7CEAF;" {{!}} Provinces:
+
{{!}}style="background-color: #D7CEAF;" {{!}} '''Provinces:'''
 
{{!}} {{{provinces}}} }}
 
{{!}} {{{provinces}}} }}
 
|-
 
|-

Revision as of 02:15, 11 April 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.

TBD - need to make optional fields disappear if not given values. Make sure unit descriptions for Cav include dismount links.