Bản mẫu:8

Bách khoa toàn thư mở Wikipedia


Dùng bản mẫu không đúng {{8}} - Xem chi tiết Bản mẫu:8.

Tài liệu bản mẫu

Usage[sửa mã nguồn]

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

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

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

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

Xem thêm[sửa mã nguồn]