Template:Sptrow: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
Basic template added based on existing table. Feel free to improve the colors.
 
Turnam (talk | contribs)
test with colored borders. Table description says factions are color-coded by alignment but this does not happen with H3CSS. These borders stay visible even in H3CSS.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
|- style="background-color:#{{#switch: {{{2}}}| Water={{Blue 4}} | | Fire={{Red 4}} | Air={{Green 4}} | Earth={{Tan 4}}}} "
|- style="background-color:#{{#switch: {{{2}}}| Water={{Blue 4}} | | Fire={{Red 4}} | Air={{Green 4}} | Earth={{Tan 4}}}} "
| style="text-align: left;" | {{Sn|{{{1}}}}}
| style="text-align: left;" | {{Sn|{{{1}}}|spell_link={{{spell_link|{{{1}}}}}}}}
| [[School of {{{2}}} Magic|{{{2}}}]]
| [[School of {{{2}}} Magic|{{{2}}}]]
| style="background-color:white"        | {{{3}}}
| style="background-color:white"        | {{{3}}}
| style="background-color:#{{Teal 4}}"   | {{{4}}}
| style="border: 3px solid #{{Teal 2}}A0"| {{{4}}}
| style="background-color:#{{Teal 4}}"   | {{{5}}}
| style="border: 3px solid #{{Teal 2}}A0"| {{{5}}}
| style="background-color:#{{Teal 4}}"   | {{{6}}}
| style="border: 3px solid #{{Teal 2}}A0"| {{{6}}}
| style="background-color:#{{Red 4}}"   | {{{7}}}
| style="border: 3px solid #{{Red 2}}A0" | {{{7}}}
| style="background-color:#{{Red 4}}"   | {{{8}}}
| style="border: 3px solid #{{Red 2}}A0" | {{{8}}}
| style="background-color:#{{Red 4}}"   | {{{9}}}
| style="border: 3px solid #{{Red 2}}A0" | {{{9}}}
| style="background-color:#{{Yellow 4}}" | {{{10}}}
| style="border: 3px solid #{{Tan 2}}A0" | {{{10}}}
| style="background-color:#{{Yellow 4}}" | {{{11}}}
| style="border: 3px solid #{{Tan 2}}A0" | {{{11}}}
| style="background-color:#{{Yellow 4}}" | {{{12}}}
| style="border: 3px solid #{{Tan 2}}A0" | {{{12}}}
| style="background-color:#{{Yellow 4}}" | {{{13}}}
| class='onlyhota' style="border: 3px solid #{{Tan 2}}A0" | {{{13}}}
| style="background-color:#{{Yellow 4}}" | {{{14}}}</includeonly><noinclude>
| class='onlyhota' style="border: 3px solid #{{Tan 2}}A0" | {{{14}}}
| class='onlyhota' style="border: 3px solid #{{Tan 2}}A0" | {{{15}}}</includeonly><noinclude>


== Example ==
== Example ==
{{sptheader}}
{{sptheader}}
{{sptrow| Bless    | Water | 1 |10 | 5 | 5 | 0 | 0 | 3 | 3 | 5 | 5 |10 | 3}}
{{sptrow| Bless    | Water | 1 |10 | 5 | 5 | 0 | 0 | 3 | 3 | 5 | 5 |10 | 3 | a}}
{{sptrow| Quicksand | Earth | 2 | 4 | 4 | 6 | 4 | 4 | 4 | 6 | 6 | 4 | 4 | 4}}
{{sptrow| Quicksand | Earth | 2 | 4 | 4 | 6 | 4 | 4 | 4 | 6 | 6 | 4 | 4 | 4 | b}}
{{sptrow| Berserk  | Fire  | 4 | 5 | 5 | 5 | 5 |10 | 5 | - | - | 5 | 5 | 5}}
{{sptrow| Berserk  | Fire  | 4 | 5 | 5 | 5 | 5 |10 | 5 | - | - | 5 | 5 | 5 | c}}
{{sptrow| Magic Mirror|Air  | 5 | - |16 |14 | 0 | 0 |12 | - | - |13 | - |16}}
{{sptrow| Inferno  | Fire  | 4 | 5 | 5 | 5 |10 | 5 | 5 | - | - |10 | 5 |10 | d |spell_link=Inferno (spell)}}
{{sptrow| Magic Mirror|Air  | 5 | - |16 |14 | 0 | 0 |12 | - | - |13 | - |16 | e}}
|}
|}


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

Latest revision as of 18:05, 25 January 2026


Example[edit | hide | hide all]

School Level















  Bless Water 1 10 5 5 0 0 3 3 5 5 10 3 a
  Quicksand Earth 2 4 4 6 4 4 4 6 6 4 4 4 b
  Berserk Fire 4 5 5 5 5 10 5 - - 5 5 5 c
  Inferno Fire 4 5 5 5 10 5 5 - - 10 5 10 d
  Magic Mirror Air 5 - 16 14 0 0 12 - - 13 - 16 e