Difference between revisions of "Template:Spell"

From Krafties
Jump to navigation Jump to search
m
m
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><div style="float:{{{float|left}}};margin:0px 10px 0px 10px;text-align:center;padding:0px;">
+
<onlyinclude><div style="{{{style|}}};display:inline-block;margin:0px 10px 0px 10px;text-align:center;padding:0px;">
 
{| class=bluetable style="width:300px"
 
{| class=bluetable style="width:300px"
 
!colspan=2 style="text-align:center"|'''{{{name|?}}}'''
 
!colspan=2 style="text-align:center"|'''{{{name|?}}}'''
 
|-
 
|-
!style="width:100px"|Spell Type
+
|colspan=2|{{{type|?}}}
|{{{type|?}}}
 
 
|-
 
|-
!Element
+
!style="width:100px;"|Element Type
 
|{{{{{element|Neutral}}}Element}}
 
|{{{{{element|Neutral}}}Element}}
 
|-
 
|-
!Uses
+
![[Spells|Spell Uses]]
|{{{use|?}}}
+
|
 +
{{{use|?}}}
 
|-
 
|-
!Casters
+
!rowspan={{{cast-rowspan|1}}}|Casters
 
|{{{caster|?}}}
 
|{{{caster|?}}}
 
|-
 
|-
|colspan=2|{{{desc| }}}
+
|colspan=2|
 +
{{{desc| }}}
 
|}</div></onlyinclude>
 
|}</div></onlyinclude>
<noinclude>{{Template Explanation|[[Category:Template Form]]
+
{|{{Template Explanation}}[[Category:Template Form]]
 
This form is for individual spell pages
 
This form is for individual spell pages
 
===Filling the Form <nowiki>{{Spell}}</nowiki>===
 
===Filling the Form <nowiki>{{Spell}}</nowiki>===
:How to fill <code><nowiki>{{Spell|1|type=|element=|use=|description=}}</nowiki></code>
+
:How to fill <code><nowiki>{{Spell|name=|type=|element=|use=|caster=|desc=}}</nowiki></code>
 
:*<code><nowiki>name=</nowiki></code> Spell Name
 
:*<code><nowiki>name=</nowiki></code> Spell Name
 
:*<code><nowiki>type=</nowiki></code> [[Combat spell]], [[Healing spell]] or [[Mental spell]]
 
:*<code><nowiki>type=</nowiki></code> [[Combat spell]], [[Healing spell]] or [[Mental spell]]
 
:*<code><nowiki>element=</nowiki></code> what [[Element]] is the spell? (It'll be "Neutral" by default)
 
:*<code><nowiki>element=</nowiki></code> what [[Element]] is the spell? (It'll be "Neutral" by default)
 
:*<code><nowiki>use=</nowiki></code> how can you use it, '''battle spell'''? '''on self'''? '''on teammates'''? '''on wilds'''? '''[[enchanting]]'''? '''other pets'''? on opponents?
 
:*<code><nowiki>use=</nowiki></code> how can you use it, '''battle spell'''? '''on self'''? '''on teammates'''? '''on wilds'''? '''[[enchanting]]'''? '''other pets'''? on opponents?
 +
:*<code>cast-rowspan=</code> for when you are adding multiple casters
 
:*<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 (its "right" by default)
+
:'''Optional'''
}}</noinclude>
+
:*<code>style=</code> will allow you to add extra css styling, such as <code>float:</code> (''left,right,none'')
 +
 
 +
===Adding single caster===
 +
*If it is a single element caster, then you can skip the <code>cast-rowspan=</code>.
 +
 
 +
===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, 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)
 +
#*Please use the [[Template:Table Cell Templates|Table Cell Templates]] when adding multiple elemental casters, makes things more colorful. Example: <code><nowiki>{{FireElement|Fire Pets, lvl 4}}</nowiki></code>
 +
;Example showing 4 different elemental casters
 +
<pre style="width:600px;float:left">
 +
{{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'''}}
 +
</pre>
 +
{{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'''}}
 +
{{clear}}
 +
 
 +
==See Also==
 +
{{Useful Templates}}
 +
|}

Latest revision as of 02:57, 31 March 2015

?
?
Element Type 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}}[edit]

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?
  • cast-rowspan= for when you are adding multiple casters
  • caster= what Element of pets can cast this spell?
  • desc= description of the spell
Optional
  • style= will allow you to add extra css styling, such as float: (left,right,none)

Adding single caster[edit]

  • If it is a single element caster, then you can skip the cast-rowspan=.

Adding multiple casters[edit]

  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)
    • Please use the Table Cell Templates when adding multiple elemental casters, makes things more colorful. Example: {{FireElement|Fire Pets, lvl 4}}
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
Mental Spell
Element Type 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[edit]