پرش به محتوا

الگو:توضیحات الگوی تک‌رقمی: تفاوت میان نسخه‌ها

از ویکی‌هزاره
صفحه‌ای تازه حاوی «{{چپ‌چین}}<noinclude> {{Ombox|text=This template serves as the shared documentation for {{tn|1}}, {{tn|2}}, {{tn|3}}, {{tn|4}}, {{tn|5}}, {{tn|6}}, {{tn|7}}, {{tn|8}}, and {{tn|9}}. It takes a single input parameter, which is the template number.}} </noinclude> <!-- Shared categories go at the bottom of this page. --> === Usage === Templates {{tn|1}}, {{tn|2}}, ... {{tn|9}} warn to their users, indicating a typo in their templa...» ایجاد کرد
 
بدون خلاصۀ ویرایش
 
خط ۱۸: خط ۱۸:


<includeonly>
<includeonly>
[[رده:الگو:قالب‌بندی و عملکرد ویکی‌پدیا]]
[[رده:الگو:قالب‌بندی و عملکرد ویکی‌هزاره]]
[[رده:الگو:پیوند کمتر ویکی‌پدیا]]
[[رده:الگو:پیوند کمتر ویکی‌هزاره]]
</includeonly><noinclude>
</includeonly><noinclude>
[[رده:صفحه‌های توضیحات الگو]]
[[رده:صفحه‌های توضیحات الگو]]

نسخهٔ کنونی تا ‏۲۴ ژانویهٔ ۲۰۲۵، ساعت ۱۵:۴۲

Usage

Templates {{1}}, {{2}}, ... {{9}} warn to their users, indicating a typo in their template edit. 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.

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 [[Special:WhatLinksHere/Template:{{{1}}}|what-links-here]] to see if anyone has accidentally invoked Template:{{{1}}}.

See also

{{1}}, {{2}}, {{3}}, {{4}}, {{5}}, {{6}}, {{7}}, {{8}}, {{9}}