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
(Further Instructions)
(standardising)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered vevent" style="float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; font-size: 90%; text-align: left;" cellpadding="3"  
+
{| class="infobox bordered info-right"
! colspan="2" style="font-size:110%; text-align: center; background-color: #F4E9DF;" class="summary" | ''{{{title|{{PAGENAME}}}}}''<!--
+
! 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>
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Class</div>
+
! Class
| {{{Class|<noinclude><div style="text-align: center;">CLASS HERE</div></noinclude>}}}
+
| {{{Class|<noinclude>CLASS HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Unit Size</div>
+
! Unit Size
| {{{Unit Size|<noinclude><div style="text-align: center;">UNIT SIZE HERE</div></noinclude>}}}
+
| {{{Unit Size|<noinclude>UNIT SIZE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Weaponry</div>
+
! Weaponry
| {{{Weaponry|<noinclude><div style="text-align: center;">WEAPONRY HERE</div></noinclude>}}}
+
| {{{Weaponry|<noinclude>WEAPONRY HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Morale</div>
+
! Morale
| {{{Morale|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Morale|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Melee Attack</div>
+
! Melee Attack
| {{{Melee Attack|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Melee Attack|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Ranged Attack</div>
+
! Ranged Attack
| {{{Ranged Attack|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Ranged Attack|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Defence</div>
+
{{#if: {{{Defence_Skill|}}}|<tr><th> Defence Skill
| {{{Defence|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
</th><td> {{{Defence_Skill|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 +
|}}
 +
{{#if: {{{Armour|}}}|<tr><th> Armour
 +
</th><td>  {{{Armour|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 +
|}}
 +
{{#if: {{{Shield|}}}|<tr><th> Shield
 +
</th><td>  {{{Shield|<noinclude>VALUE HERE</noinclude>}}}</td></tr>
 +
|}}
 +
! Defence
 +
| {{{Defence|<noinclude>VALUE HERE - DEPRECIATED</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Charge Bonus</div>
+
! Charge Bonus
| {{{Charge Bonus|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Charge Bonus|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Accuracy</div>
+
! Accuracy
| {{{Accuracy|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Accuracy|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Range</div>
+
! Range
| {{{Range|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Range|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Ammunition</div>
+
! Ammunition
| {{{Ammunition|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Ammunition|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Region</div>
+
! Region
| {{{Region|<noinclude><div style="text-align: center;">REGION HERE</div></noinclude>}}}
+
| {{{Region|<noinclude>REGION HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Recruitment Cost</div>
+
! Recruitment Cost
| {{{Recruitment Cost|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Recruitment Cost|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Upkeep Cost</div>
+
! Upkeep Cost
| {{{Upkeep Cost|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Upkeep Cost|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Turns to Build</div>
+
! Turns to Build
| {{{Turns to Build|<noinclude><div style="text-align: center;">VALUE HERE</div></noinclude>}}}
+
| {{{Turns to Build|<noinclude>VALUE HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Unit Limit</div>
+
! Unit Limit
| {{{Unit Limit|<noinclude><div style="text-align: center;">LIMIT HERE</div></noinclude>}}}
+
| {{{Unit Limit|<noinclude>LIMIT HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Building Requirements</div>
+
! Building Requirements
| {{{Building Requirements|<noinclude><div style="text-align: center;">BUILDING REQUIREMENT HERE</div></noinclude>}}}
+
| {{{Building Requirements|<noinclude>BUILDING REQUIREMENT HERE</noinclude>}}}
 
|-  
 
|-  
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Technology Requirements</div>
+
! Technology Requirements
| {{{Tech Requirements|<noinclude><div style="text-align: center;">TECH REQUIREMENT HERE</div></noinclude>}}}
+
| {{{Tech Requirements|<noinclude>TECH REQUIREMENT HERE</noinclude>}}}
 
|-
 
|-
! style="background-color: #F4E9DF;" | <div style="text-align: center;">Attributes</div>
+
! Attributes
| {{{Attributes|<noinclude><div style="text-align: center;">ATTRIBUTES HERE</div></noinclude>}}}
+
| {{{Attributes|<noinclude>ATTRIBUTES HERE</noinclude>}}}
 
|-
 
|-
 
|}
 
|}
Line 127: Line 136:
 
* '''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.
 
* '''Class''': This is where you put the unit class, for example "line Infantry" or "Elite Cavalry" etc.
 
* '''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 (ETW Unit)|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''' unit size for all units.
+
* '''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 (ETW Unit)|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).
 
* '''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.
 
* '''Morale''': Put the unit's morale value here.
 
* '''Melee Attack''': Put the unit's melee attack 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.
 
* '''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''': Put the unit's defence value here.
+
* '''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.
 
* '''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.
 
* '''Accuracy''': Put the unit's accuracy here. If the unit has no ranged weaponry put N/A instead.
Line 145: Line 157:
 
* '''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 <nowiki>the <li and </li> tags</nowiki>. If the unit does not require any technology, put '''None'''.
 
* '''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 <nowiki>the <li and </li> tags</nowiki>. 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 <nowiki>the <li and </li> tags</nowiki>. 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.
 
* '''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 <nowiki>the <li and </li> tags</nowiki>. 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.
[[Category:Template]]
+
[[Category:Infobox Template]]
 
</noinclude>
 
</noinclude>

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.