Template:Spell name: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(Sn and Sn1 merging)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1}}}.png|{{{1}}}|link={{{1}}}]][[{{{1}}}]]</includeonly><noinclude>
<includeonly>[[File:{{{spell|{{{1}}}}}}_small.png|link={{{spell_link|{{{spell|{{{1}}}}}}}}}]]{{-}}[[{{{spell_link|{{{spell|{{{1}}}}}}}}}|{{{spell|{{{1}}}}}}]]</includeonly><noinclude>
'''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 ==
'''Variables:'''


'''SpellSn''' is short of '''S'''pell '''N'''ame.
1 = spell name


==Use==
spell_link=
It's used to show spell image and name with a link to it


=====Variables=====
'''Code:'''
1=[[spells|spell]] name
<pre>{{Sn|Fly}}</pre>
'''Example:'''


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


==Example==
'''Code:'''
<nowiki>{{Sn|Fly}}</nowiki>
<pre>{{Sn|Inferno|spell_link=Inferno (spell)}}</pre>
gives:
'''Example:'''


[[Image:Fly.png|Fly|link=Fly]][[Fly]]
{{Sn|Inferno|spell_link=Inferno (spell)}}


== See also ==
[[Category: Table templates]]
* [[Template: Spell table]]
* [[Template: Spell table row]]
 
[[Category: Table templates|Spell name]]
__NOTOC__
</noinclude>
</noinclude>

Latest revision as of 01:03, 26 May 2021

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

How to use it[edit]

Variables:

1 = spell name

spell_link=

Code:

{{Sn|Fly}}

Example:

 Fly

Code:

{{Sn|Inferno|spell_link=Inferno (spell)}}

Example:

 Inferno