Difference between revisions of "Template:MTW Unit"

From Totalwar.org
Jump to: navigation, search
(removed missile stats, merged in conditional fields to "Notes")
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%; color: #FFFFFF; text-align: center; background-color: #996633;" class="summary" | ''{{{title|{{PAGENAME}}}}}''
+
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
{{{image|}}}
 
 
|-  
 
|-  
|-
+
! style="background-color: #D7CEAF;" | Unit Type:
! style="background-color: #D7CEAF;" | Unit Name:
 
| {{{name|<noinclude>Unit name</noinclude>}}}
 
|-
 
! style="background-color: #D7CEAF;" | Type:
 
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
|-
 
|-
Line 33: Line 28:
 
| {{{morale|<noinclude>morale value here</noinclude>}}}
 
| {{{morale|<noinclude>morale value here</noinclude>}}}
 
|-
 
|-
! style="background-color: #D7CEAF;" | Discipline:
+
! style="background-color: #D7CEAF;" | Notes:
| {{{discipline|}}}
+
| {{{notes|}}}
|-
 
! style="background-color: #D7CEAF;" | AP Melee:
 
| {{{apmelee|}}}
 
|-
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Missile Stats
 
|-
 
! style="background-color: #D7CEAF;" | Ammo:
 
| {{{ammo|<noinclude>ammunition count here</noinclude>}}}
 
|-
 
! style="background-color: #D7CEAF;" | Range:
 
| {{{range|<noinclude>range of missile weapon here</noinclude>}}}
 
|-
 
! style="background-color: #D7CEAF;" | AP Missile:
 
| {{{apmissile|}}}
 
 
|-
 
|-
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Costs
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Unit Costs
Line 61: Line 42:
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Eras:
 
! style="background-color: #D7CEAF;" | Eras:
| {{{eras|}}}
+
| {{{eras|<noinclude>All</noinclude>}}}
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Factions:
 
! style="background-color: #D7CEAF;" | Factions:
| {{{factions|}}}
+
| {{{factions|<noinclude>All</noinclude>}}}
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Provinces:
 
! style="background-color: #D7CEAF;" | Provinces:
| {{{provinces|}}}
+
| {{{provinces|<noinclude>All</noinclude>}}}
 
|-
 
|-
 
! style="background-color: #D7CEAF;" | Buildings Needed:
 
! style="background-color: #D7CEAF;" | Buildings Needed:
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
|-
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #996633;" | Other
 
|-
 
! style="background-color: #D7CEAF;" | Dismounts To:
 
| {{{dismount|}}}
 
 
|-
 
|-
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #F4E9DF;" style="background-color: #D7CEAF;" | Unit Card:
 
! colspan="2" style="font-size:110%; color: #FFFFFF; text-align: center; background-color: #F4E9DF;" style="background-color: #D7CEAF;" | Unit Card:
Line 84: Line 60:
  
 
to use this template use: <br>
 
to use this template use: <br>
'''<nowiki>{{MTW_Unit </nowiki><br><nowiki>
+
'''<code><pre>{{MTW_Unit  
|name= </nowiki><br><nowiki>
+
|name=  
|type= </nowiki><br><nowiki>
+
|type=  
|charge= </nowiki><br><nowiki>
+
|charge=  
|attack= </nowiki><br><nowiki>
+
|attack=  
|defence= </nowiki><br><nowiki>
+
|defence=  
|armour= </nowiki><br><nowiki>
+
|armour=  
|shield= </nowiki><br><nowiki>
+
|shield=  
|speed= </nowiki><br><nowiki>
+
|speed=  
|morale= </nowiki><br><nowiki>
+
|morale=  
|discipline= </nowiki><br><nowiki>
+
|notes=  
|apmelee= </nowiki><br><nowiki>
+
|recruit=  
|ammo= </nowiki><br><nowiki>
+
|upkeep=  
|range= </nowiki><br><nowiki>
+
|eras=  
|apmissile= </nowiki><br><nowiki>
+
|factions=  
|recruit= </nowiki><br><nowiki>
+
|provinces=  
|upkeep= </nowiki><br><nowiki>
+
|buildings=  
|eras= </nowiki><br><nowiki>
+
|card= }}</pre></code>'''
|factions= </nowiki><br><nowiki>
 
|provinces= </nowiki><br><nowiki>
 
|buildings= </nowiki><br><nowiki>
 
|dismount= </nowiki><br><nowiki>
 
|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.
+
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.
 
Shield should be None, Small, Cavalry, Large, or Pavise.
Line 114: Line 85:
 
Speed values should be entered as walk,run,charge, like "speed=6,10,11".
 
Speed values should be entered as walk,run,charge, like "speed=6,10,11".
  
Discipline values should be any combination of Disciplined, Elite, Impetuous.
+
Notes should be used to show: AP melee attack, Disciplined/Elite/Impetuous, Hides Anywhere, province bonus
 
 
Shield, AP, and Discipline values are optional.
 
 
 
Missile stats are optional.
 
  
 
Eras, Factions, and Provinces are optional.
 
Eras, Factions, and Provinces are optional.
Line 126: Line 93:
 
Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim.
 
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.  Make sure unit descriptions for Cav include dismount links.
 
 
TBD - need to make optional fields disappear if not given values, including missile stats sectionMaybe add lethality and other missile-related stats.
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:20, 3 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
Notes:
Unit Costs
Recruitment: recruitment cost here
Upkeep: upkeep cost here
Unit Restrictions
Eras: All
Factions: All
Provinces: All
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= 
|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.