Template:Spell table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
==Example==
==Example==
<pre>{{St}}
<pre>{{St}}
{{Sr|Fly|5|Air|Hero fly}}</pre>
{{Sr|Fly|5|Air magic|Hero fly}}</pre>
gives:
gives:


{{St}}
{{St}}
|-
|-
|[[Image:Fly.png‎|Fly|link=Fly]][[Fly]]||align=center|5||[[Air]]||Hero fly
|[[Image:Fly.png‎|Fly|link=Fly]][[Fly]]||align=center|5||[[Air magic]]||Hero fly
|}
|}


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

Revision as of 08:18, 19 March 2014

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

{{St}}
{{Sr|Fly|5|Air magic|Hero fly}}

gives:

Template:St |- |FlyFly||align=center|5||Air magic||Hero fly |}