Template:Spell name: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
'''Template:Spell name''' is a template used to show a spell's image and name with a link to it.   
'''Template:Spell name''' is a template used to show a spell's image and name with a link to it.   


 
== How to use it ==
'''SpellSn''' is short of '''S'''pell '''N'''ame.
'''Variables:'''
 
==Use==
It's used to show spell image and name with a link to it
 
=====Variables=====
1=[[spells|spell]] name
1=[[spells|spell]] name


=====Code=====
'''Code:'''
<nowiki>{{Sn|'spell name'}}</nowiki>
<nowiki>{{Sn|'spell name'}}</nowiki>


==Example==
'''Example:'''
<nowiki>{{Sn|Fly}}</nowiki>
<nowiki>{{Sn|Fly}}</nowiki>, gives
gives:


[[Image:Fly.png|Fly|link=Fly]][[Fly]]
[[Image:Fly.png|Fly|link=Fly]][[Fly]]
Line 24: Line 18:
* [[Template: Spell table row]]
* [[Template: Spell table row]]


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

Revision as of 05:11, 21 October 2015

Template:Spell name is a template used to show a spell's image and name with a link to it.

How to use it

Variables: 1=spell name

Code: {{Sn|'spell name'}}

Example: {{Sn|Fly}}, gives

FlyFly

See also