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

Template documentation


Template:5 is currently a warning to its users. The use of Template:5 is often a typo where template parameter 5 (as {{{5}}} with triple braces) was meant, but only double braces were used, invoking {{5}} as Template:5. In addition to displaying a warning, it also adds pages to Category:Templates with incorrect parameter syntax.

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}}.

Periodically, people check what-links-here to see if anyone has accidentally invoked Template:5.

See alsoसम्पादन