Difference between revisions of "9"

From blackwiki
Jump to navigation Jump to search
blackwiki>DixonDBot
m (Migrating 1 interwiki links, now provided by Wikidata on d:Q6662322)
blackwiki>WOSlinker
(tidy style for better HTML5 compatibility)
Line 1: Line 1:
<br><font color="#DD7733">'''Unexpected use of template <nowiki>{{9}}</nowiki>''' - see [[Template:9]] for details.<includeonly>[[Category:Templates with incorrect parameter syntax]]</includeonly></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>
 
{{documentation|content={{Single digit documentation|9}}}}
 
{{documentation|content={{Single digit documentation|9}}}}
 
</noinclude>
 
</noinclude>

Revision as of 14:18, 26 April 2015


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