Difference between revisions of "Template:SkillInfo"

From SpiralKnights

Jump to: navigation, search
m
m (added doc and "hide" the code)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 250px
 
| width = 250px
 
| align = right
 
| align = right
Line 6: Line 6:
 
| body =
 
| body =
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/EmptyCell|[[File:Skill-{{{name|{{{PAGENAME}}}}}}.png|128px|center]]}}
+
{{SKWindow/EmptyCell|[[File:Skill-{{{name|{{PAGENAME}}}}}.png|128px|center]]}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/Cell|1='''Sprite Type'''
 
{{SKWindow/Cell|1='''Sprite Type'''
Line 17: Line 17:
 
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%"
 
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%"
 
{{!}}- align="left"
 
{{!}}- align="left"
{{!}}[[File:Skill-{{{ultimate1}}}.png|36px]] [[{{{ultimate1}}}]]<br><center>or</center>[[File:Skill-{{{ultimate2}}}.png|36px]] [[{{{ultimate2}}}]]
+
{{!}}[[File:Skill-{{{ultimate1}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate1}}}|{{{ultimate1}}}]]<br><center>or</center>[[File:Skill-{{{ultimate2}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate2}}}|{{{ultimate2}}}]]
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 
}}
 
}}
  
The '''{{{name}}}''' is a [[Battle Sprite|battle sprite]] skill.
+
The '''{{{name}}}''' is the {{#switch:{{{name}}}
 +
|Firebolt = first
 +
|Flame Barrier = second
 +
|Firestorm = third
  
== Description ==
+
|Ray of Light = first
{{Quote|{{{description}}}|Tooltip}}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
|Heart Attack = second
 +
|Angelic Aura = third
 +
 
 +
|Caustic Quills = first
 +
|Shadow Cloak = second
 +
|Hexing Haze = third
 +
}} skill of a [[Battle Sprite|battle sprite]] from the [[{{{type}}}]] family. Its unlocked at level {{#switch:{{{name}}}
 +
|Firebolt = 1
 +
|Flame Barrier = 15
 +
|Firestorm = 50
 +
 
 +
|Ray of Light = 1
 +
|Heart Attack = 15
 +
|Angelic Aura = 50
 +
 
 +
|Caustic Quills = 1
 +
|Shadow Cloak = 15
 +
|Hexing Haze = 50
 +
}}.[[Category:Battle Sprites|Skill]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 00:02, 8 May 2020

[edit] [purge] Template documentation

Usage

To display an infobox about a skill from a Battle Sprite.

Code

{{SkillInfo
|name      = 
|type      = 
|ultimate1 = 
|ultimate2 = 
}}

Parameters

Required

|name =

The name of the skill. {{PAGENAME}} works too.

|type =

The type of the Battle Sprite that have the skill (always capitalize the first letter). Examples include: "Drakon", "Seraphynx", "Maskeraith".

|ultimate1 =

The first ultimate option for the skill (always capitalize the first letter).

|ultimate2 =

The second ultimate option for the skill (always capitalize the first letter).

Example

See what links here for examples of this template in action.

Personal tools