User:KnightBot4/Sprite

{{documentation|content= {{lua|KnightBot4/SpriteSub}} This template can be used to replace deprecated names in a usage of a sprite template with non-deprecated ones. It should always be substituted.

Usage
simply replaces usages of sprite templates with substituting this module, setting the paraemeter to the original name. The exact replacement is done by replacing:

\{\{([A-Za-z]*?(?:Sprite|Link))\| with This module has the side effect of forcing parameters into the order of,, , , , as there is no way to receive parameters in the order they are written without writing much more complicated code off site.