Difference between revisions of "Template:Spell"

From BatWiki
Jump to: navigation, search
(Created form for adding official info about spells)
 
m
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox"  align="right"
+
<includeonly>[[Category:Spell]]
|+ [http://www.bat.org/help/spell?str={{PAGENAME}}]  [[Category:Spell]]
+
{| class="infobox"  align="right"
| {{#ifeq: {{{ST}}} | ½ | Saving throw: ½ damage | {{#if: {{ST|}} | Saving throw: {{{ST}}} | No saving throw}}
+
|+ {{PAGENAME}} info from help file
 +
| {{#ifeq: {{{ST|-}}} | ½ | Saving throw: ½ damage | {{#if: {{{ST|}}} | Saving throw: {{{ST}}} | No saving throw}} }}
 
|-
 
|-
| Spell duration: {{{duration}}}
+
| Spell duration: {{{time|Missing ''time''}}} rounds
 
|-
 
|-
| Type of spell: {{#if: {{{defence|}}} | Defensive [[Category:Defensive]] | {{#if: {{{offence|}}} | Offensive [[Category:Offensive]] | Neutral [[Category:Neutral]] }}
+
| {{ #if: {{{DT|}}} | Damage type: {{#switch: {{lc:{{{DT}}}}}
 +
| acid = acid [[Category:acid damage]]
 +
| asphyxiation = asphyxiation [[Category:asphyxiation damage]]
 +
| cold = cold [[Category:cold damage]]
 +
| electricity = electricity [[Category:electricity damage]]
 +
| fire = fire [[Category:fire damage]]
 +
| harm = harm [[Category:harm damage]]
 +
| magical = magical [[Category:magical damage]]
 +
| physical = physical [[Category:physical damage]]
 +
| poison = poison [[Category:poison damage]]
 +
| psionic = psionic [[Category:psionic damage]]
 +
| incorrect ''DT'' (Damage Type)
 +
}} }}
 
|-
 
|-
| Affecting stats: {{#if: {{{ASI|}}} OR {{{ASW|}}} | {{#if: {{{ASI|}}} | [[Category:Affecting stat Int]] [[Intelligence|int]] }}{{#if: {{{ASI|}}} AND {{{ASW|}}} |/}}{{#if: {{{ASW|}}} | [[Wisdom|wis]] [[Category:Affecting stat Wis]] }} | {{#if: {{{ASD|}}} | [[Category:Affecting stat Dex]] [[Dexterity|dex]]}} }}
+
| Type of spell: {{#switch: {{lc:{{{type|}}}}}
 +
| area
 +
| area attack = Area attack  [[Category:Offensive spell]]  [[Category:Area spell]]
 +
| offensive
 +
| attack
 +
| attack spell = attack spell. [[Category:Offensive spell]]
 +
| defence
 +
| defensive = Defensive  [[Category:Defensive spell]]
 +
| harm = Harm  [[Category:Offensive spell]]
 +
| heal = Heal  [[Category:Heal spell]]
 +
| help = Help  [[Category:Help spell]]
 +
| special = Special  [[Category:Special spell]]
 +
| Neutral  [[Category:Neutral spell]]
 +
}}
 +
|-
 +
| Affecting stats: {{#if: {{{ASI|}}} | [[Category:Affecting stat Int]] [[Intelligence|int]] }}{{#if: {{{ASI|}}} | {{#if: {{{ASW|}}} |/}} }}{{#if: {{{ASW|}}} | [[Wisdom|wis]] [[Category:Affecting stat Wis]] }}
 
|-
 
|-
 
| Cast type: {{#switch: {{lc:{{{CT|}}}}}
 
| Cast type: {{#switch: {{lc:{{{CT|}}}}}
Line 38: Line 66:
 
| teleportation = teleportation [[Category:Cast type teleportation]]
 
| teleportation = teleportation [[Category:Cast type teleportation]]
 
| transformation = transformation [[Category:Cast type transformation]]
 
| transformation = transformation [[Category:Cast type transformation]]
 +
| vortex = vortex [[Category:Cast type vortex]]
 +
| rift = rift [[Category:Cast type rift]]
 
| incorrect ''CT'' (Cast Type)
 
| incorrect ''CT'' (Cast Type)
 
}}
 
}}
 
|-
 
|-
| {{{description}}}
+
| Spell point cost: {{{low|missing ''low''}}} - {{{high|missing ''high''}}}
|}</includeonly><noinclude><nowiki>{{</nowiki> {{PAGENAME}}<br>
+
|-
<nowiki>|</nowiki> ST = <br>
+
| Spell words: {{{spellwords|missing ''spell words''}}}
<nowiki>|</nowiki> duration = <br>
+
|-
<nowiki>|</nowiki> defence = <br>
+
|
<nowiki>|</nowiki> offence = <br>
+
{| style="width: 35em;" cellpadding="0" cellspacing="0"
<nowiki>|</nowiki> ASD = <br>
+
| {{{description|missing ''description''}}}{{#if: {{{reagent|}}} |
<nowiki>|</nowiki> ASI = <br>
+
<br>It requires a reagent, {{{reagent}}}.}}
<nowiki>|</nowiki> ASW = <br>
+
|}
<nowiki>|</nowiki> CT = <br>
+
|-
<nowiki>|</nowiki> description = <br>
+
| '''List of things that enhance or grant access to this spell:'''
<nowiki>}}</nowiki> [[Category:Template]]
+
{{#dpl:
 
+
  |category = {{PAGENAME}}
Fields in ''italics'' are optional. Meaning if they are not used, remove them.
+
}}
* '''ST''': If the spell has a Saving Throw fill this field. If saving produces for 1/2 damage, fill with ½.
+
|}
* '''Offence''': If the spells type is offensive, fill this field.
+
<analytics uacct="UA-3466433-3" ></analytics></includeonly><noinclude>This template is for adding [[spell]]s.
* '''Defence''': If the spells type is defensive, fill this field.
+
== Copy & Paste ==
* '''ASD''': If the spells Affecting Stat is [[Dexterity]], fill this field.
+
<nowiki>{{</nowiki> {{PAGENAME}}<br>
* '''ASI''': If the spells Affecting Stat is [[Intelligence]], fill this field.
+
<nowiki>|</nowiki> ST =&nbsp;<br>
* '''ASW''': If the spells Affecting Stat is [[Wisdom]], fill this field.
+
<nowiki>|</nowiki> time =&nbsp;<br>
* '''CT''': Fill with the spells Cast Type here (acid / alchemy / asphyxiation / channelling / chaos / cold / control / demonology / destruction / dispel / electricity / evil / fire / generic / harm / heal / help / holy / information / magical / physical / poison / protection / psionic / runes / special / teleportation / transformation).
+
<nowiki>|</nowiki> DT =&nbsp;<br>
* '''Description''': Fill with the actual text from ingame or website.</noinclude>
+
<nowiki>|</nowiki> type =&nbsp;<br>
 +
<nowiki>|</nowiki> ASI =&nbsp;<br>
 +
<nowiki>|</nowiki> ASW =&nbsp;<br>
 +
<nowiki>|</nowiki> CT =&nbsp;<br>
 +
<nowiki>|</nowiki> low =&nbsp;<br>
 +
<nowiki>|</nowiki> high =&nbsp;<br>
 +
<nowiki>|</nowiki> description =&nbsp;<br>
 +
<nowiki>|</nowiki> spellwords =&nbsp;<br>
 +
<nowiki>|</nowiki> ''reagent'' =&nbsp;<br>
 +
<nowiki>}}</nowiki>  
 +
{|  cellspacing="3"
 +
|+
 +
== Explanation ==
 +
! align="right" | Fields
 +
| &
 +
! align="left" | Instructions how to fill 'em. Fields in ''italics'' should be removed if not used.
 +
|-
 +
| align="right" | '''ST''' || :
 +
| If the spell has a Saving Throw fill this field. If saving produces for 1/2 damage, fill with ½.
 +
|-
 +
| align="right" | '''time''' || :
 +
| How many rounds is the casting time?
 +
|-
 +
| align="right" | '''D'''amage '''T'''ype || :
 +
| If the spell is offensive, what kind of damage does it do? (acid / asphyxiation / cold / electricity / fire / harm / magical / physical / poison / psionic)
 +
|-
 +
| align="right" | '''A'''ffecting '''S'''tat '''I'''ntelligence || :
 +
| If the spells Affecting Stat is [[Intelligence]], fill this field.
 +
|-
 +
| align="right" | '''A'''ffecting '''S'''tat '''W'''isdom || :
 +
| If the spells Affecting Stat is [[Wisdom]], fill this field.
 +
|-
 +
| align="right" | '''C'''ast '''T'''ype || :
 +
| Fill with the spells Cast Type here (acid / alchemy / asphyxiation / channelling / chaos / cold / control / demonology / destruction / dispel / electricity / evil / fire / generic / harm / heal / help / holy / information / magical / physical / poison / protection / psionic / runes / special / teleportation / transformation).
 +
|-
 +
| align="right" | '''low''' || :
 +
| What's the spell point cost at best (aka. full) moon?
 +
|-
 +
| align="right" | '''high''' || :
 +
| What's the spell point cost at worst (aka. new) moon?
 +
|-
 +
| align="right" | '''description''' || :
 +
| Fill with the actual text from in-game help file.
 +
|-
 +
| align="right" | '''spellwords''' || :
 +
| The spell words, for example 'qor monoliftus' for [[ether boundary]], etc.
 +
|-
 +
| align="right" | '''reagent''' || :
 +
| If the spell uses a reagent, fill this field with the reagent name.
 +
|}
 +
[[Category:Template]]</noinclude>

Latest revision as of 22:26, 8 April 2015

This template is for adding spells.

Copy & Paste

{{ Spell
| ST = 
| time = 
| DT = 
| type = 
| ASI = 
| ASW = 
| CT = 
| low = 
| high = 
| description = 
| spellwords = 
| reagent
}}

Explanation

Fields & Instructions how to fill 'em. Fields in italics should be removed if not used.
ST  : If the spell has a Saving Throw fill this field. If saving produces for 1/2 damage, fill with ½.
time  : How many rounds is the casting time?
Damage Type  : If the spell is offensive, what kind of damage does it do? (acid / asphyxiation / cold / electricity / fire / harm / magical / physical / poison / psionic)
Affecting Stat Intelligence  : If the spells Affecting Stat is Intelligence, fill this field.
Affecting Stat Wisdom  : If the spells Affecting Stat is Wisdom, fill this field.
Cast Type  : Fill with the spells Cast Type here (acid / alchemy / asphyxiation / channelling / chaos / cold / control / demonology / destruction / dispel / electricity / evil / fire / generic / harm / heal / help / holy / information / magical / physical / poison / protection / psionic / runes / special / teleportation / transformation).
low  : What's the spell point cost at best (aka. full) moon?
high  : What's the spell point cost at worst (aka. new) moon?
description  : Fill with the actual text from in-game help file.
spellwords  : The spell words, for example 'qor monoliftus' for ether boundary, etc.
reagent  : If the spell uses a reagent, fill this field with the reagent name.