Difference between revisions of "Template:SpriteInfo"

From SpiralKnights

Jump to: navigation, search
(fixed math for minerals and food, thank you Instant-Noodles)
m ({{{skill2}}}, not {{{skill1}}}, + copy-paste error)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
 
| margin = 0px 0px 20px 20px
 
| margin = 0px 0px 20px 20px
| icon = Battle Sprite-{{{name|{{{PAGENAME}}}}}}-T3-icon.png
+
| title = <div style="font-size:75%; text-align:center;"> {{{name|Battle Sprite}}} </div>
| title = {{{name|Battle Sprite}}}
+
 
| body =
 
| body =
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/EmptyCell|[[File:Battle_Sprite_{{{name|{{{PAGENAME}}}}}}_Evolved.png|225px|center]]}}
+
{{SKWindow/EmptyCell|[[File:Battle_Sprite_{{{name|{{{PAGENAME}}}}}}_Equipped.png|225px|center]]}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/Cell|1='''Sprite Family'''
 
{{SKWindow/Cell|1='''Sprite Family'''
 
<div style="text-align:center">
 
<div style="text-align:center">
[[File:Battle Sprite-{{{family|{{{PAGENAME}}}}}}-T3-icon.png|36px|link={{{family|{{{PAGENAME}}}}}}]]<br />
+
[[{{{family|{{{PAGENAME}}}}}}#Reskins|{{{family|{{{PAGENAME}}}}}}]]
[[{{{family|{{{PAGENAME}}}}}}]]
+
 
</div>
 
</div>
}}
+
}}  
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/Cell|1='''Growth'''
 
{{SKWindow/Cell|1='''Growth'''
Line 39: Line 37:
 
{{!}}width="50"{{!}}[[File:Elite_Iron_Harness.png|36px|link=Harness]]<br />[[Harness|Iron]]
 
{{!}}width="50"{{!}}[[File:Elite_Iron_Harness.png|36px|link=Harness]]<br />[[Harness|Iron]]
 
}}
 
}}
{{#if:{{{goldenharness|}}}|
+
{{#if:{{{crystalharness|}}}|
 
{{!}}width="50"{{!}}[[File:Elite_Crystal_Harness.png|36px|link=Harness]]<br />[[Harness|Crystal]]
 
{{!}}width="50"{{!}}[[File:Elite_Crystal_Harness.png|36px|link=Harness]]<br />[[Harness|Crystal]]
 
}}
 
}}
{{#if:{{{crystalharness|}}}|
+
{{#if:{{{darkharness|}}}|
 
{{!}}width="50"{{!}}[[File:Elite_Dark_Harness.png|36px|link=Harness]]<br />[[Harness|Dark]]
 
{{!}}width="50"{{!}}[[File:Elite_Dark_Harness.png|36px|link=Harness]]<br />[[Harness|Dark]]
 
}}
 
}}
{{#if:{{{darkharness|}}}|
+
{{#if:{{{goldenharness|}}}|
 
{{!}}width="50"{{!}}[[File:Elite_Golden_Harness.png|36px|link=Harness]]<br />[[Harness|Golden]]
 
{{!}}width="50"{{!}}[[File:Elite_Golden_Harness.png|36px|link=Harness]]<br />[[Harness|Golden]]
 
}}
 
}}
Line 55: Line 53:
 
{{!}}- align="center"
 
{{!}}- align="center"
 
{{!}}[[{{{skill1}}}]]<br />[[File:Skill-{{{skill1}}}.png|36px|link={{{skill1}}}]]
 
