Difference between revisions of "Template:MTW Unit"
From Totalwar.org
(fixed category) |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox bordered vevent" style="float: {{{align|right}}}; | + | {| 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: | + | ! colspan="2" style="font-size:150%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey;" class="summary" | ''{{{name|<noinclude>Unit name</noinclude>}}}'' |
− | |||
|- | |- | ||
− | + | ! width=100px; 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: | + | ! 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 33: | Line 28: | ||
| {{{morale|<noinclude>morale value here</noinclude>}}} | | {{{morale|<noinclude>morale value here</noinclude>}}} | ||
|- | |- | ||
− | + | {{#if:{{{notes|}}}| | |
− | + | {{!}}style="background-color: #D7CEAF;" {{!}} '''Notes:''' | |
− | | | + | {{!}} {{{notes}}} }} |
− | ! style="background-color: #D7CEAF;" | ||
− | |||
|- | |- | ||
− | ! | + | {{#if:{{{dismount|}}}| |
+ | {{!}}style="background-color: #D7CEAF;" {{!}} '''Dismounts to:''' | ||
+ | {{!}} {{{dismount}}} }} | ||
|- | |- | ||
− | + | ! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Costs | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ! colspan="2" style="font-size: | ||
|- | |- | ||
! style="background-color: #D7CEAF;" | Recruitment: | ! style="background-color: #D7CEAF;" | Recruitment: | ||
| {{{recruit|<noinclude>recruitment cost here</noinclude>}}} | | {{{recruit|<noinclude>recruitment cost here</noinclude>}}} | ||
+ | |- | ||
+ | {{#if:{{{discount|}}}| | ||
+ | {{!}}style="background-color: #D7CEAF;" {{!}} '''Faction Discount:''' | ||
+ | {{!}} {{{discount}}} }} | ||
|- | |- | ||
! style="background-color: #D7CEAF;" | Upkeep: | ! style="background-color: #D7CEAF;" | Upkeep: | ||
| {{{upkeep|<noinclude>upkeep cost here</noinclude>}}} | | {{{upkeep|<noinclude>upkeep cost here</noinclude>}}} | ||
|- | |- | ||
− | ! colspan="2" style="font-size: | + | ! colspan="2" style="font-size:120%; text-align: center; background-color: #D7C499; border-bottom:1px solid grey; border-top:1px solid grey;" | Unit Restrictions |
|- | |- | ||
− | ! style="background-color: #D7CEAF;" | + | {{#if:{{{eras|}}}| |
− | + | {{!}}style="background-color: #D7CEAF;" {{!}} '''Eras:''' | |
+ | {{!}} {{{eras}}} }} | ||
|- | |- | ||
− | ! style="background-color: #D7CEAF;" | + | {{#if:{{{factions|}}}| |
− | + | {{!}}style="background-color: #D7CEAF;" {{!}} '''Factions:''' | |
+ | {{!}} {{{factions}}} }} | ||
|- | |- | ||
− | ! style="background-color: #D7CEAF;" | + | {{#if:{{{provinces|}}}| |
− | + | {{!}}style="background-color: #D7CEAF;" {{!}} '''Provinces:''' | |
+ | {{!}} {{{provinces}}} }} | ||
|- | |- | ||
! style="background-color: #D7CEAF;" | Buildings Needed: | ! style="background-color: #D7CEAF;" | Buildings Needed: | ||
| {{{buildings|<noinclude>building prerequisites here</noinclude>}}} | | {{{buildings|<noinclude>building prerequisites here</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! style="background-color: #D7CEAF; border-top:1px solid grey;" | Unit Card: |
− | | | + | | style="background-color: #D7CEAF; border-top:1px solid grey; text-align:center;" | {{{card|<noinclude>insert pic</noinclude>}}} |
− | |||
− | |||
− | |||
− | |||
− | {{{card|<noinclude>insert pic</noinclude>}}} | ||
|- | |- | ||
|}<noinclude><br> | |}<noinclude><br> | ||
Line 84: | Line 72: | ||
to use this template use: <br> | to use this template use: <br> | ||
− | '''< | + | '''<code><pre>{{MTW_Unit |
− | |name= | + | |name= |
− | |type= | + | |type= |
− | |charge= | + | |charge= |
− | |attack= | + | |attack= |
− | |defence= | + | |defence= |
− | |armour= | + | |armour= |
− | |shield= | + | |shield= |
− | |speed= | + | |speed= |
− | |morale= | + | |morale= |
− | | | + | |notes= |
− | | | + | |dismount= |
− | + | |recruit= | |
− | | | + | |discount= |
− | | | + | |upkeep= |
− | + | |eras= | |
− | |upkeep= | + | |factions= |
− | |eras= | + | |provinces= |
− | |factions= | + | |buildings= |
− | |provinces= | + | |card= }}</pre></code>''' |
− | |buildings= | ||
− | | | ||
− | |||
− | Unit Type should be one of the following: Spearmen | + | 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 99: | ||
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". | ||
− | + | Notes should be used to show: AP melee attack, Disciplined/Elite/Impetuous, Hides Anywhere, province bonus | |
− | |||
− | |||
− | |||
− | |||
Eras, Factions, and Provinces are optional. | Eras, Factions, and Provinces are optional. | ||
Line 126: | Line 107: | ||
Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim. | Factions should be either specific factions, or culture type: Catholic, Orthodox, Muslim. | ||
− | + | [[Category:Template]]</noinclude> | |
− | |||
− | |||
− | |||
− | [[Category: |
Latest revision as of 19:21, 22 March 2011
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=
|discount=
|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.