Difference between revisions of "Template:Spell"

From Krafties
Jump to navigation Jump to search
m
m
Line 29: Line 29:
 
:*<code><nowiki>caster=</nowiki></code> what [[Element]] of pets can cast this spell?
 
:*<code><nowiki>caster=</nowiki></code> what [[Element]] of pets can cast this spell?
 
:*<code><nowiki>desc=</nowiki></code> description of the spell
 
:*<code><nowiki>desc=</nowiki></code> description of the spell
:*<code><nowiki>float=</nowiki></code> '''Optional:''' for positioning the table, can make it float <code>left</code>, <code>right</code> or <code>none</code>. "None" does not wrap text.
+
:'''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.
 +
===Adding multiple 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
 +
#*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
 +
<pre style="width:300px;float:left">
 +
{{Spell|name=Disorient
 +
|cast-rowspan=4
 +
|[[Fire (element)|]], lvl 10
 +
{{!}}-
 +
{{!}}[[Wind (element)|]], lvl 10
 +
{{!}}-
 +
{{!}}[[Water (element)|]], lvl 10
 +
{{!}}-
 +
{{!}}[[Earth (element)|]], lvl 10
 +
|desc=Debuffs target}}
 +
</pre>
 +
{{Spell|name=Disorient
 +
|cast-rowspan=4
 +
|[[Fire (element)|Fire]], lvl 10
 +
{{!}}-
 +
{{!}}[[Wind (element)|Wind]], lvl 10
 +
{{!}}-
 +
{{!}}[[Water (element)|Water]], lvl 10
 +
{{!}}-
 +
{{!}}[[Earth (element)|Earth]], lvl 10
 +
|desc=Debuffs target}}
 +
{{clear}}
 
==See Also==
 
==See Also==
 
{{Useful Templates}}
 
{{Useful Templates}}
 
|}
 
|}

Revision as of 02:35, 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
    • 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
|cast-rowspan=4
|[[Fire (element)|]], lvl 10
{{!}}-
{{!}}[[Wind (element)|]], lvl 10
{{!}}-
{{!}}[[Water (element)|]], lvl 10
{{!}}-
{{!}}[[Earth (element)|]], lvl 10
|desc=Debuffs target}}
Disorient
Spell Type ?
Element Neutral
Spell Uses

?

Casters ?

Debuffs target

See Also