模板:High-use/doc

来自维基学院

这是一个{{high-use}}提示框。如果某一模板被应用于多个页面(2000 - 100,000个)当中,则应该将本模板放置于该模板的说明文档页的顶端。

如果某一模板被100,000个以上的页面使用,则建议使用措辞更为强硬的{{high-risk}}模板。

注意:消息框中的连接若为红色,属于正常情况。

用法[编辑源代码]

本模板可以原封不动地直接放置在页面中,同时也可以为其添加一些参数:

  • 第一个参数是页面数量。通过tools:~jarry/templatecount/可以知道有多少个页面使用了目标模板。
  • 如果想在别处进行讨论,可以在第二个参数中指明该页的名称。不过更为理想的方式是将目标模板的讨论页重定向至您所希望的讨论页。

范例:

{{high-use| 40,000+ |Project talk:高風險模板}}
{{high-use| 40,000+ }}
{{high-use| |Project 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.

参见[编辑源代码]

  • {{used in system}} – 针对维基学院使用者介面中用到的模板。
  • {{high-risk}} – 针对使用范围最广的模板(高风险模板)。
  • {{high-use}} – 针对风险稍微小一些的模板。
  • {{intricate template}}
  • {{pp-template}} – 保护模板,常被置于高风险模板页面

模板计数器[编辑源代码]