Jump to content

Template:Formatting error/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SkyLined (talk | contribs) at 21:47, 26 May 2009 (Usage: better nowiki use so italics show). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Outputs an error message in red into the page and adds the page to Category:Pages with incorrect formatting templates use. An anchor (FormattingError) is inserted at the start of the error message, so you can find any errors on a page easily by adding #FormattingError at the end of the URL (eg Template:val/test#FormattingError). Used in complex templates that check their arguments for validity, so incorrect use can be spotted while editing a page or afterwards.

Usage

{{FormattingError|error message}}

See also