Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
 
(56 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|- style="white-space:nowrap;"
| {{Hn|{{{1}}}}}||{{{2}}}||[[Image:Specialty_{{{3}}}_small.png]]||{{-}}{{{3}}}||[[Image:{{{4}}}_small.png]]||{{-}}[[{{{4}}}]]||{{{6|[[Image:{{{5}}}_small.png]]}}}||{{-}}{{{6|[[{{{5}}}]]}}}</includeonly><noinclude>
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}||style="border-right:5px solid #{{Green 3}}"|{{-}}[[{{{2}}}]]{{-}}||[[File:Specialty_{{{3}}}_small.gif|link={{{3}}}]]||style="border-right:5px solid #{{Green 3}}; white-space: nowrap;"|{{-}}[[{{{3}}}]]||[[File:{{{4}}}_small.gif|{{{4}}}|link={{{4}}}]]||{{-}}[[{{{4}}}]]{{-}}||{{{6|[[Image:{{{5}}}_small.gif|{{{5}}}|link={{{5}}}]]}}}||{{-}}{{{6|[[{{{5}}}]]{{-}}}}}||{{{7|}}}|| style="padding-right:0.5em;"|{{{no_spell|[[File:{{{spell}}}_small.png|link={{{spell_link|{{{spell}}}}}}]]{{-}}[[{{{spell_link|{{{spell}}}}}}|{{{spell}}}]]{{-}}}}}{{{spell+|}}}</includeonly><noinclude>
 
{{Hero table}}
{{Hero table row|Lord Haart|hero_link=Lord Haart#Lord_Haart_the_Death_Knight|image=Lord Haart Death Knight|Death Knight|Black Knights|Basic Necromancy|Basic Estates|spell=Slow}}
|}


== Variables ==
== Variables ==
Line 8: Line 12:
# Skill 1
# Skill 1
# Skill 2
# Skill 2
# If empty Skill 2
# If the hero has no skill 2
 
: image
 
: no_spell
== Use ==
: spell
<pre>{{Herotable}}
: spell_link
{{Herotablerow|'name'|'class'|'specialty'|'skill 1'|'skill 2'}}
: name
|}</pre>
 
 
== Code preview ==
{| cellpadding=0 cellspacing=0 border=0 style="width:660px; background-color:#AEA; border: 1px solid #000;" class="sortable"
|- bgcolor=#262 style="height: 25px; color: #DFD"
| style="width: 99px; padding-left: 45px;" | '''Name'''
| style="width: 82px;"                    | '''Class'''
| style="width: 30px;" class="unsortable"  | <!--- Small specialty picture !--->
| style="width: 93px;"                    | '''Specialty'''
| style="width: 26px;" class="unsortable"  | <!--- First small secondary skill picture !--->
| style="width: 139px;"                    | '''Skill 1'''
| style="width: 26px;" class="unsortable"  | <!--- Second small secondary skill picture !--->
|                                            '''Skill 2''' <!--- Second secondary skill !--->
|-
| {{Hn|General Kendal}}
<!--- longes names from list of heroes !--->
| Necromancer
| [[Image:Specialty Meteor shower small.png]]
| &nbsp;Meteor shower
| [[Image:Advanced necromancy small.png]]
| &nbsp;Advanced necromancy
| [[Image:Advanced scouting small.png]]
| &nbsp;Advanced scouting
 
<!--- template inside template !--->
{{Herotablerow|Gelu|Ranger|Sharpshooters|Basic archery|Basic leadership}}
|}


{{Hero template 'see also'}}


[[Category: Table templates|{{PAGENAME}}]]</noinclude>
[[Category: Table templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:19, 30 April 2021