Template:Infobox Playfield/doc

Usage
Create a field display to mimic spells, patterns, or movements. Uses branch templates Template:Infobox Playfield/Entity and Template:Infobox Playfield/Highlight.

Template Parameters

 * Entities and Tile Highlights using Template:Infobox Playfield/Entity and Template:Infobox Playfield/Highlight. Order matters as elements placed higher display below other elements.
 * (Optional) Caption to display underneath the field display.
 * (Optional) Extra blank lines underneath the playfield. Literally extra " " characters. Value must be 1, 2, or 3 if used.
 * (Optional) CSS float property. Useful to set as  so that you can have field displays side-by-side. (Default: none)
 * (Optional) Changes to a fully gray field instead of the default blue/red field if set to "yes". (Default: no)

Entity Parameters
...

...
 * The column to place the entity. (Default: 2)
 * The row to place the entity. (Default: 2)
 * Entity image aligned to the bottom center of the image. (Default: Hero_Saffron.png) See Category:Sprites for all the sprites uploaded.
 * The entity opacity. Useful for conveying movement. (Default: 100%)
 * The Sprites are placed slightly above the bottom edge of the tile. Set this to "yes" to align it flat against the bottom of the tile. (Default: no)
 * or  The entity's x or y location in pixels, alinged to the bottom cemter of the image. Overwrites   or   parameter. Avoid using this unless the image doesn't line up on the tile. (Dimensions of box are 338px by 168px)
 * Flip the image along the x-axis if set to "yes". (Default: no)
 * (Optional) Rotates the image 90 degrees clockwise if set to "cw", and 90 counter-clockwise if set to "ccw".
 * Sprites are scaled up x3 on the wiki as .pngs upslace poorly on Mediawiki. This simply scales images down to 1/3 to fit properly on the playfields. Keeps image size if set to "no". (Default: yes)

Highlight Parameters
...

...
 * The column to place the entity. (Default: 2)
 * The row to place the entity. (Default: 2)
 * Highlight opacity. Useful for showing moving attacks. (Default: 1.0)
 * Sets the tile color and effect to a preset.
 * (Optional) Colorize warning tiles.
 * Tile Warning Attack.png
 * Tile Warning Attack.png
 * Tile Warning Attack.png
 * Overwrite the highlight color.
 * (optional) Displays a purple arrow in the highlight box. Uses numpad notation, literal direction words, or direction abbreviations. Case insensitive. (Ex:, , or   produces a right facing arrow)
 * Arrow 1.png 1,dl,downleft
 * Arrow 2.png 2,d ,down
 * Arrow 3.png 3,dr,downright
 * Arrow 4.png 4,l ,left
 * Arrow 6.png 6,r ,right
 * Arrow 7.png 7,ul,upleft
 * Arrow 8.png 8,u ,up
 * Arrow 9.png 9,ur,upright

Presets
Instead of filling out code manually for basic spells, you can use a preset.







Preset Parameters

 * The caption can be changed, but each has their own default.
 * As without the preset, float CSS. (Default: none)
 * The user of the spell on the left. (Default: Hero_Saffron.png)
 * The target of the spell on the right. (Default: Structure_Debris.png OR empty)

Template Shortcuts

 * can also be written as or
 * can also be written as
 * can also be written as

Basic Example
Found on any 4 tile target spell page, like. Use Template:Infobox Playfield/Preset 4 Tile if possible.

Source:

Full Example
From Gate page using a lot of parameters.

Source: (Note: This page uses comments to organize on the original page and prevent line breaks due to list formatting. Without them the code breaks.)