Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Template:TW3K Unit"

From TWC Wiki
Jump to navigationJump to search
(Creating 3K Unit Template)
 
(standardising)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: {{#if:{{{width|}}}|{{{width|}}}|23em}};
+
{| class="infobox bordered info-right"
! colspan="2" | <big>''{{{title|{{PAGENAME}}}}}''</big><!--
+
! colspan="2" style="font-size:110%; text-align:center;"|''{{{title|{{PAGENAME}}}}}''<!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="background-color: white; font-size: 100%; text-align: center;"> {{{image}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr>
+
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{image}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr>
 
|-  
 
|-  
 
! Element
 
! Element
Line 12: Line 12:
 
| {{{Weight|<noinclude>WEIGHT HERE</noinclude>}}}
 
| {{{Weight|<noinclude>WEIGHT HERE</noinclude>}}}
 
|-
 
|-
! Unit Size
+
! Unit Size
 
| {{{Unit Size|<noinclude>UNIT SIZE HERE</noinclude>}}}
 
| {{{Unit Size|<noinclude>UNIT SIZE HERE</noinclude>}}}
 
|-
 
|-
Line 21: Line 21:
 
| {{{Armour|<noinclude>ARMOUR HERE</noinclude>}}}
 
| {{{Armour|<noinclude>ARMOUR HERE</noinclude>}}}
 
|-
 
|-
! Shield
+
{{#if: {{{Shield|}}}|<tr><th> Shield
| {{{Shield|<noinclude>SHIELD HERE</noinclude>}}}
+
</th><td> {{{Shield|<noinclude>SHIELD HERE</noinclude>}}}</td></tr>
|-
+
|}}
 
! Morale
 
! Morale
 
| {{{Morale|<noinclude>VALUE HERE</noinclude>}}}
 
| {{{Morale|<noinclude>VALUE HERE</noinclude>}}}
 +
|-
 +
! Speed
 +
| {{{Speed|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
 
! Melee Damage
 
! Melee Damage
| {{{Melee Attack|<noinclude>VALUE HERE</noinclude>}}}
+
| {{{Melee Damage|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! Melee Damage (Armor Piercing)
+
! Melee Damage (Armour Piercing)
| {{{Melee Damage (Armor Piercing)|<noinclude>VALUE HERE</noinclude>}}}
+
| {{{Melee Damage (Armour Piercing)|<noinclude>VALUE HERE</noinclude>}}}
 +
|-
 +
! Melee Attack Rate
 +
| {{{Melee Attack Rate|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
 
! Charge Bonus
 
! Charge Bonus
 
| {{{Charge Bonus|<noinclude>VALUE HERE</noinclude>}}}
 
| {{{Charge Bonus|<noinclude>VALUE HERE</noinclude>}}}
 +
|-
 +
! Bonus vs Cavalry
 +
| {{{Bonus vs Cavalry|<noinclude>BONUS VS CAVALRY HERE</noinclude>}}}
 
|-
 
|-
 
! Melee Evasion (Base)
 
! Melee Evasion (Base)
 
| {{{Melee Evasion (Base)|<noinclude>VALUE HERE </noinclude>}}}
 
| {{{Melee Evasion (Base)|<noinclude>VALUE HERE </noinclude>}}}
 
|-
 
|-
! Melee Evasion (Shield)
+
{{#if: {{{Melee Evasion (Shield)|}}}|<tr><th> Melee Evasion (Shield)
| {{{Melee Evasion (Shield)|<noinclude>VALUE HERE </noinclude>}}}
+
</th><td> {{{Melee Evasion (Shield)|<noinclude>VALUE HERE </noinclude>}}}</td></tr>
|-
+
|}}
 
! Armour (Base)
 
! Armour (Base)
 
| {{{Armour (Base)|<noinclude>VALUE HERE </noinclude>}}}
 
| {{{Armour (Base)|<noinclude>VALUE HERE </noinclude>}}}
 
|-
 
|-
! Armour (Shield)
+
{{#if: {{{Armour (Shield)|}}}|<tr><th> Armour (Shield)
| {{{Armour (Shield)|<noinclude>VALUE HERE </noinclude>}}}
+
</th><td> {{{Armour (Shield)|<noinclude>VALUE HERE </noinclude>}}}</td></tr>
|-
+
|}}
 
! Ranged Block Chance
 
! Ranged Block Chance
 
| {{{Ranged Block Chance|<noinclude>VALUE HERE </noinclude>}}}
 
| {{{Ranged Block Chance|<noinclude>VALUE HERE </noinclude>}}}
 
|-
 
|-
! Ranged Damage
+
{{#if: {{{Ranged Damage|}}}|<tr><th> Ranged Damage
| {{{Ranged Damage|<noinclude>VALUE HERE</noinclude>}}}
+
</th><td> {{{Ranged Damage|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Ranged Damage (Armor Piercing)
+
{{#if: {{{Ranged Damage (Armour Piercing)|}}}|<tr><th> Ranged Damage (Armour Piercing)
| {{{Ranged Damage (Armor Piercing)|<noinclude>VALUE HERE</noinclude>}}}
+
</th><td> {{{Ranged Damage (Armour Piercing)|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Accuracy
+
{{#if: {{{Ranged Attack Rate|}}}|<tr><th> Ranged Attack Rate
| {{{Accuracy|<noinclude>VALUE HERE</noinclude>}}}
+
</th><td> {{{Ranged Attack Rate|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Range
+
{{#if: {{{Accuracy|}}}|<tr><th> Accuracy
| {{{Range|<noinclude>VALUE HERE</noinclude>}}}
+
</th><td> {{{Accuracy|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Ammunition
+
{{#if: {{{Range|}}}|<tr><th> Range
| {{{Ammunition|<noinclude>VALUE HERE</noinclude>}}}
+
</th><td> {{{Range|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
|-
+
|}}
 +
{{#if: {{{Ammunition|}}}|<tr><th> Ammunition
 +
</th><td> {{{Ammunition|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 +
|}}
 
! Recruitment Cost
 
! Recruitment Cost
 
| {{{Recruitment Cost|<noinclude>VALUE HERE</noinclude>}}}
 
| {{{Recruitment Cost|<noinclude>VALUE HERE</noinclude>}}}
Line 72: Line 84:
 
| {{{Upkeep Cost|<noinclude>VALUE HERE</noinclude>}}}
 
| {{{Upkeep Cost|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! Building Requirements
+
{{#if: {{{Building Requirements|}}}|<tr><th> Building Requirements
| {{{Building Requirements|<noinclude>BUILDING REQUIREMENT HERE</noinclude>}}}
+
</th><td> {{{Building Requirements|<noinclude>BUILDING REQUIREMENT HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Technology Requirements
+
{{#if: {{{Technology Requirements|}}}|<tr><th> Technology Requirements
| {{{Tech Requirements|<noinclude>TECH REQUIREMENT HERE</noinclude>}}}
+
</th><td> {{{Tech Requirements|<noinclude>TECH REQUIREMENT HERE</noinclude>}}}</td></tr>
|-
+
|}}
! General Class Requirements
+
{{#if: {{{General Class Requirements|}}}|<tr><th> General Class Requirements
| {{{General Class Requirements|<noinclude>GENERAL CLASS REQUIREMENT HERE</noinclude>}}}
+
</th><td> {{{General Class Requirements|<noinclude>GENERAL CLASS REQUIREMENT HERE</noinclude>}}}</td></tr>
|-
+
|}}
! General Level Requirements
+
{{#if: {{{General Level Requirements|}}}|<tr><th> General Level Requirements
| {{{General Level Requirements|<noinclude>GENERAL LEVEL REQUIREMENT HERE</noinclude>}}}
+
</th><td> {{{General Level Requirements|<noinclude>GENERAL LEVEL REQUIREMENT HERE</noinclude>}}}</td></tr>
|-
+
|}}
! Faction Requirements
+
{{#if: {{{Faction Requirements|}}}|<tr><th> Faction Requirements
| {{{Faction Requirements|<noinclude>FACTION REQUIREMENT HERE</noinclude>}}}
+
</th><td> {{{Faction Requirements|<noinclude>FACTION REQUIREMENT HERE</noinclude>}}}</td></tr>
|-
+
|}}
 
! Attributes
 
! Attributes
 
| {{{Attributes|<noinclude>ATTRIBUTES HERE</noinclude>}}}
 
| {{{Attributes|<noinclude>ATTRIBUTES HERE</noinclude>}}}
Line 94: Line 106:
  
 
To use this template copy the following code on to the top of a unit article on the wiki, and fill in the sections according to the further instructions below. This should be used for all vanilla Total War units regardless of which game they are actually from. '''All information must come from the Vanilla Game, not a mod.'''
 
To use this template copy the following code on to the top of a unit article on the wiki, and fill in the sections according to the further instructions below. This should be used for all vanilla Total War units regardless of which game they are actually from. '''All information must come from the Vanilla Game, not a mod.'''
 +
 +
  
  
Line 154: Line 168:
 
=====Code:=====
 
=====Code:=====
 
  <nowiki>  
 
  <nowiki>  
  {{TW Unit|image=[[Image:IMAGE HERE]]
+
  {{TW3K Unit|image=[[Image:IMAGE HERE]]
 
  |Element=ELEMENT HERE
 
  |Element=ELEMENT HERE
 
  |Class=CLASS HERE
 
  |Class=CLASS HERE
Line 163: Line 177:
 
  |Shield=SHIELD HERE
 
  |Shield=SHIELD HERE
 
  |Morale=VALUE HERE
 
  |Morale=VALUE HERE
 +
|Speed=VALUE HERE
 
  |Melee Damage=VALUE HERE
 
  |Melee Damage=VALUE HERE
 
  |Melee Damage (Armour Piercing)=VALUE HERE
 
  |Melee Damage (Armour Piercing)=VALUE HERE
 +
|Melee Attack Rate=VALUE HERE
 
  |Charge Bonus=VALUE HERE
 
  |Charge Bonus=VALUE HERE
 +
|Bonus vs Cavalry=VALUE HERE
 
  |Melee Evasion (Base)=VALUE HERE
 
  |Melee Evasion (Base)=VALUE HERE
 
  |Melee Evasion (Shield)=VALUE HERE
 
  |Melee Evasion (Shield)=VALUE HERE
Line 173: Line 190:
 
  |Ranged Damage=VALUE HERE
 
  |Ranged Damage=VALUE HERE
 
  |Ranged Damage (Armour Piercing)=VALUE HERE
 
  |Ranged Damage (Armour Piercing)=VALUE HERE
 +
|Ranged Attack Rate=VALUE HERE
 
  |Accuracy=VALUE HERE
 
  |Accuracy=VALUE HERE
 
  |Range=VALUE HERE
 
  |Range=VALUE HERE
Line 178: Line 196:
 
  |Recruitment Cost=VALUE HERE
 
  |Recruitment Cost=VALUE HERE
 
  |Upkeep Cost=VALUE HERE
 
  |Upkeep Cost=VALUE HERE
|Turns to Build=VALUE HERE
 
 
  |Building Requirements=BUILDING REQUIREMENTS HERE
 
  |Building Requirements=BUILDING REQUIREMENTS HERE
 
  |Tech Requirements=TECH REQUIREMENTS HERE
 
  |Tech Requirements=TECH REQUIREMENTS HERE
Line 188: Line 205:
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 +
 
====Further Instructions====
 
====Further Instructions====
 
* '''Image''': You must upload an image for the unit here. This should be the image found on the information panel for that unit in-game.
 
* '''Image''': You must upload an image for the unit here. This should be the image found on the information panel for that unit in-game.
Line 198: Line 216:
 
* '''Shield''': This is where you put the shield type for the unit, such as "Gourd" or "Tower."
 
* '''Shield''': This is where you put the shield type for the unit, such as "Gourd" or "Tower."
 
* '''Morale''': Put the unit's morale value here.
 
* '''Morale''': Put the unit's morale value here.
 +
* '''Speed''': Put the unit's speed here.
 
* '''Melee Damage''': Put the unit's melee damage value here.
 
* '''Melee Damage''': Put the unit's melee damage value here.
 
* '''Melee Damage (Armour Piercing)''': Put the unit's armour piercing melee damage value here.
 
* '''Melee Damage (Armour Piercing)''': Put the unit's armour piercing melee damage value here.
 +
* '''Melee Attack Rate''': Put the unit's melee attack rate value here.
 
* '''Charge Bonus''': Put the unit's charge bonus here. If it doesn't have one, put 0.
 
* '''Charge Bonus''': Put the unit's charge bonus here. If it doesn't have one, put 0.
 +
* '''Bonus vs Cavalry''': Put the unit's bonus against cavalry here. This stat is normally hidden outside the database files If it doesn't have one, put 0.
 
* '''Melee Evasion (Base)''': Put the unit's base melee evasion value here as a percentile.
 
* '''Melee Evasion (Base)''': Put the unit's base melee evasion value here as a percentile.
 
* '''Melee Evasion (Shield)''': Put the unit's shield melee evasion value here as a percentile.
 
* '''Melee Evasion (Shield)''': Put the unit's shield melee evasion value here as a percentile.
Line 208: Line 229:
 
* '''Ranged Damage''': Put the unit's ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
 
* '''Ranged Damage''': Put the unit's ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
 
* '''Ranged Damage (Armour Piercing)''': Put the unit's armour piercing ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
 
* '''Ranged Damage (Armour Piercing)''': Put the unit's armour piercing ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
 +
* '''Ranged Attack Rate''': Put the unit's ranged attack rate value here.
 
* '''Accuracy''': Put the unit's accuracy here. If the unit has no ranged weaponry put N/A instead.
 
* '''Accuracy''': Put the unit's accuracy here. If the unit has no ranged weaponry put N/A instead.
 
* '''Range''': Put the maximum range of the unit's weaponry here. As above, if it doesn't have a ranged weapon put N/A.
 
* '''Range''': Put the maximum range of the unit's weaponry here. As above, if it doesn't have a ranged weapon put N/A.

Latest revision as of 09:16, 19 April 2020

TW3K Unit
Element ELEMENT HERE
Class CLASS HERE
Weight WEIGHT HERE
Unit Size UNIT SIZE HERE
Weaponry WEAPONRY HERE
Armour ARMOUR HERE
Morale VALUE HERE
Speed VALUE HERE
Melee Damage VALUE HERE
Melee Damage (Armour Piercing) VALUE HERE
Melee Attack Rate VALUE HERE
Charge Bonus VALUE HERE
Bonus vs Cavalry BONUS VS CAVALRY HERE
Melee Evasion (Base) VALUE HERE
Armour (Base) VALUE HERE
Ranged Block Chance VALUE HERE
Recruitment Cost VALUE HERE
Upkeep Cost VALUE HERE
Attributes ATTRIBUTES HERE


To use this template copy the following code on to the top of a unit article on the wiki, and fill in the sections according to the further instructions below. This should be used for all vanilla Total War units regardless of which game they are actually from. All information must come from the Vanilla Game, not a mod.































Code:
 
 {{TW3K Unit|image=[[Image:IMAGE HERE]]
 |Element=ELEMENT HERE
 |Class=CLASS HERE
 |Weight=WEIGHT HERE
 |Unit Size=SIZE HERE
 |Weaponry=WEAPONRY HERE
 |Armour=ARMOUR HERE
 |Shield=SHIELD HERE
 |Morale=VALUE HERE
 |Speed=VALUE HERE
 |Melee Damage=VALUE HERE
 |Melee Damage (Armour Piercing)=VALUE HERE
 |Melee Attack Rate=VALUE HERE
 |Charge Bonus=VALUE HERE
 |Bonus vs Cavalry=VALUE HERE
 |Melee Evasion (Base)=VALUE HERE
 |Melee Evasion (Shield)=VALUE HERE
 |Armour (Base)=VALUE HERE
 |Armour (Shield)=VALUE HERE
 |Ranged Block Chance=VALUE HERE
 |Ranged Damage=VALUE HERE
 |Ranged Damage (Armour Piercing)=VALUE HERE
 |Ranged Attack Rate=VALUE HERE
 |Accuracy=VALUE HERE
 |Range=VALUE HERE
 |Ammunition=VALUE HERE
 |Recruitment Cost=VALUE HERE
 |Upkeep Cost=VALUE HERE
 |Building Requirements=BUILDING REQUIREMENTS HERE
 |Tech Requirements=TECH REQUIREMENTS HERE
 |General Class Requirements=GENERAL CLASS REQUIREMENTS HERE
 |General Level Requirements=GENERAL LEVEL REQUIREMENTS HERE
 |Faction Requirements=FACTION REQUIREMENTS HERE
 |Attributes=ATTRIBUTES HERE

}}

Further Instructions

  • Image: You must upload an image for the unit here. This should be the image found on the information panel for that unit in-game.
  • Element: This is where you put the Wu Xing element that the unit corresponds to.
  • Class: This is where you put the subclass that shows up on the unit card, e.g. "Halberd Infantry" or "Shock Cavalry"
  • Weight: This is where you put the weight of the unit that shows up on the unit card, e.g. "Light," "Medium," or "Heavy."
  • Unit Size: This is where you put the number of soldiers/warriors in the unit, for example 160 men, For naval vessels put the number of crew at full strength (e.g. 300 men for a Heavy First Rate in Empire: Total War). Obviously, for units like Amazons/Screeching Women put "women" rather than men. For ships there is no need to split this into sailors and marines, but you can if you wish. Make sure to use the ultra/Huge unit size for all units.
  • Weaponry: This is where you put the weaponry for the unit. It can either be swords, spears, muskets, axes etc. or a combination (e.g. Swords and Muskets for ETW Grenadiers). For ships, put the number of guns/other weapons (e.g. 106 guns).
  • Armour: This is where you put the armor type for the unit, such as "Cloth" or "Segmented Heavy"
  • Shield: This is where you put the shield type for the unit, such as "Gourd" or "Tower."
  • Morale: Put the unit's morale value here.
  • Speed: Put the unit's speed here.
  • Melee Damage: Put the unit's melee damage value here.
  • Melee Damage (Armour Piercing): Put the unit's armour piercing melee damage value here.
  • Melee Attack Rate: Put the unit's melee attack rate value here.
  • Charge Bonus: Put the unit's charge bonus here. If it doesn't have one, put 0.
  • Bonus vs Cavalry: Put the unit's bonus against cavalry here. This stat is normally hidden outside the database files If it doesn't have one, put 0.
  • Melee Evasion (Base): Put the unit's base melee evasion value here as a percentile.
  • Melee Evasion (Shield): Put the unit's shield melee evasion value here as a percentile.
  • Armour (Base): Put the unit's base armor value here.
  • Armour (Shield): Put the unit's shield armor value here.
  • Ranged Block Chance: Put the unit's ranged block chance value here as a percentile.
  • Ranged Damage: Put the unit's ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
  • Ranged Damage (Armour Piercing): Put the unit's armour piercing ranged damage (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
  • Ranged Attack Rate: Put the unit's ranged attack rate value here.
  • Accuracy: Put the unit's accuracy here. If the unit has no ranged weaponry put N/A instead.
  • Range: Put the maximum range of the unit's weaponry here. As above, if it doesn't have a ranged weapon put N/A.
  • Ammunition: Put how much ammunition the unit can carry here. If ammunition is unlimited put "Infinite", if the unit has no ranged weaponry put "N/A".
  • Recruitment Cost: This must be the recruitment cost of the unit on Normal difficulty.
  • Upkeep Cost: This must be the upkeep cost of the unit on Normal difficulty.
  • Building Requirements: You should put the lowest tier building that can recruit this unit (e.g. Governor's House etc.). Do not put more than one building in this section.
  • Tech Requirements: This is where you put technology requirements for the unit, e.g. Marian Reforms, Steam Engines, etc. If there is more than one then list them as bullet points using the <li and </li> tags. If the unit does not require any technology, put None.
  • General Class Requirements: If the unit is only available to a certain general class, put those classes here. Otherwise, put "None".
  • General Level Requirements: If the unit is only available at a certain general level, put said level here. Otherwise, put "None".
  • Faction Requirements: If the unit is only available to a certain faction, list that faction here. Otherwise, put "None".
  • Attributes: This is where you put the units attributes as they appear on the unit information panel in-game (e.g. Paths Seldom Trod etc.) or abilities like "Broadside", "Can't Hide" or "Can form Testudo". If there is more than one then list them as bullet points using the <li and </li> tags. Do not include things like the fortifications you can get if an army in Empire: Total War has been stationary for at least a turn (though stakes for ETW light infantry, which they can set up at any point during the battle, are fine). Likewise, things like "can withdraw" or "can board ships" should not be included as pretty much every unit in every TW game can do these.