Template:5e Spell/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Usage== Template for 5th edition spells. ==Syntax== <pre>{{5e Spell2 |name= |sorttext= |level= <!--0 for cantrip--> |school= <!-- Conjuration, Evocation, etc. --> |ritual=...") |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5e | <pre>{{5e Spell | ||
|name= | |name= | ||
|sorttext= | |sorttext= | ||
|refs= | |||
|level= <!--0 for cantrip--> | |level= <!--0 for cantrip--> | ||
|school= <!-- Conjuration, Evocation, etc. --> | |school= <!-- Conjuration, Evocation, etc. --> | ||
Line 26: | Line 27: | ||
<pre>|vcomp= <!-- blank or true. valuable component. material has gp value? --> | <pre>|vcomp= <!-- blank or true. valuable component. material has gp value? --> | ||
|ccomp= <!-- blank or true. comsumable component. material consumed in casting? --> | |ccomp= <!-- blank or true. comsumable component. material consumed in casting? --> | ||
|canon= <!-- blank or | |canon= <!-- blank or true. true of published by WotC --> | ||
|domainspell= <!--blank, link to subclass--> | |||
|racespell= <!--blank, links to race/subrace--> | |||
</pre> | </pre> | ||
===Example=== | ===Example=== | ||
<pre>{{5e | <pre>{{5e Spell | ||
|name=foo | |name=foo | ||
|sorttext= | |sorttext= | ||
|refs=<ref name="foo1">{{Cite Pub|Foo's Guide to Nothing|pages=103}} Licensed: [[CC-BY-SA]].</ref> | |||
|level=0<!--0 for cantrip--> | |level=0<!--0 for cantrip--> | ||
|school=Abjuration <!-- Conjuration, Evocation, etc. --> | |school=Abjuration <!-- Conjuration, Evocation, etc. --> | ||
Line 52: | Line 56: | ||
'''''produces:''''' | '''''produces:''''' | ||
{{5e | {{5e Spell | ||
|name= foo | |name=foo | ||
|sorttext= | |sorttext= | ||
|refs=<ref name="foo1">{{Cite Pub|Foo's Guide to Nothing|pages=103}} Licensed: [[CC-BY-SA]].</ref> | |||
|level= 0<!--0 for cantrip--> | |level= 0<!--0 for cantrip--> | ||
|school= Abjuration <!-- Conjuration, Evocation, etc. --> | |school= Abjuration <!-- Conjuration, Evocation, etc. --> | ||
Line 68: | Line 73: | ||
|fluff= You wave your hands in the air spouting gibberish<!-- if spell has fluff-text --> | |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 --> | |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--> | |scales= | ||
|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 --> | |casters=Bard, Sorcerer <!-- list of classes that cast this spell --> | ||
|nodb=true | |||
}} | }} | ||
<includeonly>[[Category:5e]] [[Category:5e Templates]]</includeonly><noinclude> | <includeonly>[[Category:5e]] [[Category:5e Templates]]</includeonly><noinclude> | ||
[[Category:Template documentation|{{PAGENAME}}]]<noinclude> | [[Category:Template documentation|{{PAGENAME}}]]<noinclude> |
Latest revision as of 18:37, 20 August 2021
Usage
Template for 5th edition spells.
Syntax
{{5e Spell |name= |sorttext= |refs= |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= |refs=<ref name="foo1">{{Cite Pub|Foo's Guide to Nothing|pages=103}} Licensed: [[CC-BY-SA]].</ref> |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 [1]
Abjuration cantrip
Casting Time: 1 action
Range: Touch
Components: V, S, M (A forked stick)
Duration: Concentration, up to 1 minute
Scales: No
Casters: Bard, Sorcerer
You wave your hands in the air spouting gibberish
You make an unarmed melee attack. If successful the target takes d6 psychic damage.
- Foo's Guide to Nothing p. 103. Licensed: CC-BY-SA. ↑