{{!}}[[{{{skill1}}}]]<br />[[File:Skill-{{{skill1}}}.png|36px|link={{{skill1}}}]]
{{!}}[[{{{skill2}}}]]<br />[[File:Skill-{{{skill2}}}.png|36px|link={{{skill2}}}]]
+
{{!}}[[{{{skill2}}} {{#ifeq:{{{skill2}}}|Shadow Cloak|(Battle Sprite Ability)|}}|{{{skill2}}}]]<br />[[File:Skill-{{{skill2}}}.png|36px|link={{{skill2}}} {{#ifeq:{{{skill2}}}|Shadow Cloak|(Battle Sprite Ability)|}}]]
 
{{!}}[[{{{skill3}}}]]<br />[[File:Skill-{{{skill3}}}.png|36px|link={{{skill3}}}]]
 
{{!}}[[{{{skill3}}}]]<br />[[File:Skill-{{{skill3}}}.png|36px|link={{{skill3}}}]]
 
{{!}}- align="center"
 
{{!}}- align="center"
Line 64: Line 62:
 
}}
 
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|1='''Heating:''' ''~food~, [levels], (consumed)''
+
{{SKWindow/Cell|1='''[[Battle Sprite#Economics|Food]]:'''
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%"
+
{{!}}- align="center"
+
{{!}} width="20%" {{!}} ~Mote~<br />[[File:Food-{{{food}}}_Mote.png|36px|link={{{food}}} Mote]]
+
{{!}} width="20%" {{!}} ~Dust~<br />[[File:Food-{{{food}}}_Dust.png|36px|link={{{food}}} Dust]]
+
{{!}} width="20%" {{!}} ~Stone~<br />[[File:Food-{{{food}}}_Stone.png|36px|link={{{food}}} Stone]]
+
{{!}} width="20%" {{!}} ~Orb~<br />[[File:Food-{{{food}}}_Orb.png|36px|link={{{food}}} Orb]]
+
{{!}} width="20%" {{!}} ~Star~<br />[[File:Food-{{{food}}}_Star.png|36px|link={{{food}}} Star]]
+
{{!}}- align="center" style="vertical-align:top"
+
{{!}}[1-14] <br />(13)
+
{{!}}[15-29] <br />(15)
+
{{!}}[30-49] <br />(19)
+
{{!}}[50-74] <br />(25)
+
{{!}}[75-100+] <br />(22+)
+
{{!}}}
+
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%"
+
{{!}}- align="center"
+
{{!}} width="33%" {{!}} [[File:Rarity-Evo_Catalyst.png|36px|link=Evo Catalyst]]<br />[15]
+
{{!}} width="33%" {{!}} [[File:Rarity-Advanced_Evo_Catalyst.png|36px|link=Advanced Evo Catalyst]]<br />[50]
+
{{!}} width="33%" {{!}} [[File:Rarity-Ultimate_Evo_Catalyst.png|36px|link=Ultimate Evo Catalyst]]<br />[90, 95, 100]
+
{{!}}}
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|1='''Economics'''
+
 
{{{!}} 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="center"
{{!}} width="45%" {{!}} [[File:Mineral-{{{mineral}}}.png|36px|link=Mineral]] <br /> Mineral Minimum to reach level 100: 1,550 <br /> Mineral Minimum to get all [[Perk]]s: 1,675
+
{{!}} width="20%" {{!}} Mote<br />[[File:Food-{{{food}}}_Mote.png|36px|link={{{food}}} Mote]]
 +
{{!}} width="20%" {{!}} Dust<br />[[File:Food-{{{food}}}_Dust.png|36px|link={{{food}}} Dust]]
 +
{{!}} width="20%" {{!}} Stone<br />[[File:Food-{{{food}}}_Stone.png|36px|link={{{food}}} Stone]]
 +
{{!}} width="20%" {{!}} Orb<br />[[File:Food-{{{food}}}_Orb.png|36px|link={{{food}}} Orb]]
 +
{{!}} width="20%" {{!}} Star<br />[[File:Food-{{{food}}}_Star.png|36px|link={{{food}}} Star]]
 
{{!}}}
 
{{!}}}
 
}}
 
}}
Line 101: Line 80:
 
}}
 
}}
 
}}
 
}}
 +
 +
The '''{{{name}}}''' is a [[Battle Sprite|battle sprite]].</includeonly><noinclude>
 +
{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:59, 8 May 2020

[edit] [purge] Template documentation

Usage

To display an infobox about a Battle Sprite.

Code

{{SpriteInfo
|name           = 
|family         = 
|ironharness    = 
|crystalharness = 
|goldenharness  = 
|darkharness    = 
|skill1         = 
|skill1a        = 
|skill1b        = 
|skill2         = 
|skill2a        = 
|skill2b        = 
|skill3         = 
|skill3a        = 
|skill3b        = 
|food           = 
|mineral        = 
}}

Parameters

Required

|name

The name of the Battle Sprite. Just put the name in. {{PAGENAME}} works too.

|family =

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

|ironharness =
|crystalharness =
|goldenharness =
|darkharness =

Add only the one the battle sprite is able to use and add a "yes". Example: |ironharness = yes

|skill1 =

Add one of the following depending of the type of the sprite:
  • Firebolt
  • Ray of Light
  • Caustic Quills

|skill1a =

The first ultimate option for the first skill (always capitalize the first letter). Examples include: "Concussive Firebolt", "Dazzling Light Ray", "Vengeful Quills".

|skill1b =

The second ultimate option for the first skill (always capitalize the first letter). Examples include: "Meteoric Firebolt", "Disintegration Ray", "Virulent Quills".

|skill2 =

Add one of the following depending of the type of the sprite:
  • Flame Barrier
  • Heart Attack
  • Shadow Cloak

|skill2a =

The first ultimate option for the first skill (always capitalize the first letter). Examples include: "Scorching Barrier", "Iron Heart Attack", "Deadly Shadow Cloak".

|skill2b =

The second ultimate option for the first skill (always capitalize the first letter). Examples include: "Backfire Barrier", "Violent Heart Attack", "Vengeful Shadow Cloak".

|skill3 =

Add one of the following depending of the type of the sprite:
  • Firestorm
  • Angelic Aura
  • Hexing Haze

|skill3a =

The first ultimate option for the first skill (always capitalize the first letter). Examples include: "Frenzied Firestorm", "Seraphic Aura", "Haunted Haze".

|skill3b =

The second ultimate option for the first skill (always capitalize the first letter). Examples include: "Explosive Firestorm", "Valkyrian Aura", "Chaotic Haze".

|food =

The food they consume (always capitalize the first letter). Examples include: "Power", "Divine", "Shadow".

|mineral =

The mineral needed to make their food (always capitalize the first letter). Examples include: "Crimsonite", "Luminite", "Dark Matter".

Example

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

Personal tools