Difference between revisions of "Template:SpriteInfo"
From SpiralKnights
(many thanks to Instant-Noodles for economic data :D) |
m ({{{skill2}}}, not {{{skill1}}}, + copy-paste error) |
||
(27 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 | ||
− | | | + | | title = <div style="font-size:75%; text-align:center;"> {{{name|Battle Sprite}}} </div> |
− | + | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/EmptyCell|[[File:Battle_Sprite_{{{name|{{{PAGENAME}}}}}} | + | {{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}}}}}}#Reskins|{{{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:{{{ | + | {{#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:{{{ | + | {{#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:{{{ | + | {{#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=''' | + | {{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 72: | 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]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}} | {{!}}} | ||
}} | }} | ||
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] [ ] Template documentation
Contents
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. |