Template:5e Spell Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
|Scalable=Boolean | |Scalable=Boolean | ||
|Canon_Spell=Boolean | |Canon_Spell=Boolean | ||
}}<noinclude><includeonly> | }}</noinclude><includeonly> | ||
{| 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}}{{#cargo_store: _table = | |+ style="font-size: larger; white-space: nowrap;" | {{{name}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}{{#cargo_store: _table = 5eSpellTest|Sort_Text = {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}{{#cargo_store: _table = 5eSpellTest|Sort_Text={{PAGENAME}} 5e}} }}[[Category:5e]][[Category:DnD Spells]][[Category:5e Spells]] | ||
|- | |- | ||
| colspan="2" | ''{{#switch: {{{level}}} | | colspan="2" | ''{{#switch: {{{level}}} | ||
Line 26: | Line 26: | ||
|Cantrip = {{ucfirst: {{SRD5|{{{school}}}}}}} {{srd5lc|Cantrip}} | |Cantrip = {{ucfirst: {{SRD5|{{{school}}}}}}} {{srd5lc|Cantrip}} | ||
|{{{level}}}th-level {{srd5lc|{{{school}}}}} [[Category:5e Spells {{{level}}}th Level]] | |{{{level}}}th-level {{srd5lc|{{{school}}}}} [[Category:5e Spells {{{level}}}th Level]] | ||
}}{{#if: {{{ritual|}}}| ({{srd5lc|Ritual}}){{#cargo_store: _table = | }}{{#if: {{{ritual|}}}| ({{srd5lc|Ritual}}){{#cargo_store: _table = 5eSpellTest|Ritual=1}}[[Ritual::true| ]]|}}''{{#if: {{{school|}}}|[[Category:5e {{{school}}} Spells]]| }} | ||
|- | |- | ||
!align="left" valign="top"|Casting Time: | !align="left" valign="top"|Casting Time: | ||
| {{#switch: {{{casttime}}} | | {{#switch: {{{casttime}}} | ||
|action = 1 {{srd5lc|Action}}{{#cargo_store: _table = | |action = 1 {{srd5lc|Action}}{{#cargo_store: _table = 5eSpellTest|Action_Type=Action}}[[Action Type::Action| ]] | ||
|reaction = 1 {{srd5lc|Reaction}}{{#cargo_store: _table = | |reaction = 1 {{srd5lc|Reaction}}{{#cargo_store: _table = 5eSpellTest|Action_Type=Reaction}}[[Action Type::Reaction| ]] | ||
|bonus = 1 {{srd5lc|Bonus Action}}{{#cargo_store: _table = | |bonus = 1 {{srd5lc|Bonus Action}}{{#cargo_store: _table = 5eSpellTest|Action_Type=Bonus Action}}[[Action Type::Bonus Action| ]] | ||
|minute = 1 {{srd5lc|Minute}}{{#cargo_store: _table = | |minute = 1 {{srd5lc|Minute}}{{#cargo_store: _table = 5eSpellTest|Action_Type=Other}}[[Action Type::Other| ]] | ||
|hour = 1 hour{{#cargo_store: _table = | |hour = 1 hour{{#cargo_store: _table = 5eSpellTest|Action_Type=Action}}[[Action Type::Other| ]] | ||
|{{{casttime}}}{{#cargo_store: _table = | |{{{casttime}}}{{#cargo_store: _table = 5eSpellTest|Action_Type=Action}}[[Action Type::Other| ]] | ||
}}{{#if: {{{casttext|}}}|, {{{casttext}}}| }} | }}{{#if: {{{casttext|}}}|, {{{casttext}}}| }} | ||
|- | |- | ||
!style="text-align:left;"|Range: | !style="text-align:left;"|Range: | ||
| {{{range}}}{{#cargo_store: _table = | | {{{range}}}{{#cargo_store: _table = 5eSpellTest|Spell_Range={{{range}}}}}[[Range::{{{range}}}| ]] | ||
|- | |- | ||
!style="text-align:left;"|Components: | !style="text-align:left;"|Components: | ||
| {{{comp}}}<!--{{#arraymap: {{{comp}}}|, |x|{{#cargo_store: _table = | | {{{comp}}}<!--{{#arraymap: {{{comp}}}|, |x|{{#cargo_store: _table = 5eSpellTest|Component={{{comp}}}}}[[Component::x| ]]}}-->{{#if: {{{material|}}}| ({{{material}}}){{#if: {{{vcomp|}}}|{{#cargo_store: _table = 5eSpellTest|Valuable_Component=1}}[[Valuable Components::True| ]][[Category:5e Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|{{#cargo_store: _table = 5eSpellTest|Consumable_Component=1}}[[Consumable Components::True| ]][[Category:5e Consumable Component Spells]]|}}|<!--endif material-->}} | ||
|- | |- | ||
!style="text-align:left;"|Duration: | !style="text-align:left;"|Duration: | ||
Line 50: | Line 50: | ||
|{{#if: {{{casters|}}}|{{5e Casters|{{{casters}}}}}|}} | |{{#if: {{{casters|}}}|{{5e Casters|{{{casters}}}}}|}} | ||
|}<!-- Non-switch Semantic Bits Here | |}<!-- Non-switch Semantic Bits Here | ||
-->{{#if: {{{summary|}}} | {{#cargo_store: _table = | -->{{#if: {{{summary|}}} | {{#cargo_store: _table = 5eSpellTest|Summary={{{summary}}}}}[[Summary::{{{summary}}}| ]] }}<!-- Set Properties | ||
-->{{#cargo_store: _table = | -->{{#cargo_store: _table = 5eSpellTest|Level={{#ifeq: {{{level|}}}|0|Cantrip|{{{level}}}}}}}[[Level::{{#ifeq: {{{level|}}} |0|Cantrip|{{{level}}}}}| ]]{{#cargo_store: _table = 5eSpellTest|School={{ucfirst:{{{school}}}}}}}[[School::{{ucfirst:{{{school|}}}}}| ]] | ||
{{#if: {{{fluff|}}}|''{{{fluff}}}''<br /><br />|}} | {{#if: {{{fluff|}}}|''{{{fluff}}}''<br /><br />|}} | ||
{{#if: {{{rules|}}}|{{{rules}}}<br /><br />|}} | {{#if: {{{rules|}}}|{{{rules}}}<br /><br />|}} | ||
{{#if: {{{higherlevels|}}}|'''''At Higher Levels.''''' {{{higherlevels|}}}[[Category:5e Scalable Spells]]{{#cargo_store: _table = | {{#if: {{{higherlevels|}}}|'''''At Higher Levels.''''' {{{higherlevels|}}}[[Category:5e Scalable Spells]]{{#cargo_store: _table = 5eSpellTest|Scalable=1}}[[Scalable::true| ]]|}}{{#if: {{{canon|}}}|[[Category:5e Canon Spells]]{{#cargo_store: _table = 5eSpellTest|Canon_Spell=1}}[[Canon::true| ]]|}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- Tech note: | <!-- Tech note: |
Revision as of 10:38, 26 January 2020
This template defines the table "5eSpellTest". This table has not been created yet.
Template documentation (for the above template, sometimes hidden or invisible)
Usage
Template for 5th edition spells.
Syntax
{{5e Spell Test |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 ture. true of published by WotC -->
Example
{{5e Spell Test |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:
Abjuration cantrip | |
Casting Time: | 1 action |
---|---|
Range: | Touch |
Components: | V, S, M (A forked stick) |
Duration: | Concentration, up to 1 minute |
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.
At Higher Levels. This spell's damage increases at 5th (2d6)
Visit Template:5e Spell Test/doc to edit this text! (How does this work?)