Template:Filestring/doc

The Filestring template is used for infoboxes and any template that has an image parameter.

Filestring, when placed correctly in an infobox, detects the presence of a "File:" or "Image:" prefix in the image parameter. If there is no prefix, the template automatically adds one, thus fixing most template image errors wiki-wide.

Also see the template File-remove.

How to Use
Go to the infobox you want to add Filestring to. There should be a set of code that looks like this:

The parameter x can have any name in the infobox. As long as it is an image parameter, Filestring will work.

Simply place filestring directly before the x parameter, like this:

The parameter x MUST be put inside Filestring's parameter for the template to work.