Template:Spell table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (Kapteeni Ruoska moved page Template:Sr to Template:Spell table row: no acronyms)
No edit summary
Line 12: Line 12:
<pre>{{Sr|'Spell name'|'level'|'class'|'effect'}}</pre>
<pre>{{Sr|'Spell name'|'level'|'class'|'effect'}}</pre>


==Example==
'''Example:'''
<pre>{{St}}
<nowiki>{{Spell table}}
{{Sr|Fly|5|Air magic|Hero fly}}</pre>
{{Spell table row|Fly|5|Air magic|Hero fly}}</nowiki>, gives
gives:


{{St}}
{{Spell table}}
|-
{{Spell table row|Fly|5|Air magic|Enable hero to fly over adventure map.}}
|[[Image:Fly.png‎|Fly|link=Fly]][[Fly]]||align=center|5||[[Air magic]]||Hero fly
|}


[[Category: Table templates|Spell row]]</noinclude>
[[Category: Table templates]]
__NOTOC__</noinclude>

Revision as of 05:26, 22 October 2015

Sr is short of Spell Row.

Use

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.

Variables

1=spell name, 2=level, 3=class, 4=effect

Code
{{Sr|'Spell name'|'level'|'class'|'effect'}}

Example: {{Spell table}} {{Spell table row|Fly|5|Air magic|Hero fly}}, gives

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