Difference between revisions of "Template:SkillInfo"

From SpiralKnights

Jump to: navigation, search
(im trying to update this ok? bare with me)
m (added doc and "hide" the code)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
| width = 300px
+
| width = 250px
 
| align = right
 
| align = right
 
| margin = 0px 0px 20px 20px
 
| margin = 0px 0px 20px 20px
Line 6: Line 6:
 
| body =
 
| body =
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/EmptyCell|[[File:Skill-{{{name|{{{PAGENAME}}}}}}.png|225px|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 14: Line 14:
 
}}  
 
}}  
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|1='''Ultimates'''
+
{{SKWindow/Cell|1='''Ultimate Upgrades'''
 
{{{!}} 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="center"
+
{{!}}- align="left"
{{!}}[[{{{ultimate1}}}]] or [[{{{ultimate2}}}]]
+
{{!}}[[File:Skill-{{{ultimate1}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate1}}}|{{{ultimate1}}}]]<br><center>or</center>[[File:Skill-{{{ultimate2}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate2}}}|{{{ultimate2}}}]]
{{!}}- align="center"
+
{{!}}[[File:Skill-{{{ultimate1}}}.png|18px]] or [[File:Skill-{{{ultimate1}}}.png|18px]]
+
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 
}}
 
}}
  
The '''{{{name}}}''' is a [[Battle Sprite|battle sprite]] skill.<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
The '''{{{name}}}''' is the {{#switch:{{{name}}}
 +
|Firebolt = first
 +
|Flame Barrier = second
 +
|Firestorm = third
 +
 
 +
|Ray of Light = first
 +
|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