Difference between revisions of "Template:SpriteInfo"

From SpiralKnights

Jump to: navigation, search
m (test - icon seems redundant here. Minor consistency with other infoboxes.)
m ({{{skill2}}}, not {{{skill1}}}, + copy-paste error)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
Line 6: Line 6:
 
| 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">
[[{{{family|{{{PAGENAME}}}}}}]]
+
[[{{{family|{{{PAGENAME}}}}}}#Reskins|{{{family|{{{PAGENAME}}}}}}]]
 
</div>
 
</div>
 
}}  
 
}}  
Line 53: 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 80: 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