Template:One Spell: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
m (Spell list category)
Line 85: Line 85:
   |Cantrip = [[Category:One Cantrips]]   
   |Cantrip = [[Category:One Cantrips]]   
   |[[Category:One Spells {{{level}}}th Level]]  
   |[[Category:One Spells {{{level}}}th Level]]  
   }}{{#if: {{{school|}}}|[[Category:One {{{school}}} Spells]]| }}{{#if: {{{vcomp|}}}|[[Category:One Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|[[Category:One Consumable Component Spells]]|}}{{#if: {{{concentation|}}}|[[Category:One Concentration Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:One Domain Spells]]|}}{{#if: {{{racespell|}}}|[[Category:One Racial Spells]]|}}{{#if: {{{higherlevels|}}}|[[Category:One Scalable Spells]]|{{#if: {{{scales|}}}|[[Category:One Scalable Spells]]|}}}}{{#if: {{{canon|}}}|[[Category:One Canon Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:One Domain Spells]]|}}{{#if: {{{subclassspell|}}}|[[Category:One Subclass Bonus Spells]]|}}{{#if: {{{pointer|}}}|[[Category:One Pointers]]|}}
   }}{{#if: {{{school|}}}|[[Category:One {{{school}}} Spells]]| }}{{#if: {{{list|}}}|{{Category From List|One|{{{list}}}|Spells}}|}}{{#if: {{{vcomp|}}}|[[Category:One Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|[[Category:One Consumable Component Spells]]|}}{{#if: {{{concentation|}}}|[[Category:One Concentration Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:One Domain Spells]]|}}{{#if: {{{racespell|}}}|[[Category:One Racial Spells]]|}}{{#if: {{{higherlevels|}}}|[[Category:One Scalable Spells]]|{{#if: {{{scales|}}}|[[Category:One Scalable Spells]]|}}}}{{#if: {{{canon|}}}|[[Category:One Canon Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:One Domain Spells]]|}}{{#if: {{{subclassspell|}}}|[[Category:One Subclass Bonus Spells]]|}}{{#if: {{{pointer|}}}|[[Category:One Pointers]]|}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 07:25, 11 October 2022

This template defines the table "One_Spell". View table.

Template documentation (for the above template, sometimes hidden or invisible)

Usage

Template for 5th edition spells.

Syntax

{{One Spell
|name=
|sorttext=
|refs=
|level= <!--0 for cantrip-->
|list= <!--Arcane, Divine, or Primal-->
|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-->
}}

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 -->
|casters= <!-- list of classes that cast this spell -->
|offlistcaster= <!--list of classes/subclasses that can cast this spell outside their normal spell group-->
|pointer= <!--blank or true>
|racespell= <!--blank, links to race/subrace-->
|subclassspell= <!--blank, list of subclasses-->

Deprecated Entries

|domainspell= <-- replaced with subclassspell= -->

Example

{{One 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-->
|list=Divine, Primal
|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 {{Onelc|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-->
|offlistcaster=Bard, Sorcerer <!-- list of classes that cast this spell -->
}}

produces:


foo[1]
0-level spell (cantrip)
Spell List: Divine, Primal
School: Abjuration
Casting Time: 1 action
Range:  Touch
Components: V, S, M (A forked stick)
Duration: Concentration, up to 1 minute
Scales:
Casters:
You wave your hands in the air spouting gibberish

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


Visit Template:One Spell/doc to edit this text! (How does this work?)
  1. Foo's Guide to Nothing p. 103. Licensed: CC-BY-SA