Difference between revisions of "Template:SpriteInfo"
From SpiralKnights
(Added condition to link "Shadow Cloak" to "Shadow Cloak (Battle Sprite Ability)" for {{{skill1}}}) |
m ({{{skill2}}}, not {{{skill1}}}, + copy-paste error) |
||
Line 52: | Line 52: | ||
{{{!}} 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" | ||
− | {{!}}[[ | + | {{!}}[[{{{skill1}}}]]<br />[[File:Skill-{{{skill1}}}.png|36px|link={{{skill1}}}]] |
− | + | {{!}}[[{{{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" |
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. |