Teamplaid:Parameter typo documentation

O Wiktionary

Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{parameter typo documentation}} is called, you probably meant the parameter Parameter typo documentation (as {{{Parameter typo documentation}}} with triple braces), but in fact only double braces were used, invoking {{Parameter typo documentation}}. 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 {{Parameter typo documentation}}}, as invoking Template:Parameter typo documentation +"}" rather than parameter Parameter typo documentation. This can be an insidious problem, especially when the transclusion of Template:Parameter typo documentation is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:Parameter typo documentation now issues a warning to the user.

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

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

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

See also


Template documentation[view] [edit] [history] [purge]

Ùsaid - Usage[deasaich]

This template serves as the shared documentation for {{1}}, {{2}}, {{3}}, etc – to at least {{30}}. It takes a single optional input parameter: the template number.