Difference between revisions of "Template:Spell"

From Krafties
Jump to navigation Jump to search
Line 31: Line 31:
 
:'''Optional'''
 
:'''Optional'''
 
:*<code><nowiki>float=</nowiki></code> for positioning the table, can make it float <code>left</code>, <code>right</code> or <code>none</code>. "None" does not wrap text.
 
:*<code><nowiki>float=</nowiki></code> for positioning the table, can make it float <code>left</code>, <code>right</code> or <code>none</code>. "None" does not wrap text.
 +
===Adding Casters===
 +
*If it is a single element caster, then you can skip the <code>cast-rowspan=</code>.
 +
*Please use the [[Template:Table Cell Templates|Table Cell Templates]] when adding the elements, example: <code><nowiki>{{FireElement|Fire Pets, lvl 3}}</nowiki></code>. It makes things more colorful
 
===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

Revision as of 01:46, 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 Casters

  • If it is a single element caster, then you can skip the cast-rowspan=.
  • Please use the Table Cell Templates when adding the elements, example: {{FireElement|Fire Pets, lvl 3}}. It makes things more colorful

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