Template:Sprite/doc

Description
Construct a sprite based on certain unit and rarity.

Parameters

 * First Parameter
 * lowest = Lowest rarity.
 * highest = Highest rarity (default).
 * specific (1-7, NV, BS).
 * size
 * big = Double the size of the sprite without blurring the image.
 * link
 * empty = Link to the unit page (default).
 * file = Link to the file, which should pop up as a lightbox in this wiki.
 * none = Does not link.

Code
Define array of all units, with base rarity and max rarity.

If lowest, rarity = lowest. If highest = rarity highest. If empty, rarity = highest. Else rarity = itself.

If size is big then add class big-pixelate

If link = file, link to the file page. If none = link to nothing. If empty, link to the unit page.

Print file if unit name is not empty