模板:High-use

維基文庫,自由的圖書館
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]


這是一個{{high-use}}提示框。如果某一模板的應用頁面眾多(2000 - 100,000個)當中,則應該將本模板放置于該模板的説明文檔頁的頂端。

如果某一模板由100,000個以上的頁面使用,則建議使用措辭更爲強硬的{{high-risk}}模板。

注意:消息框中的連接若為紅色,屬於正常情況。

用法[编辑]

本模板可以原封不動地直接放置在頁面中,同時也可以爲其添加一些參數:

  • 第一個參數是頁面數量。通過toollabs:templatecount/可以知道有多少個頁面使用了目標模板。
  • 如果想在別處進行討論,可以在第二個參數中指明該頁的名稱。不過更爲理想的方式是將目標模板的討論頁重定向至您所希望的討論頁。

範例:

{{high-use| 40,000+ |Wikipedia talk:高風險模板}}
{{high-use| 40,000+ }}
{{high-use| |Wikipedia talk:高風險模板}}

目標模板的/doc頁面頂端的完整代碼可如下:

{{documentation subpage}}
{{high-use| 40,000+ }}
<!-- 請將分類及跨語言連接添加到本頁底端 -->

技術信息[编辑]

The /sandbox and /testcases links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.

參見[编辑]

模板計數器[编辑]