Difference between revisions of "Template:Spell"

From Krafties
Jump to navigation Jump to search
Line 33: Line 33:
 
===Adding multiple casters===
 
===Adding multiple casters===
 
#First you add the <code>cast-rowspan=</code> with the number of casters
 
#First you add the <code>cast-rowspan=</code> with the number of casters
#then you just add the first caster normally, the second one needs to be added into another row cell
+
#then you just add the first caster normally, the second one needs to be added into another row cell, and so on
 
#*Because writing a <code><nowiki>|</nowiki></code> will break the template, you need to write <code><nowiki>{{!}}</nowiki></code> instead (it will become a normal vertical bar)
 
#*Because writing a <code><nowiki>|</nowiki></code> will break the template, you need to write <code><nowiki>{{!}}</nowiki></code> instead (it will become a normal vertical bar)
 
;Example showing 4 different elemental casters
 
;Example showing 4 different elemental casters

Revision as of 01:43, 31 March 2015

?
Spell Type ?
Element Neutral
Spell Uses

?

Casters ?
Documentation icon Template documentation ( view · talk · edit)

Template:Spell/doc

The above documentation is transcluded from Template:Spell/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>

This form is for individual spell pages

Filling the Form {{Spell}}

How to fill {{Spell|name=|type=|element=|use=|caster=|desc=}}
  • name= Spell Name
  • type= Combat spell, Healing spell or Mental spell
  • element= what Element is the spell? (It'll be "Neutral" by default)
  • use= how can you use it, battle spell? on self? on teammates? on wilds? enchanting? other pets? on opponents?
  • caster= what Element of pets can cast this spell?
  • desc= description of the spell
Optional
  • float= for positioning the table, can make it float left, right or none. "None" does not wrap text.

Adding multiple casters

  1. First you add the cast-rowspan= with the number of casters
  2. then you just add the first caster normally, the second one needs to be added into another row cell, and so on
    • Because writing a | will break the template, you need to write {{!}} instead (it will become a normal vertical bar)
Example showing 4 different elemental casters
{{Spell
|name=Disorient
|type=Mental Spell
|use=*Wilds
*Opponent
*Enchanting
|cast-rowspan=4
|caster={{FireElement|Fire Pets, lvl 10}}
{{!}}-
{{!}}{{WindElement|Wind Pets, lvl 10}}
{{!}}-
{{!}}{{EarthElement|Earth Pets, lvl 10}}
{{!}}-
{{!}}{{WaterElement|Water Pets, lvl 10}}
|desc=[[Debuff]]s target's '''[[Defense]]'''<br>'''Needs to be Manually Cast'''}}
Disorient
Spell Type Mental Spell
Element Neutral
Spell Uses
  • Wilds
  • Opponent
  • Enchanting
Casters Fire Pets, lvl 10
Wind Pets, lvl 10
Earth Pets, lvl 10
Water Pets, lvl 10

Debuffs target's Defense
Needs to be Manually Cast

See Also