Template:Heavily used template/doc

From Second Life Wiki
< Template:Heavily used template
Revision as of 02:00, 15 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wiki.openstreetmap.org)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is meant to be put at the top of the documentation subpage for templates transcluded onto more than 1,000 pages.

Usage

For common use, just put {{Heavily used template}} at the top of the documentation subpage. If you want to emphasize the importance of a template by adding the number of transcluded pages, use {{Heavily used template|<Page counts>}} instead.

Examples

{{Heavily used template}}

exclamation mark

Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum.
Please discuss proposed changes on the talk page first.
Editing a template causes all pages that use the template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. [statistics]

{{Heavily used template|lang=fr}}

exclamation mark

Note : Ce modèle est utilisé sur un grand nombre de pages. Pour ne pas surcharger les serveurs, il faut le modifier le moins possible.
Veuillez discuter des changements proposés en page de discussion au préalable.
Modifier un modèle implique que toutes les pages qui l’incluent seront regénérées. Si le modèle est beaucoup utilisé, cela surcharge les serveurs en remplissant la job queue. [statistiques]

{{Heavily used template|1,200}}

exclamation mark

Note: This template is used on 1,200 pages. In order not to put too much load on the servers, edits should be kept to a bare minimum.
Please discuss proposed changes on the talk page first.
Editing a template causes all pages that use the template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. [statistics]

Template Data

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Heavily used template

{
    "description": "It is meant to be put at the top of the documentation subpage for templates transcluded onto more than 1,000 pages.",

	"params": {
		"lang": {
            "label": "Language",
			"description": "Language code following BCP 47 standards. You don't need to manually type it, since most of the time the template will find suitable language to use automatically.",
            "example": "de",
            "autovalue": "en",
            "type": "string"
		},
		"count": {
            "label": "Pages Transcluding Templates",
			"description": "The number of pages transluding the templates. You can find the number using [[Special:WhatLinksHere]]. It is recommended to use this template when the number is higher than 1,000.",
            "aliases": ["1"],
            "example": "1,500 or 5,000+",
            "type": "number"
		}
	},
	"paramOrder": [
		"lang",
		"count"
	]
}