Template:Spell table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
| style="padding-left: 5px; padding-right: 5px;"| {{Sn1|spell={{{1}}}|spell_link={{{spell_link|{{{1}}}}}}}}
| style="padding-left: 5px; padding-right: 5px;"| {{Sn1|spell={{{1}}}|spell_link={{{spell_link|{{{1}}}}}}}}
| align=center |{{{2}}}
| align=center |{{{2}}}
| style="padding-right: 20px; white-space: nowrap;" | [[School_of_{{{3}}}|{{{3}}}]]
| style="padding-right: 20px; white-space: nowrap;" | {{{all_schools|[[School_of_{{{3}}}|{{{3}}}]]}}}
| class="unsortable" style="white-space: normal; font-size:90%"  | {{{4}}}</includeonly><noinclude>
| class="unsortable" style="white-space: normal; font-size:90%"  | {{{4}}}</includeonly><noinclude>


Line 12: Line 12:
# class
# class
# effect
# effect
: all_schools


<nowiki>{{Spell table}}
<nowiki>{{Spell table}}

Revision as of 20:54, 8 July 2018


Spell table row is a template to use together wit Template:Spell table. It purpose is to show a spell image, name, class and effect in one row. The main use is in list of spells page.

Variables:

  1. spell name
  2. level
  3. class
  4. effect
all_schools

{{Spell table}} {{Spell table row|Fly|5|Air Magic|Enables hero to fly over adventure map}}, gives

Name Level Class Effect
Template:Sn1 5 Air Magic Enables hero to fly over adventure map

See also