Template:Hcs table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
Update template to work for 1-3 creatures
Legate (talk | contribs)
m Add exp icon
Line 4: Line 4:
{| border="0" style="background-color:#{{Green 3}}; border-collapse:collapse; float:left; margin-right:16px;"
{| border="0" style="background-color:#{{Green 3}}; border-collapse:collapse; float:left; margin-right:16px;"
|- style="background-color:#{{Green 1}}; color:white;"  
|- style="background-color:#{{Green 1}}; color:white;"  
! colspan=99 | {{#switch: {{{cr|}}}| Cannon={{link|white|Hero specialty#War Machine specialties|Cannon Specialty}} | Ballista={{link|white|Hero specialty#War Machine specialties|Ballista Specialty}} | {{link|white|Hero specialty#Standard creature specialties|Creature Specialty}}}}
! colspan=99 | {{#switch: {{{cr|}}}| Cannon={{link|white|Hero specialty#War Machine specialties|Cannon Specialty}} | Ballista={{link|white|Hero specialty#War Machine specialties|Ballista Specialty}} | {{link|white|Hero specialty#Standard creature specialties|Creature Specialty}}}}{{swh||}}
|-
|-
! style="background-color:#{{Green 1}}"| {{swh|{{exist|File:Hero {{{hero}}} (HotA).png|[[File:Hero {{{hero}}} (HotA).png|link={{{hero}}}]]|{{{Image|[[File:Hero {{{hero}}}.png|{{{hero}}}|link={{{hero}}}]]}}}}}|{{{Image|[[File:Hero {{{hero}}}.png|{{{hero}}}|link={{{hero}}}]]}}}|noicon=}}
! style="background-color:#{{Green 1}}"| {{swh|{{exist|File:Hero {{{hero}}} (HotA).png|[[File:Hero {{{hero}}} (HotA).png|link={{{hero}}}]]|{{{Image|[[File:Hero {{{hero}}}.png|{{{hero}}}|link={{{hero}}}]]}}}}}|{{{Image|[[File:Hero {{{hero}}}.png|{{{hero}}}|link={{{hero}}}]]}}}|noicon=}}

Revision as of 14:20, 9 January 2025

Variables:

  • hero - hero
  • cr - creature
  • ucr - upg. creature
  • 3cr - 3rd creature
  • batt - creature's basic attack
  • bdef - creature's basic defense
  • ubatt - upg. creature's basic attack
  • ubdef - upg. creature's basic defense
  • 3batt - 3rd creature's basic attack
  • 3bdef - 3rd creature's basic defense

Example:

1)

{{hcs table
| hero= Piquedram
| cr= Azure Dragon
| ucr= Dwarf
| batt= 22
| bdef= 33
| ubatt= 2
| ubdef= 3
}}


Show Creature Specialty Table

Creature Specialty Horn of the Abyss Shadow of Death
PiquedramPiquedram Azure DragonAzure Dragon Dwarf [[File:{{{3cr}}} portrait (HotA).png|link={{{3cr}}}]][[File:{{{3cr}}} portrait.png|{{{3cr}}}|link={{{3cr}}}]]
Level Attack Defense Attack Defense Attack Defense
Level 22 33 2 3 {{{3batt}}} {{{3bdef}}}

2)

{{hcs table
| hero= Jeremy
| cr= Cannon
| batt= 5
| bdef= 6
}}


Show Cannon Specialty Table

Cannon Specialty Horn of the Abyss Shadow of Death
JeremyJeremy CannonCannon [[File:{{{ucr}}} portrait (HotA).png|link={{{ucr}}}]][[File:{{{ucr}}} portrait.png|{{{ucr}}}|link={{{ucr}}}]] [[File:{{{3cr}}} portrait (HotA).png|link={{{3cr}}}]][[File:{{{3cr}}} portrait.png|{{{3cr}}}|link={{{3cr}}}]]
Level Attack Defense Attack Defense Attack Defense
Level 5 6 {{{ubatt}}} {{{ubdef}}} {{{3batt}}} {{{3bdef}}}

3)

{{hcs table
| hero= Anabel
| cr= Pirate
| ucr= Corsair
| 3cr= Sea Dog
| batt= 8
| bdef= 6
| ubatt= 10
| ubdef= 8
| 3batt= 12
| 3bdef= 11
}}


Show Creature Specialty Table

Creature Specialty Horn of the Abyss Shadow of Death
AnabelAnabel PiratePirate CorsairCorsair Sea DogSea Dog
Level Attack Defense Attack Defense Attack Defense
Level 8 6 10 8 12 11

Related Templates