Template:Hcs table: Difference between revisions
Jump to navigation
Jump to search
Update template to work for 1-3 creatures |
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
![]()
|
![]()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Level | 22 | 33 | 2 | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2)
{{hcs table
| hero= Jeremy
| cr= Cannon
| batt= 5
| bdef= 6
}}
Show Cannon Specialty Table
| Cannon Specialty | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
![]()
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Level | 5 | 6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
![]()
|
![]()
|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Level | 8 | 6 | 10 | 8 | 12 | 11 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||









