Jump to content

Template:Parameter typo documentation/testcases

From Wikipedia, the free encyclopedia
Test1
{{Parameter typo documentation|1|nocat=yes}}
Side by side comparison
{{Parameter typo documentation}}{{Parameter typo documentation/sandbox}}

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

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

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

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



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

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

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

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



Test2
{{Parameter typo documentation|2|nocat=yes}}

{{Parameter typo documentation}}

Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{2}} is called, you probably meant the parameter 2 (as {{{2}}} with triple braces), but in fact only double braces were used, invoking {{2}}. 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 {{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.




{{Parameter typo documentation/sandbox}}

Templates {{1}}, {{2}}, {{3}}, etc. warn readers/editors that a typo exists in the page they are reading/editing. If {{2}} is called, you probably meant the parameter 2 (as {{{2}}} with triple braces), but in fact only double braces were used, invoking {{2}}. 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 {{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.



Test no param
{{Parameter typo documentation|nocat=yes}}

{{Parameter typo documentation}}

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.




{{Parameter typo documentation/sandbox}}

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.