विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

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

ढाँचा कागजात

Usage[सम्पादन गर्नुहोस्]

Template:2 is currently a warning to its users. The use of Template:2 is often a typo where template parameter 2 (as {{{2}}} with triple braces) was meant, but only double braces were used, invoking {{2}} as Template:2. 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 {{2}}}, as invoking Template:2 +"}" rather than parameter 2. This can be an insidious problem, especially when the transclusion of Template:2 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:2 now issues a warning to the user.

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

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

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

See also[सम्पादन गर्नुहोस्]