Template:12/sandbox
Unexpected use of template {{12}} - see Template:12 for details.[1]
![]() | This is the template sandbox page for Template:12 (diff). |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{12}}
is called, you probably meant the parameter 12 (as {{{12}}} with triple braces), but in fact only double braces were used, invoking {{12}}. 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 {{12}}}, as invoking Template:12 +"}" rather than parameter 12. This can be an insidious problem, especially when the transclusion of Template:12 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:12 now issues a warning to the user.
With that warning, the prior invisible access to Template:12 can now be understood to be a formerly unseen problem coded within a page.
- Note: this will also pick up several variations such as {{12|}} for {{{12|}}} and {{{12}}.
Periodically, people check what-links-here to see if anyone has accidentally invoked Template:12.
References
- ^ Show template documentation
Templates {{1}}, {{2}}, {{3}} etc warn readers/editors that a typo exists in the page they are reading/editing. If{{12}}
is called, you probably meant the parameter 12 (as {{{12}}} with triple braces), but in fact only double braces were used, invoking {{12}}. 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 {{12}}}, as invoking Template:12 +"}" rather than parameter 12. This can be an insidious problem, especially when the transclusion of Template:12 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:12 now issues a warning to the user.
With that warning, the prior invisible access to Template:12 can now be understood to be a formerly unseen problem coded within a page.- Note: this will also pick up several variations such as {{12|}} for {{{12