Template:5e Spell/doc: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
m (testing)
Line 28: Line 28:
|canon= <!-- blank or true. true of published by WotC -->
|canon= <!-- blank or true. true of published by WotC -->
|domainspell= <!--blank, link to subclass-->
|domainspell= <!--blank, link to subclass-->
|racespell= <!--blank, links to race/subrace-->
</pre>
</pre>
===Example===
===Example===
Line 70: Line 71:
|rules= You make an unarmed melee attack. If successful the target takes d6 psychic damage.<!-- text of spell mechanics -->
|rules= You make an unarmed melee attack. If successful the target takes d6 psychic damage.<!-- text of spell mechanics -->
|higherlevels= This spell's damage increases at 5th (2d6)<!-- blank or description of being cast at higher levels-->
|higherlevels= This spell's damage increases at 5th (2d6)<!-- blank or description of being cast at higher levels-->
|domainspell={{5ed|Foo Subclass}}, {{5ed|Foo Subclass2}}
|racespell={{5ed|Foo Race}}, {{5ed|Bar Subrace}}
|casters=Bard, Sorcerer <!-- list of classes that cast this spell -->
|casters=Bard, Sorcerer <!-- list of classes that cast this spell -->
|nodb=true
|nodb=true

Revision as of 09:22, 23 October 2020

Usage

Template for 5th edition spells.

Syntax

{{5e Spell
|name=
|sorttext=
|level= <!--0 for cantrip-->
|school= <!-- Conjuration, Evocation, etc. -->
|ritual= <!-- y if ritual-->
|casttime= <!-- action, bonus, reaction, minute, hour, {freeform} -->
|casttext= <!-- text after casting time, ex. reaction condition -->
|range= <!-- 60 feet -->
|comp= <!-- V, S, M -->
|material= <!--{freeform} diamond worth 50gp-->
|concentration= <!--y or blank-->
|dur= <!-- duration i=Instantaneous, else 1 round, 1 hour, etc.-->
|summary= <!-- summary of spell -->
|fluff= <!-- if spell has fluff-text -->
|rules= <!-- text of spell mechanics -->
|higherlevels= <!-- blank or description of being cast at higher levels-->
|casters= <!-- list of classes that cast this spell -->
}}

Add'l Optional Entries

|vcomp= <!-- blank or true. valuable component. material has gp value? -->
|ccomp= <!-- blank or true. comsumable component. material consumed in casting? -->
|canon= <!-- blank or true. true of published by WotC -->
|domainspell= <!--blank, link to subclass-->
|racespell= <!--blank, links to race/subrace-->

Example

{{5e Spell
|name=foo
|sorttext=
|level=0<!--0 for cantrip-->
|school=Abjuration <!-- Conjuration, Evocation, etc. -->
|ritual=  <!-- y if ritual-->
|casttime=action<!-- action, bonus, reaction, minute, hour, {freeform} -->
|casttext= <!-- text after casting time, ex. reaction condition -->
|range=Touch<!-- 60 feet -->
|comp=V, S, M<!-- V, S, M -->
|material=A forked stick<!--{freeform} diamond worth 50gp-->
|concentration=y <!--y or blank-->
|dur=up to 1 {{srd5lc|Minute}}<!-- duration Instantaneous, 1 round, 1 hour, etc.-->
|summary= foo produces foo effect<!-- summary of spell -->
|fluff= You wave your hands in the air spouting gibberish<!-- if spell has fluff-text -->
|rules= You make an unarmed melee attack. If successful the target takes d6 psychic damage.<!-- text of spell mechanics -->
|higherlevels=This spell's damage increases at 5th (2d6)<!-- blank or description of being cast at higher levels-->
|casters=Bard, Sorcerer <!-- list of classes that cast this spell -->
}}

produces:


5e Spell foo
Abjuration cantrip
Casting Time: 1 action
Range:  Touch
Components: V, S, M (A forked stick)
Duration: Concentration, up to 1 minute
Scales: Yes
Casters: Bard, Sorcerer
Domain Spell for:
Racial Spell of: Foo Races[[Category:5e Foo Races]], Bar Subraces[[Category:5e Bar Subraces]]
You wave your hands in the air spouting gibberish

You make an unarmed melee attack. If successful the target takes d6 psychic damage.

At Higher Levels. This spell's damage increases at 5th (2d6)