Template:CrComprow: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add sum=y parameter)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>|- class='{{sourceToggle|{{{source|}}}|{{{only|}}}}}' style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | }};"
<includeonly>|- class='{{sourceToggle|{{{source|}}}|{{{only|}}}}}'
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{1|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{1|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{2|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{2|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{3|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{3|}}}
| {{{4|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{4|}}}
| {{{5|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{5|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{6|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{6|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{7|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{7|}}}
| {{{8|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{8|}}}
| {{{9|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{9|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{10|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{10|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{11|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{11|}}}
| {{{12|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{12|}}}
| {{{13|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{13|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{14|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{14|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{15|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{15|}}}
| style="{{#switch: {{{sum|}}} | y = | background-color:#{{Blue 3}}}};" | {{{16|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{16|}}}
| {{{17|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{17|}}}
| {{{18|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{18|}}}
| {{{19|}}}</includeonly><noinclude>
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{19|}}}</includeonly><noinclude>
== Example ==
== Example ==
{{CrCompheader}}
{{CrCompheader}}
{{CrComprow | {{Cn|Pikeman}} | {{town|Castle|noname=}}  | 1 | 4 | 5 | 1 | 3 |10 | 4 | 14 | 28 | 80 | 60 | 1680 | 2240 | 280 | 0.167 | 1.333 | Immune to [[jousting]]}}
{{CrComprow | {{Cn|Pikeman}} | {{town|Castle|noname=}}  | 1 | 4 | 5 | 1 | 3 |10 | 4 | 14 | 28 | 80 | 60 | 1680 | 2240 | 280 | 0.167 | 1.333 | Immune to [[jousting]]}}
{{CrComprow | {{Cn|Centaur}} | {{town|Rampart|noname=}} | 1 | 5 | 3 | 2 | 3 | 8 | 6 | 14 | 28 |100 | 70 | 1960 | 2800 | 224 | 0.114 | 1.429 | }}
{{CrComprow | {{Cn|Centaur}} | {{town|Rampart|noname=}} | 1 | 5 | 3 | 2 | 3 | 8 | 6 | 14 | 28 |100 | 70 | 1960 | 2800 | 224 | 0.114 | 1.429 | }}
{{CrComprow | Average Lvl 1  |                          | 1 |3.6|3.3|1.2|2.6|5.7|4.8|14.7|34.3|62.7|48.3| 1591 | 2103 | 184 | 0.118 | 1.359 | sum=y}}
{{CrComprow | Average Lvl 1  |                          | 1 |3.6|3.3|1.2|2.6|5.7|4.8|14.7|34.3|62.7|48.3| 1591 | 2103 | 184 | 0.118 | 1.359 | sum=y | only=sod}}
{{CrComprow | Average Lvl 1{{-wh}}|                    | 1 |3.6|3.3|1.2|2.6|5.7|4.8|14.7|34.3|62.7|48.3| 1591 | 2103 | 184 | 0.118 | 1.359 | sum=y | only=hota}}
|}
|}


NOTE: Use the 'source' and 'only' parameters for content switching.
NOTE: Use the 'source' and 'only' parameters for content switching.
NOTE: Use 'sum=y' to turn the row yellow.
NOTE: Use 'sum=y' to turn the row yellow.


[[Category: Table templates]]</noinclude>
[[Category: Table templates]]</noinclude>

Latest revision as of 19:06, 30 September 2024

Example[edit | hide | hide all]

NOTE: Averages ignore neutral creatures.

Name Town Lvl Att Def Dmg- Dmg+ HP Spd Gr Max
Gr
AI
Val
Gold Cost Max Gr
Gold cost
Max Gr
AI Val
Max Gr
Total HP
HP
per Gold
AI Val
per Gold
Special



















Pikeman Pikeman 1 4 5 1 3 10 4 14 28 80 60 1680 2240 280 0.167 1.333 Immune to jousting
Centaur Centaur 1 5 3 2 3 8 6 14 28 100 70 1960 2800 224 0.114 1.429
Average Lvl 1 1 3.6 3.3 1.2 2.6 5.7 4.8 14.7 34.3 62.7 48.3 1591 2103 184 0.118 1.359
Average Lvl 1 Horn of the Abyss 1 3.6 3.3 1.2 2.6 5.7 4.8 14.7 34.3 62.7 48.3 1591 2103 184 0.118 1.359

NOTE: Use the 'source' and 'only' parameters for content switching.

NOTE: Use 'sum=y' to turn the row yellow.