Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| <includeonly>|- | | <includeonly>|- |
| | style="padding-left: 5px; padding-right: 5px; border-top: 1px solid gray;"| {{Sn|{{{1}}}|spell_link={{{spell_link|{{{1}}}}}}}}
| | |{{Sn|{{{1}}}}}||align=center|{{{2}}}||[[{{{3}}}]]||{{{4}}}</includeonly><noinclude> |
| | align=center style="border-top: 1px solid gray;"|{{{2}}} | | '''Sr''' is short of '''S'''pell '''R'''ow. |
| | style="padding-right: 20px; white-space: nowrap; border-top: 1px solid gray;" | {{{all_schools|[[School_of_{{{3}}}|{{{3}}}]]}}}
| |
| | class="unsortable" style="white-space: normal; font-size:90%; border-top: 1px solid gray;" | {{{4}}}</includeonly><noinclude> | |
|
| |
|
| '''Spell table row''' is a template to use together wit [[:Template:Spell table]]. It purpose is to show a spell image, name, class and effect in one row. The main use is in [[list of spells]] page. | | ==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:'''
| | =====Variables===== |
| # spell name
| | 1=spell name, 2=level, 3=class, 4=effect |
| # level
| |
| # class
| |
| # effect
| |
| : all_schools
| |
|
| |
|
| <nowiki>{{Spell table}} | | =====Code===== |
| {{Spell table row|Fly|5|Air Magic|Enables hero to fly over adventure map}}</nowiki>, gives
| | <pre>{{Sr|'Spell name'|'level'|'class'|'effect'}}</pre> |
|
| |
|
| {{Spell table}} | | ==Example== |
| {{Spell table row|Fly|5|Air Magic|Enables hero to fly over adventure map}} | | <pre>{{St}} |
| | {{Sr|Fly|5|Air|Hero fly}}</pre> |
| | gives: |
| | |
| | {{St}} |
| | |- |
| | |[[Image:Fly.png|Fly|link=Fly]][[Fly]]||align=center|5||[[Air]]||Hero fly |
| |} | | |} |
|
| |
|
| == See also ==
| | [[Category:Text templates|Table Spell row]]</noinclude> |
| * [[:Template: Spell table]]
| |
| | |
| [[Category: Table templates]] | |
| __NOTOC__</noinclude>
| |