Difference between revisions of "Template:TWS2 Unit"
From Totalwar.org
(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:# | + | {| 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: # | + | ! 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: # | + | ! 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: # | + | ! 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: # | + | ! style="background-color: #ccb8b8;" | Attack: |
| {{{attack|<noinclude>attack value here</noinclude>}}} | | {{{attack|<noinclude>attack value here</noinclude>}}} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! style="background-color: #ccb8b8;" | Charge: |
| {{{charge|<noinclude>charge value here</noinclude>}}} | | {{{charge|<noinclude>charge value here</noinclude>}}} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! style="background-color: #ccb8b8;" | Defence: |
| {{{defence|<noinclude>defence value here</noinclude>}}} | | {{{defence|<noinclude>defence value here</noinclude>}}} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! style="background-color: #ccb8b8;" | Armour: |
| {{{armour|<noinclude>armour value here</noinclude>}}} | | {{{armour|<noinclude>armour value here</noinclude>}}} | ||
|- | |- | ||
{{#if:{{{cavbonus|}}}| | {{#if:{{{cavbonus|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Cavalry Bonus:''' |
{{!}} {{{cavbonus}}} }} | {{!}} {{{cavbonus}}} }} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! style="background-color: #ccb8b8;" | Morale: |
| {{{morale|<noinclude>morale value here</noinclude>}}} | | {{{morale|<noinclude>morale value here</noinclude>}}} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! 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: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Notes:''' |
{{!}} {{{notes}}} }} | {{!}} {{{notes}}} }} | ||
|- | |- | ||
{{#if:{{{dismount|}}}| | {{#if:{{{dismount|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Dismounts to:''' |
{{!}} {{{dismount}}} }} | {{!}} {{{dismount}}} }} | ||
|- | |- | ||
{{#if:{{{abilities|}}}| | {{#if:{{{abilities|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}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: # | + | {{!}}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: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Range:''' |
{{!}} {{{range}}} }} | {{!}} {{{range}}} }} | ||
|- | |- | ||
{{#if:{{{accuracy|}}}| | {{#if:{{{accuracy|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Accuracy:''' |
{{!}} {{{accuracy}}} }} | {{!}} {{{accuracy}}} }} | ||
|- | |- | ||
{{#if:{{{reload|}}}| | {{#if:{{{reload|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Reload:''' |
{{!}} {{{reload}}} }} | {{!}} {{{reload}}} }} | ||
|- | |- | ||
{{#if:{{{ammo|}}}| | {{#if:{{{ammo|}}}| | ||
− | {{!}}style="background-color: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Ammunition:''' |
{{!}} {{{ammo}}} }} | {{!}} {{{ammo}}} }} | ||
|- | |- | ||
− | ! colspan="2" style="font-size:120%; text-align: center; background-color: # | + | ! 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: # | + | ! style="background-color: #ccb8b8;" | Recruitment: |
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}} | | {{{recruit|<noinclude>recruitment cost here</noinclude>}}} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! 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: # | + | ! 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: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Factions:''' |
{{!}} {{{factions}}} }} | {{!}} {{{factions}}} }} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! 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: # | + | {{!}}style="background-color: #ccb8b8;" {{!}} '''Arts:''' |
{{!}} {{{arts}}} }} | {{!}} {{{arts}}} }} | ||
|- | |- | ||
− | ! style="background-color: # | + | ! style="background-color: #ccb8b8; border-top:1px solid darkgoldenrod;" | Unit Card: |
− | | style="background-color: # | + | | 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.