Difference between revisions of "Template:TWS2 Unit"

From Totalwar.org
Jump to: navigation, search
(added bonus against cavalry)
m
 
Line 1: Line 1:
{| class="infobox bordered vevent" cellpadding="3" style="float: {{{align|right}}}; border: 1px solid darkgoldenrod; font-size: 90%; text-align: left; width:300px; background-color:#EEE8AA"  
+
{| class="infobox bordered vevent" cellpadding="3" style="float: {{{align|right}}}; border: 1px solid darkgoldenrod; font-size: 90%; text-align: left; width:300px; background-color:#e5d8cc"  
! colspan="2" style="font-size:150%; text-align: center; background-color: #D00000; border-bottom:1px solid darkgoldenrod;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
+
! colspan="2" style="font-size:150%; color: #fff; text-align: center; background-color: #660800; border-bottom:1px solid darkgoldenrod;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}''
 
|-  
 
|-  
! width=100px; style="background-color: #F00000;" | Unit Type:
+
! width=100px; style="background-color: #ccb8b8;" | Unit Type:
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
| {{{type|<noinclude>Spears, Missile, Swordsmen, Axemen, etc</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:120%; text-align: center; background-color: #D00000; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Combat Stats
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #ccb8b8; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Combat Stats
 
|-
 
|-
! style="background-color: #F00000;" | Attack:
+
! style="background-color: #ccb8b8;" | Attack:
 
| {{{attack|<noinclude>attack value here</noinclude>}}}
 
| {{{attack|<noinclude>attack value here</noinclude>}}}
 
|-
 
|-
! style="background-color: #F00000;" | Charge:
+
! style="background-color: #ccb8b8;" | Charge:
 
| {{{charge|<noinclude>charge value here</noinclude>}}}
 
| {{{charge|<noinclude>charge value here</noinclude>}}}
 
|-
 
|-
! style="background-color: #F00000;" | Defence:
+
! style="background-color: #ccb8b8;" | Defence:
 
| {{{defence|<noinclude>defence value here</noinclude>}}}
 
| {{{defence|<noinclude>defence value here</noinclude>}}}
 
|-
 
|-
! style="background-color: #F00000;" | Armour:
+
! style="background-color: #ccb8b8;" | Armour:
 
| {{{armour|<noinclude>armour value here</noinclude>}}}
 
| {{{armour|<noinclude>armour value here</noinclude>}}}
 
|-
 
|-
 
{{#if:{{{cavbonus|}}}|
 
{{#if:{{{cavbonus|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Cavalry Bonus:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Cavalry Bonus:'''
 
{{!}} {{{cavbonus}}} }}
 
{{!}} {{{cavbonus}}} }}
 
|-
 
|-
! style="background-color: #F00000;" | Morale:
+
! style="background-color: #ccb8b8;" | Morale:
 
| {{{morale|<noinclude>morale value here</noinclude>}}}
 
| {{{morale|<noinclude>morale value here</noinclude>}}}
 
|-
 
|-
! style="background-color: #F00000;" | Speed:
+
! style="background-color: #ccb8b8;" | Speed:
 
| {{{speed|<noinclude>walk, run, charge values here</noinclude>}}}
 
| {{{speed|<noinclude>walk, run, charge values here</noinclude>}}}
 
|-
 
|-
 
{{#if:{{{notes|}}}|
 
{{#if:{{{notes|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Notes:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Notes:'''
 
{{!}} {{{notes}}} }}
 
{{!}} {{{notes}}} }}
 
|-
 
|-
 
{{#if:{{{dismount|}}}|
 
{{#if:{{{dismount|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Dismounts to:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Dismounts to:'''
 
{{!}} {{{dismount}}} }}
 
{{!}} {{{dismount}}} }}
 
|-
 
|-
 
{{#if:{{{abilities|}}}|
 
{{#if:{{{abilities|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Abilities:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Abilities:'''
 
{{!}} {{{abilities}}} }}
 
{{!}} {{{abilities}}} }}
 
|-
 
|-
 
{{#if:{{{range|}}}{{{accuracy|}}}{{{reload|}}}{{{ammo|}}}|
 
{{#if:{{{range|}}}{{{accuracy|}}}{{{reload|}}}{{{ammo|}}}|
{{!}}colspan="2" style="font-size:120%; text-align: center; background-color: #D00000; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" {{!}} '''Missile Stats''' }}
+
{{!}}colspan="2" style="font-size:120%; text-align: center; background-color: #ccb8b8; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" {{!}} '''Missile Stats''' }}
 
|-
 
|-
 
{{#if:{{{range|}}}|
 
{{#if:{{{range|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Range:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Range:'''
 
{{!}} {{{range}}} }}
 
{{!}} {{{range}}} }}
 
|-
 
|-
 
{{#if:{{{accuracy|}}}|
 
{{#if:{{{accuracy|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Accuracy:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Accuracy:'''
 
{{!}} {{{accuracy}}} }}
 
{{!}} {{{accuracy}}} }}
 
|-
 
|-
 
{{#if:{{{reload|}}}|
 
{{#if:{{{reload|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Reload:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Reload:'''
 
{{!}} {{{reload}}} }}
 
{{!}} {{{reload}}} }}
 
|-
 
|-
 
{{#if:{{{ammo|}}}|
 
{{#if:{{{ammo|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Ammunition:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Ammunition:'''
 
{{!}} {{{ammo}}} }}
 
{{!}} {{{ammo}}} }}
 
|-
 
|-
! colspan="2" style="font-size:120%; text-align: center; background-color: #D00000; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Unit Costs
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #ccb8b8; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Unit Costs
 
|-
 
|-
! style="background-color: #F00000;" | Recruitment:
+
! style="background-color: #ccb8b8;" | Recruitment:
 
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}}
 
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}}
 
|-
 
|-
! style="background-color: #F00000;" | Upkeep:
+
! style="background-color: #ccb8b8;" | Upkeep:
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}}
 
