Template:High-risk/doc

From WikiIndex
< Template:High-risk
Revision as of 14:35, 9 November 2017 by Hoof Hearted (talk | contribs) (copied from Template:High-risk/doc on the English Wikipedia, under terms of https://CreativeCommons.org/licenses/by-sa/3.0/ (CC-BY-SA-3.0), attribution to its respective authors, edited for WikiIndex)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Mbox This is the {{high-risk}} message box. It is meant to be put at the top of the documentation page on the most high-use (high-risk) templates, and Lua modules (the template detects the name space), i.e., for templates used on 1,000 pages or more. For templates used on 50–1,000 pages, it is recommended to use the {{high-use}} template instead, which has a softer wording.

Note: it is normal that some of the links in the message box are red. Also, some links might not work as expected, being as this was copied from the English Wikipedia (under the terms of CC-BY-SA-3.0).

Usage

The template can be used as is. But it can also take some parameters:

  • First parameter is the number of pages; see Special:WhatLinksHere, as in [[Special:WhatLinksHere/Template:{{PAGENAME}}]] to find out how many pages use the template.
  • Second parameter is the name of some other talk page – if you want discussion to be made there instead; but a better option might be to redirect the talk page of your template to that other talk page.

Examples

{{high-risk|3,000+|WikiIndex talk:High-risk templates}}

Template:Ombox

{{high-risk|3,000+}}

Template:Ombox

{{high-risk| |WikiIndex talk:High-risk templates}}

Template:Ombox

The full code for a /doc page top may look like this:

{{documentation subpage}}
<!--Categories go where indicated at the bottom of this page, please-->
{{high-risk|3,000+}}

Technical details

The /sandbox and /testcases links are the standard names for such sub-pages. 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.

See also