Template:CrComprow: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
mNo edit summary
Legate (talk | contribs)
m Highlight the sum row for H3Css
 
Line 1: Line 1:
<includeonly>|- class='{{sourceToggle|{{{source|}}}|{{{only|}}}}}'
<includeonly>|- class='{{sourceToggle|{{{source|}}}|{{{only|}}}}}'
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{1|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{1|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{2|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{2|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{3|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{3|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{4|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{4|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{5|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{5|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{6|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{6|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{7|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{7|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{8|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{8|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{9|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{9|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{10|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{10|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{11|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{11|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{12|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{12|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{13|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{13|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{14|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{14|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{15|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{15|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon | background-color:#{{Blue 3}}}};" | {{{16|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important | background-color:#{{Blue 3}}}};" | {{{16|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{17|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{17|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{18|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{18|}}}
| style="{{#switch: {{{sum|}}} | y = background-color:LemonChiffon}};" | {{{19|}}}</includeonly><noinclude>
| style="{{#switch: {{{sum|}}} | y = background-color:#{{Blue 2}}C0!important}};" | {{{19|}}}</includeonly><noinclude>
== Example ==
== Example ==
{{CrCompheader}}
{{CrCompheader}}
Line 29: Line 29:
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 highlight the row.


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

Latest revision as of 14:16, 12 November 2025

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



















PikemanPikeman Pikeman 1 4 5 1 3 10 4 14 28 80 60 1680 2240 280 0.167 1.333 Immune to jousting
CentaurCentaur 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 highlight the row.