Difference between revisions of "Template:Spell"

From Sourcebook Wiki
Jump to: navigation, search
(describe TSEA parameter)
(providing simpler example first)
Line 57: Line 57:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Example usage:
 
Example usage:
 +
 +
Here's an example simple spell:
 +
<pre><nowikie>{{Spell
 +
| school=Divination
 +
| class1=Brd
 +
| class1lvl=0
 +
| comp=S, F
 +
| casttime=1 standard action
 +
| range=Personal
 +
| tsea=t
 +
| subj=Self
 +
| dur=1 min/lvl or until discharged
 +
| save=Fort. Neg. (Harmless)
 +
| sr=No
 +
| text=The caster gains perfect pitch for the duration of the spell. This allows the caster to learn the notes to any song just my listening to it, as well as granting +2 to any musical perform check.
 +
}}</nowiki></pre>
 +
 +
Note that:
 +
 +
''TSEA = [T]arget, target[S], [E]ffect, [A]rea''
 +
 +
All optional fields are shown in the below example:
  
 
<pre><nowiki>{{Spell
 
<pre><nowiki>{{Spell
Line 85: Line 107:
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
TSEA = [T]arget, target[S], [E]ffect, [A]rea
 
 
</noinclude>
 
</noinclude>

Revision as of 12:27, 18 March 2011

Example usage:

Here's an example simple spell:

<nowikie>{{Spell
| school=Divination
| class1=Brd
| class1lvl=0
| comp=S, F
| casttime=1 standard action
| range=Personal
| tsea=t
| subj=Self
| dur=1 min/lvl or until discharged
| save=Fort. Neg. (Harmless)
| sr=No
| text=The caster gains perfect pitch for the duration of the spell. This allows the caster to learn the notes to any song just my listening to it, as well as granting +2 to any musical perform check.
}}</nowiki>

Note that:

TSEA = [T]arget, target[S], [E]ffect, [A]rea

All optional fields are shown in the below example:

{{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.
}}