|-
 
|-
! colspan="2" style="font-size:120%; text-align: center; background-color: #D00000; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Unit Restrictions
+
! colspan="2" style="font-size:120%; text-align: center; background-color: #ccb8b8; border-bottom:1px solid darkgoldenrod; border-top:1px solid darkgoldenrod;" | Unit Restrictions
 
|-
 
|-
 
{{#if:{{{factions|}}}|
 
{{#if:{{{factions|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Factions:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Factions:'''
 
{{!}} {{{factions}}} }}
 
{{!}} {{{factions}}} }}
 
|-
 
|-
! style="background-color: #F00000;" | Buildings Needed:
+
! style="background-color: #ccb8b8;" | Buildings Needed:
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
 
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}}
 
|-
 
|-
 
{{#if:{{{arts|}}}|
 
{{#if:{{{arts|}}}|
{{!}}style="background-color: #F00000;" {{!}} '''Arts:'''
+
{{!}}style="background-color: #ccb8b8;" {{!}} '''Arts:'''
 
{{!}} {{{arts}}} }}
 
{{!}} {{{arts}}} }}
 
|-
 
|-
! style="background-color: #F00000; border-top:1px solid darkgoldenrod;" | Unit Card:
+
! style="background-color: #ccb8b8; border-top:1px solid darkgoldenrod;" | Unit Card:
| style="background-color: #EEE8AA; border-top:1px solid darkgoldenrod; text-align:center;" | {{{card|<noinclude>insert pic</noinclude>}}}
+
| style="background-color: #ccb8b8; border-top:1px solid darkgoldenrod; text-align:center;" | {{{card|<noinclude>insert pic</noinclude>}}}
 
|-
 
|-
 
|}<noinclude><br>
 
|}<noinclude><br>

Latest revision as of 15:45, 18 April 2011

Unit name
Unit Type: Spears, Missile, Swordsmen, Axemen, etc
Combat Stats
Attack: attack value here
Charge: charge value here
Defence: defence value here
Armour: armour value here
Morale: morale value here
Speed: walk, run, charge values 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:

{{TWS2_Unit 
|name= 
|type= 
|attack= 
|charge= 
|defence= 
|armour= 
|cavbonus= 
|morale= 
|speed= 
|notes= 
|dismount= 
|abilities= 
|range= 
|accuracy= 
|reload= 
|ammo= 
|recruit= 
|upkeep= 
|factions= 
|buildings= 
|arts= 
|card= }}

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

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

Factions and Abilities are optional.

Factions should be either specific factions, or culture type: Christian or Buddhist.