Template:6/sandbox
Unexpected use of template {{6}} - see Template:6 for details.[1]
This is the template sandbox page for Template:6 (diff). |
This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason. |
Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{6}}
is called, you probably meant the parameter 6 (as {{{6}}} with triple braces), but in fact only double braces were used, invoking {{6}}. 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 {{6}}}, as invoking Template:6 +"}" rather than parameter 6. This can be an insidious problem, especially when the transclusion of Template:6 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:6 now issues a warning to the user.
With that warning, the prior invisible access to Template:6 can now be understood to be a formerly unseen problem coded within a page.
- Note: this will also pick up several variations such as {{6|}} for {{{6|}}} and {{{6}}.
Periodically, people check what-links-here to see if anyone has accidentally invoked Template:6.
References
- ^ Show template documentation
Templates {{1}}, {{2}}, {{3}} etc warn readers/editors that a typo exists in the page they are reading/editing. If{{6}}
is called, you probably meant the parameter 6 (as {{{6}}} with triple braces), but in fact only double braces were used, invoking {{6}}. In addition to 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 {{6}}}, as invoking Template:6 +"}" rather than parameter 6. This can be an insidious problem, especially when the transclusion of Template:6 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:6 now issues a warning to the user.
With that warning, the prior invisible access to Template:6 can now be understood to be a formerly unseen problem coded within a page.- Note: this will also pick up several variations such as {{6|}} for {{{6