Template:Spell name: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Sn and Sn1 merging)
mNo edit summary
Line 1: Line 1:
<includeonly>[[File:{{{spell|{{{1}}}}}}_small.png|link={{{spell_link|{{{spell|{{{1}}}}}}}}}]]{{-}}[[{{{spell_link|{{{spell|{{{1}}}}}}}}}|{{{spell|{{{1}}}}}}]]</includeonly><noinclude>
<includeonly>[[File:{{{spell|{{{1}}}}}}_small.png|{{{2|}}}|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.   


Line 5: Line 5:
'''Variables:'''
'''Variables:'''


1 = spell name
1 = spell name<br/>
2 = size (optional)


spell_link=
spell_link=
Line 20: Line 21:


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


[[Category: Table templates]]
[[Category: Table templates]]
</noinclude>
</noinclude>

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

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