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:TW Unit"

From TWC Wiki
Jump to navigationJump to search
m
(standardising)
 
(3 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>
 
|-  
 
|-  
 
! Class
 
! Class
Line 21: Line 21:
 
| {{{Ranged Attack|<noinclude>VALUE HERE</noinclude>}}}
 
| {{{Ranged Attack|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
{{#if: {{{Defence_Skill|}}}|<tr><td style="font-weight: bold; font-size: 100%; text-align: center;"> Defence Skill
+
{{#if: {{{Defence_Skill|}}}|<tr><th> Defence Skill
</td><td> {{{Defence_Skill|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
+
</th><td> {{{Defence_Skill|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 
|}}
 
|}}
{{#if: {{{Armour|}}}|<tr><td style="font-weight: bold; font-size: 100%; text-align: center;"> Armour
+
{{#if: {{{Armour|}}}|<tr><th> Armour
</td><td>  {{{Armour|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
+
</th><td>  {{{Armour|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 
|}}
 
|}}
{{#if: {{{Shield|}}}|<tr><td style="font-weight: bold; font-size: 100%; text-align: center;"> Shield
+
{{#if: {{{Shield|}}}|<tr><th> Shield
</td><td>  {{{Shield|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
+
</th><td>  {{{Shield|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 
|}}
 
|}}
 
! Defence
 
! Defence

Latest revision as of 09:11, 19 April 2020

TW Unit
Class CLASS HERE
Unit Size UNIT SIZE HERE
Weaponry WEAPONRY HERE
Morale VALUE HERE
Melee Attack VALUE HERE
Ranged Attack VALUE HERE
Defence VALUE HERE - DEPRECIATED
Charge Bonus VALUE HERE
Accuracy VALUE HERE
Range VALUE HERE
Ammunition VALUE HERE
Region REGION HERE
Recruitment Cost VALUE HERE
Upkeep Cost VALUE HERE
Turns to Build VALUE HERE
Unit Limit LIMIT HERE
Building Requirements BUILDING REQUIREMENT HERE
Technology Requirements TECH REQUIREMENT 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:
 
 {{TW Unit|image=[[Image:IMAGE HERE]]
 |Class=CLASS HERE
 |Unit Size=SIZE HERE
 |Weaponry=WEAPONRY HERE
 |Morale=VALUE HERE
 |Melee Attack=VALUE HERE
 |Ranged Attack=VALUE HERE
 |Defence=VALUE HERE
 |Charge Bonus=VALUE HERE
 |Accuracy=VALUE HERE
 |Range=VALUE HERE
 |Ammunition=VALUE HERE
 |Region=REGION HERE
 |Recruitment Cost=VALUE HERE
 |Upkeep Cost=VALUE HERE
 |Turns to Build=VALUE HERE
 |Unit Limit=LIMIT HERE
 |Building Requirements=BUILDING REQUIREMENTS HERE
 |Tech Requirements=TECH 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.
  • Class: This is where you put the unit class, for example "line Infantry" or "Elite Cavalry" etc.
  • 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).
  • Morale: Put the unit's morale value here.
  • Melee Attack: Put the unit's melee attack value here.
  • Ranged Attack: Put the unit's ranged attack (ie the strength of the weapon itself) here if the unit as one. If not, just put N/A.
  • Defence Skill: Put the unit's defence skill value here.
  • Armour: Put the unit's armor value here.
  • Shield: Put the unit's shield value here.
  • Defence: This should be depreciated, as it's a total of the Defence+Shield+Armour.
  • Charge Bonus: Put the unit's charge bonus here. If it doesn't have one, put 0.
  • 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".
  • Region: You should put the region where the unit can be recruited from in here. This can be found in the relevant part of the game files. For units that can be recruited worldwide, use Global.
  • 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.
  • Turns to Build: This is for how many turns the unit takes to build.
  • Unit Limit:Put the maximum number of this units that a faction can have at once here. If the unit has no limit put "None" or "Unlimited".
  • 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.
  • 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.