Template:Spell table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|{{Sn|{{{1}}}}}||align=center|{{{2}}}||[[{{{3}}}]]||{{{4}}}</includeonly><noinclude>
|{{Sn|{{{1}}}}}||align=center|{{{2}}}||[[{{{3}}}]]||{{{4}}}</includeonly><noinclude>
'''Sr''' is short of '''S'''pell '''R'''ow.
'''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.


==Use==
'''Variables:'''
It's for [[List of spells]] table use '''only''' to use with [[template:St]], to show spell image, name and all other info in table.
# spell name
# level
# class
# effect


=====Variables=====
1=spell name, 2=level, 3=class, 4=effect
=====Code=====
<pre>{{Sr|'Spell name'|'level'|'class'|'effect'}}</pre>
'''Example:'''
<nowiki>{{Spell table}}
<nowiki>{{Spell table}}
{{Spell table row|Fly|5|Air magic|Hero fly}}</nowiki>, gives
{{Spell table row|Fly|5|Air magic|Enables hero to fly over adventure map}}</nowiki>, gives


{{Spell table}}
{{Spell table}}
{{Spell table row|Fly|5|Air magic|Enables hero to fly over adventure map.}}
{{Spell table row|Fly|5|Air magic|Enables hero to fly over adventure map}}


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

Revision as of 05:32, 22 October 2015

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

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

Name Level Class Effect
 Fly 5 Air magic Enables hero to fly over adventure map