Difference between revisions of "Template:Spell"

From Sourcebook Wiki
Jump to: navigation, search
m (trying to fix seealso)
(default name to PAGENAME)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{| class="spelltable" cellspacing="0" cellpadding="2"
 
{| class="spelltable" cellspacing="0" cellpadding="2"
|+ style="font-size: larger; white-space: nowrap;padding:10px; text-align:left;font-weight:bold;" | {{{name}}}
+
|+ style="font-size: larger; white-space: nowrap;padding:10px; text-align:left;font-weight:bold;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
| colspan="2" style="padding-bottom:10px;"| {{#if: {{{school|}}}|[[Category:{{{school}}} School]][[:Category:{{{school}}} School|{{{school}}}]]|}} {{#if: {{{supp|}}}|<nowiki/>{{{supp}}}<nowiki/>|}}
 
| colspan="2" style="padding-bottom:10px;"| {{#if: {{{school|}}}|[[Category:{{{school}}} School]][[:Category:{{{school}}} School|{{{school}}}]]|}} {{#if: {{{supp|}}}|<nowiki/>{{{supp}}}<nowiki/>|}}
Line 59: Line 59:
  
 
<pre><nowiki>{{Spell
 
<pre><nowiki>{{Spell
| name=Touch of Fatigue
+
| name=Touch of Fatigue (optional, defaults to PAGENAME)
 
| school=Necromancy
 
| school=Necromancy
 
| supp=Supplemental school info
 
| supp=Supplemental school info

Revision as of 21:44, 15 February 2011

Example usage:

{{Spell
| name=Touch of Fatigue (optional, defaults to PAGENAME)
| school=Necromancy
| supp=Supplemental school info
| class1=Sor/Wiz
| class1lvl=0
| class2=Drd
| class2lvl=8
| class3=Pal
| class3lvl=1
| class4=
| class4lvl=
| class5=
| class5lvl=
| comp=V, S, M
| material=A drop of sweat.
| casttime=1 standard action
| range=Touch
| tsea=t
| subj=Creature touched
| dur=1 round/level
| save=Fortitude negates
| sr=Yes
| text=You can include the spell text here if you want. You can leave this param blank and type it after the template if you want.
| seealso=This field is optional but is handy to reference other spells/affects.
}}