Difference between revisions of "Template:SkillInfo"

From SpiralKnights

Jump to: navigation, search
m (cat)
m (added doc and "hide" the code)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| width=100; cellpadding=4px style="float:right; background:#E2E2EB"
+
<includeonly>{{SKWindow
!|[[Image:Skill-{{PAGENAME}}.png|100px]]
+
| width = 250px
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
| align = right
 +
| margin = 0px 0px 20px 20px
 +
| title = <div style="font-size:75%; text-align:center;"> {{{name|Battle Sprite Skill}}} </div>
 +
| body =
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/EmptyCell|[[File:Skill-{{{name|{{PAGENAME}}}}}.png|128px|center]]}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|1='''Sprite Type'''
 +
<div style="text-align:center">
 +
[[{{{type}}}]]
 +
</div>
 +
}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|1='''Ultimate Upgrades'''
 +
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%"
 +
{{!}}- align="left"
 +
{{!}}[[File:Skill-{{{ultimate1}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate1}}}|{{{ultimate1}}}]]<br><center>or</center>[[File:Skill-{{{ultimate2}}}.png|36px]] [[{{PAGENAME}}#{{{ultimate2}}}|{{{ultimate2}}}]]
 +
{{!}}}
 +
}}
 +
}}
 +
 
 +
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