Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Line 18: Line 18:


== Code preview ==
== Code preview ==
{| cellpadding=0 cellspacing=0 border=0 style="width:660px; background-color:#AEA; border: 1px solid #000;" class="sortable"
{{Herotable}}
|- bgcolor=#262 style="height: 25px; color: #DFD"
 
| style="width: 99px; padding-left: 45px;" | '''Name'''
<!--- longes names from list of heroes !--->
| 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}}
| {{Hn|General Kendal}}
<!--- longes names from list of heroes !--->
| Necromancer
| Necromancer
| [[Image:Specialty Meteor shower small.png]]
| [[Image:Specialty Meteor shower small.png]]

Revision as of 11:23, 24 March 2014


Variables

  1. Hero name
  2. Class
  3. Specialty
  4. Skill 1
  5. Skill 2
  6. If empty Skill 2


Use

{{Herotable}}
{{Herotablerow|'name'|'class'|'specialty'|'skill 1'|'skill 2'}}
|}


Code preview

Template:Herotable

|- | General Kendal General Kendal the [[]] | Necromancer | File:Specialty Meteor shower small.png |  Meteor shower | File:Advanced necromancy small.png |  Advanced necromancy | File:Advanced scouting small.png |  Advanced scouting

Template:Herotablerow |}