Template:5

From Template Wiki, a repository of MediaWiki templates.
Jump to navigation Jump to search


Unexpected use of template {{5}} - see Template:5 for details.

Template documentation

Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{5}} is called, you probably meant the parameter 5 (as {{{5}}} with triple braces), but in fact only double braces were used, invoking {{5}}. In addition to a warning, it also adds pages to Category:Templates with incorrect parameter syntax. For more information on how template parameters work, see mw:Help:Templates#Parameters.

However, the most problems have been caused by omitting the first brace "{" of a parameter and getting {{5}}}, as invoking Template:5 +"}" rather than parameter 5. This can be an insidious problem, especially when the transclusion of Template:5 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:5 now issues a warning to the user.

With that warning, the prior invisible access to Template:5 can now be understood to be a formerly unseen problem coded within a page.

Note: this will also pick up several variations such as {{5|}} for {{{5|}}} and {{{5}}.

People should check what-links-here to see if anyone has accidentally invoked Template:5.

See also