Difference between revisions of "Template:SpriteInfo"
From SpiralKnights
(see node 105693) |
m ({{{skill2}}}, not {{{skill1}}}, + copy-paste error) |
||
(47 intermediate revisions by 3 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 | ||
− | | | + | | title = <div style="font-size:75%; text-align:center;"> {{{name|Battle Sprite}}} </div> |
− | + | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''Sprite Family''' | + | {{SKWindow/EmptyCell|[[File:Battle_Sprite_{{{name|{{{PAGENAME}}}}}}_Equipped.png|225px|center]]}} |
− | [[ | + | {{SKWindow/NewRow}} |
− | {{{family|{{{PAGENAME}}}}}} | + | {{SKWindow/Cell|1='''Sprite Family''' |
− | }} | + | <div style="text-align:center"> |
+ | [[{{{family|{{{PAGENAME}}}}}}#Reskins|{{{family|{{{PAGENAME}}}}}}]] | ||
+ | </div> | ||
+ | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|1=''' | + | {{SKWindow/Cell|1='''Growth''' |
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto" | {{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto" | ||
{{!}}- align="center" | {{!}}- align="center" | ||
Line 19: | Line 21: | ||
{{!}}T3 | {{!}}T3 | ||
{{!}}- align="center" | {{!}}- align="center" | ||
− | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T1-icon.png|36px]] | + | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T1-icon.png|36px|link=Battle_Sprite#Leveling]] |
− | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T2-icon.png|36px]] | + | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T2-icon.png|36px|link=Battle_Sprite#Leveling]] |
− | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T3-icon.png|36px]] | + | {{!}}width="50"{{!}}[[File:Battle_Sprite-{{{name}}}-T3-icon.png|36px|link=Battle_Sprite#Leveling]] |
{{!}}- align="center" | {{!}}- align="center" | ||
{{!}}1-14 | {{!}}1-14 | ||
Line 32: | Line 34: | ||
{{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto" | {{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto" | ||
{{!}}- align="center" | {{!}}- align="center" | ||
− | {{#if:{{{ironharness}}}|{{!}}width="50"{{!}}[[File:Elite_Iron_Harness.png|36px]]<br />Iron}} | + | {{#if:{{{ironharness|}}}| |
− | {{#if:{{{ | + | {{!}}width="50"{{!}}[[File:Elite_Iron_Harness.png|36px|link=Harness]]<br />[[Harness|Iron]] |
− | {{#if:{{{ | + | }} |
− | {{#if:{{{ | + | {{#if:{{{crystalharness|}}}| |
+ | {{!}}width="50"{{!}}[[File:Elite_Crystal_Harness.png|36px|link=Harness]]<br />[[Harness|Crystal]] | ||
+ | }} | ||
+ | {{#if:{{{darkharness|}}}| | ||
+ | {{!}}width="50"{{!}}[[File:Elite_Dark_Harness.png|36px|link=Harness]]<br />[[Harness|Dark]] | ||
+ | }} | ||
+ | {{#if:{{{goldenharness|}}}| | ||
+ | {{!}}width="50"{{!}}[[File:Elite_Golden_Harness.png|36px|link=Harness]]<br />[[Harness|Golden]] | ||
+ | }} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 43: | 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" | ||
− | {{!}}[[File:Skill-{{{skill1a}}}.png|18px|link={{{skill1a}}}]] [[File:Skill-{{{skill1b}}}.png|18px|link={{{skill1b}}}]] | + | {{!}}[[File:Skill-{{{skill1a}}}.png|18px|link={{{skill1a}}}]] or [[File:Skill-{{{skill1b}}}.png|18px|link={{{skill1b}}}]] |
− | {{!}}[[File:Skill-{{{skill2a}}}.png|18px|link={{{skill2a}}}]] [[File:Skill-{{{skill2b}}}.png|18px|link={{{skill2b}}}]] | + | {{!}}[[File:Skill-{{{skill2a}}}.png|18px|link={{{skill2a}}}]] or [[File:Skill-{{{skill2b}}}.png|18px|link={{{skill2b}}}]] |
− | {{!}}[[File:Skill-{{{skill3a}}}.png|18px|link={{{skill3a}}}]] [[File:Skill-{{{skill3b}}}.png|18px|link={{{skill3b}}}]] | + | {{!}}[[File:Skill-{{{skill3a}}}.png|18px|link={{{skill3a}}}]] or [[File:Skill-{{{skill3b}}}.png|18px|link={{{skill3b}}}]] |
{{!}}} | {{!}}} | ||
}} | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|1=''' | + | {{SKWindow/Cell|1='''[[Battle Sprite#Economics|Food]]:''' |
{{{!}} 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" | ||
Line 60: | Line 70: | ||
{{!}} width="20%" {{!}} Orb<br />[[File:Food-{{{food}}}_Orb.png|36px|link={{{food}}} Orb]] | {{!}} 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]] | {{!}} width="20%" {{!}} Star<br />[[File:Food-{{{food}}}_Star.png|36px|link={{{food}}} Star]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}} | {{!}}} | ||
}} | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
{{SKWindow/Cell|1='''Pod''' | {{SKWindow/Cell|1='''Pod''' | ||
− | + | {{{!}} style="background-color:transparent;margin-left:auto;margin-right:auto;width:100%" | |
− | [[File:Icon-{{{name}}}_Pod.png|36px|link={{{name}}} Pod]]<br />[[{{{name}}} Pod]] | + | {{!}}- align="center" |
− | + | {{!}} [[File:Icon-{{{name}}}_Pod.png|36px|link={{{name}}} Pod]]<br />[[{{{name}}} Pod]] | |
+ | {{!}}} | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | 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] [ ]
Template documentation

Contents
[hide]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.
The above documentation is transcluded from Template:SpriteInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |