Difference between revisions of "9"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tbhotch
({{pp-semi|small=yes}})
m (9 revisions imported)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<br><font color="#DD7733">'''Unexpected use of template <nowiki>{{9}}</nowiki>''' - see [[Template:9]] for details.</font><noinclude>
+
<br><span style="color:#DD7733;">'''Unexpected use of template <nowiki>{{9}}</nowiki>''' - see [[Template:9]] for details.</span><includeonly>[[Category:Templates with incorrect parameter syntax]]</includeonly><noinclude>
{{pp-template}}
+
{{documentation|content={{Single digit documentation|9}}}}
 
 
The '''Template:9''' is currently a warning to its users. The use of Template:9 is often a typo where template parameter 9 (<nowiki>{{{9}}}</nowiki> with triple braces) was meant but, only double braces were used invoking <nowiki>"{{9}}"</nowiki> as Template:9.
 
 
 
However, the most problems have been caused by omitting the first brace "{" of a parameter and getting <nowiki>"{{9}}}"</nowiki>, as invoking Template:9 +"}" rather than parameter 9. This can be an insidious problem, especially when the transclusion of Template:9 is hidden, so that the effect is invisible to the person editing a page. For that reason, Template:9 now issues a warning to the user:
 
::* '''''Unexpected use of template <nowiki>{{9}}</nowiki>''' - see [[Template:9]] for details.''
 
 
 
With that warning, the prior invisible access to Template:9 can now be understood to be a formerly unseen problem coded within a page.
 
 
 
:''Note'': this will also pick up several variations such as <nowiki>{{9|}} for  {{{9|}}} and {{{9}}</nowiki>.
 
 
 
Periodically, people check what-links-here to see if anyone has accidentally invoked Template:9 when trying to use parameter 9, but used only double-braces, <nowiki>{{9}}</nowiki> instead of triple-braces.
 
 
 
[[Category:Wikipedia templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:16, 14 October 2020


Unexpected use of template {{9}} - see Template:9 for details.

Documentation

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

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

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

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

See also