Bước tới nội dung

Bản mẫu:1

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


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

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

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.

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.
https://vi.wikipedia.org/wiki/B%E1%BA%A3n_m%E1%BA%ABu:1
vi.wikipedia.org
CC-MAIN-2024-38
64978
application/http; msgtype=response
sha1:5OJLAKLOXNJ2PHUAOHJLGMK5IJTTXGSU
<urn:uuid:eaa766cc-3bb1-4806-8ec9-f3c740027e9a>
2024-09-18T05:37:13Z
208.80.154.224
text/html
sha1:VHFLEZJHINY6Y4V4SE76XYTP7HW6EDCM
<urn:uuid:9ab7b1d5-d4fe-4b3d-9ffa-fe2dbc8cff12>
https://vi.wikipedia.org/wiki/B%E1%BA%A3n_m%E1%BA%ABu:1
response
<urn:uuid:8addfc2f-278b-47c2-b2fc-c88596f58770>
isPartOf: CC-MAIN-2024-38
publisher: Common Crawl
description: Wide crawl of the web for September 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-5
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/