Template:Spell name: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (Kapteeni Ruoska moved page Template:Sn to Template:Spell name: no acronyms)
mNo edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1}}}.png|{{{1}}}|link={{{1}}}]][[{{{1}}}]]</includeonly><noinclude>
<includeonly>[[File:{{{spell|{{{1}}}}}}_small.png|{{{2|}}}|link={{{spell_link|{{{spell|{{{1}}}}}}}}}]]{{-}}[[{{{spell_link|{{{spell|{{{1}}}}}}}}}|{{{spell|{{{1}}}}}}]]</includeonly><noinclude>
'''Sn''' is short of '''S'''pell '''N'''ame.
'''Template:Spell name''' is a template used to show a spell's image and name with a link to it.


==Use==
== How to use it ==
It's used to show spell image and name with a link to it
'''Variables:'''


=====Variables=====
1 = spell name<br/>
1=[[spells|spell]] name
2 = size (optional)


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


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


[[Image:Fly.png|Fly|link=Fly]][[Fly]]
{{Sn|Fly}}


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


[[Category: Table templates|Spell name]]
{{Sn|Inferno|spell_link=Inferno (spell)}}
__NOTOC__
 
'''Code:'''
<pre>{{Sn|Bless|32px}}</pre>
'''Example:'''
 
{{Sn|Bless|32px}}
 
[[Category: Table templates]]
</noinclude>
</noinclude>

Latest revision as of 21:14, 12 October 2024

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 | hide | hide all]

Variables:

1 = spell name
2 = size (optional)

spell_link=

Code:

{{Sn|Fly}}

Example:

 Fly

Code:

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

Example:

 Inferno

Code:

{{Sn|Bless|32px}}

Example:

 Bless