Template:Spell: Difference between revisions
Jump to navigation
Jump to search
m (will it respect spaces?) |
m (whitespace tweak) |
||
(17 intermediate revisions by the same user not shown) | |||
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" | {{#if: {{{school|}}}|[[Category:{{{school}}} School| | |||
|- | |- | ||
! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#level Level]: | ! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#level Level]: | ||
| | | {{#if: {{{class1|}}}| | ||
{{#if: {{{class1|}}}| | |||
{{spellline|{{{class1}}}|{{{class1lvl}}}}} | {{spellline|{{{class1}}}|{{{class1lvl}}}}} | ||
|}} | |}} {{#if: {{{class2|}}}| | ||
{{#if: {{{class2|}}}| | |||
{{spellline|{{{class2}}}|{{{class2lvl}}}}} | {{spellline|{{{class2}}}|{{{class2lvl}}}}} | ||
|}} | |}} {{#if: {{{class3|}}}| | ||
{{#if: {{{class3|}}}| | |||
{{spellline|{{{class3}}}|{{{class3lvl}}}}} | {{spellline|{{{class3}}}|{{{class3lvl}}}}} | ||
|}} | |}} {{#if: {{{class4|}}}| | ||
{{#if: {{{class4|}}}| | |||
{{spellline|{{{class4}}}|{{{class4lvl}}}}} | {{spellline|{{{class4}}}|{{{class4lvl}}}}} | ||
|}} | |}} {{#if: {{{class5|}}}| | ||
{{#if: {{{class5|}}}| | |||
{{spellline|{{{class5}}}|{{{class5lvl}}}}} | {{spellline|{{{class5}}}|{{{class5lvl}}}}} | ||
|}} | |}} {{#if: {{{comp|}}}|<nowiki/> | ||
{{#if: {{{comp|}}}|<nowiki/> | |||
{{!}}- | {{!}}- | ||
! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#components Components]: | ! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#components Components]: | ||
Line 44: | Line 37: | ||
{{!}}- | {{!}}- | ||
! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#spellResistance Spell Resistance]: | ! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#spellResistance Spell Resistance]: | ||
{{!}} {{{sr}}}|}} | {{!}} {{{sr}}}|}}{{#if: {{{material|}}}|<nowiki/> | ||
{{!}}- | |||
! [http://www.d20srd.org/srd/magicOverview/spellDescriptions.htm#components Material Components]: | |||
{{!}} ''{{{material}}}''|}} | |||
|} | |} | ||
{{#if: {{{text|}}}| | |||
== Description == | |||
{{{text}}} | |||
|}} | |||
{{#if: {{{seealso|}}}| | |||
== See Also == | |||
{{{seealso}}} | |||
|}} | |||
[[Category:Spells]] | [[Category:Spells]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Example for | Example usage: | ||
Here's an example simple spell: | |||
<pre><nowiki>{{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: | |||
{{Spell | <pre><nowiki>{{Spell | ||
| name=Touch of Fatigue | | name=Touch of Fatigue (optional, defaults to PAGENAME) | ||
| school=Necromancy | | school=Necromancy | ||
| supp=Supplemental school info | |||
| class1=Sor/Wiz | | class1=Sor/Wiz | ||
| class1lvl=0 | | class1lvl=0 | ||
Line 65: | Line 93: | ||
| class5lvl= | | class5lvl= | ||
| comp=V, S, M | | comp=V, S, M | ||
| material=A drop of sweat. | |||
| casttime=1 standard action | | casttime=1 standard action | ||
| range=Touch | | range=Touch | ||
Line 72: | Line 101: | ||
| save=Fortitude negates | | save=Fortitude negates | ||
| sr=Yes | | 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. | ||
</noinclude> | }}</nowiki></pre></noinclude> |
Latest revision as of 15:16, 19 March 2011
Example usage:
Here's an example simple spell:
{{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. }}
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. }}