Difference between revisions of "Template:5e Spell Pointer"
From Dungeons and Dragons Wiki
(category) |
m |
||
Line 2: | Line 2: | ||
{{#if: {{{pub|}}}|'''{{{name|}}}''' is a spell published in [[{{{pub}}}]].[[Publication::{{{pub}}}| ]]|}} | {{#if: {{{pub|}}}|'''{{{name|}}}''' is a spell published in [[{{{pub}}}]].[[Publication::{{{pub}}}| ]]|}} | ||
{| class="dragon monstats" cellspacing="0" cellpadding="0" | {| class="dragon monstats" cellspacing="0" cellpadding="0" | ||
− | |+ style="font-size: larger; white-space: nowrap;" | {{{name}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e]][[Category:5e | + | |+ style="font-size: larger; white-space: nowrap;" | {{{name}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e]][[Category:5e Spells]][[Category:Spell]][[Category:5e Canon Spells]] |
|- | |- | ||
| colspan="2" | ''{{#switch: {{{level}}} | | colspan="2" | ''{{#switch: {{{level}}} |
Revision as of 15:50, 27 June 2019
Template documentation (for the above template, sometimes hidden or invisible)
Usage
Template for 5th edition spells that are copyrighted and published.
Syntax
{{5e Spell Pointer |name= |sorttext= |refs= <!--references--> |level= <!--0 for cantrip--> |school= <!-- Conjuration, Evocation, etc. --> |ritual= <!-- Y if ritual--> |casttime= <!-- action, bonus, reaction, minute, hour, {freeform} --> |range= <!-- 60 feet --> |comp=V, S, M <!-- no material listing --> |concentration=<!-- blank, true if concentration--> |dur= <!-- duration Instantaneous, 1 round, 1 hour, etc.--> |summary= <!-- UNOFFICIAL summary of spell --> |scales= <!-- Y if changes with spell slot or level--> |casters= <!-- list of classes that cast this spell --> |canon= <!-- blank or true. true if published by Wotc --> }}
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. False if not canon. -->
Deprecated Entries
|pub= <!-- publication -->
Example
{{5e Spell Pointer |name=foo |sorttext= |refs=<ref>{{pub|Foo's Guide to Nothing}} p.783. Licensed: [[Public Domain]].</ref> |level=0<!--0 for cantrip--> |school=Conjuration <!-- Conjuration, Evocation, etc. --> |ritual= <!-- y if ritual--> |casttime=action<!-- action, bonus, reaction, minute, hour, {freeform} --> |range=Touch<!-- 60 feet --> |comp=V, S, M<!-- V, S, M --> |concentration= <!--y or blank--> |dur= Instantaneous<!-- duration Instantaneous, 1 round, 1 hour, etc.--> |summary=foo creates a fully stocked bar, complete with bartender<!-- summary of spell --> |scales=Y |casters=Bard, Sorcerer <!-- list of classes that cast this spell --> |canon= <!-- blank or true. true if published by Wotc --> }}
produces:
foo is a spell for 5th edition.
5e Spell
foo [1] (pointer)
Conjuration cantrip
Casting Time: 1 action
Range: Touch
Components: V, S, M
Duration: Instantaneous
Casters: Bard, Sorcerer
Unofficial Description: foo creates a fully stocked bar, complete with bartender
Visit Template:5e Spell Pointer/doc to edit this text! (How does this work?)
- ↑ Foo's Guide to Nothing p.783. Licensed: Public Domain.