Difference between revisions of "Template:TW Unit"
From TWC Wiki
Jump to navigationJump to searchTango12345 (talk | contribs) |
(standardising) |
||
(25 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox bordered | + | {| class="infobox bordered info-right" |
− | ! colspan="2" style="font-size:110%; text-align: center | + | ! colspan="2" style="font-size:110%; text-align:center;"|''{{{title|{{PAGENAME}}}}}''<!-- |
− | -->{{#if:{{{image|}}}|<tr><td colspan="2" style=" | + | -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{image}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr> |
|- | |- | ||
− | ! | + | ! Class |
− | | {{{Class|<noinclude | + | | {{{Class|<noinclude>CLASS HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Unit Size |
− | | {{{Unit Size|<noinclude | + | | {{{Unit Size|<noinclude>UNIT SIZE HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Weaponry |
− | | {{{Weaponry|<noinclude | + | | {{{Weaponry|<noinclude>WEAPONRY HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Morale |
− | | {{{ | + | | {{{Morale|<noinclude>VALUE HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Melee Attack |
− | | {{{ | + | | {{{Melee Attack|<noinclude>VALUE HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Ranged Attack |
− | | {{{ | + | | {{{Ranged Attack|<noinclude>VALUE HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | {{#if: {{{Defence_Skill|}}}|<tr><th> Defence Skill |
− | | {{{ | + | </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>}}} | ||
+ | |- | ||
+ | ! Charge Bonus | ||
+ | | {{{Charge Bonus|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Accuracy | ||
+ | | {{{Accuracy|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Range | ||
+ | | {{{Range|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Ammunition | ||
+ | | {{{Ammunition|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Region | ||
+ | | {{{Region|<noinclude>REGION HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Recruitment Cost | ||
+ | | {{{Recruitment Cost|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Upkeep Cost | ||
+ | | {{{Upkeep Cost|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Turns to Build | ||
+ | | {{{Turns to Build|<noinclude>VALUE HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Unit Limit | ||
+ | | {{{Unit Limit|<noinclude>LIMIT HERE</noinclude>}}} | ||
+ | |- | ||
+ | ! Building Requirements | ||
+ | | {{{Building Requirements|<noinclude>BUILDING REQUIREMENT HERE</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Technology Requirements |
− | | {{{Tech Requirements|<noinclude | + | | {{{Tech Requirements|<noinclude>TECH REQUIREMENT HERE</noinclude>}}} |
|- | |- | ||
− | ! | + | ! Attributes |
− | | {{{ | + | | {{{Attributes|<noinclude>ATTRIBUTES HERE</noinclude>}}} |
|- | |- | ||
|} | |} | ||
Line 34: | Line 73: | ||
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 53: | Line 110: | ||
=====Code:===== | =====Code:===== | ||
− | <nowiki> {{Unit|image=[[Image:IMAGE HERE]] | + | <nowiki> |
+ | {{TW Unit|image=[[Image:IMAGE HERE]] | ||
|Class=CLASS HERE | |Class=CLASS HERE | ||
|Unit Size=SIZE HERE | |Unit Size=SIZE HERE | ||
|Weaponry=WEAPONRY 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 | |Region=REGION HERE | ||
|Recruitment Cost=VALUE HERE | |Recruitment Cost=VALUE HERE | ||
|Upkeep Cost=VALUE HERE | |Upkeep Cost=VALUE HERE | ||
+ | |Turns to Build=VALUE HERE | ||
+ | |Unit Limit=LIMIT HERE | ||
|Building Requirements=BUILDING REQUIREMENTS HERE | |Building Requirements=BUILDING REQUIREMENTS HERE | ||
|Tech Requirements=TECH REQUIREMENTS HERE | |Tech Requirements=TECH REQUIREMENTS HERE | ||
− | |Attributes=ATTRIBUTES HERE}} | + | |Attributes=ATTRIBUTES HERE |
+ | }} | ||
</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. | ||
* '''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 | + | * '''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). | ||
− | * '''Region''': You should put the region where the unit can be recruited from in here. This can be found in relevant part of the game files. | + | * '''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. | * '''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. | * '''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. | * '''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. | + | * '''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. Do not include things like | + | * '''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.