Difference between revisions of "Template:Heavily used template"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wiki.openstreetmap.org)
 
m (Trying to fix MediaWiki links (Wikipedia links are supposedly fine))
 
Line 67: Line 67:
   }} {{LangSwitch|lang={{{lang|{{langcode}} }}}
   }} {{LangSwitch|lang={{{lang|{{langcode}} }}}
   | default={{TranslateThis|2={{{lang|}}}|edit=Template:Heavily used template
   | default={{TranslateThis|2={{{lang|}}}|edit=Template:Heavily used template
     |1 = If the Template is used often, this can put a lot of load on the servers since it fills up the [[w:mw:Manual:Job queue|''job queue'']].
     |1 = If the Template is used often, this can put a lot of load on the servers since it fills up the [https://mediawiki.org/wiki/Manual:Job_queue ''job queue''].
     }}
     }}
   | de = Wenn die Vorlage oft benutzt wird, kann dies den Server stark belasten, da die [[w:mw:Manual:Job queue/de|''Auftragswarteschlange'']] gefüllt wird.
   | de = Wenn die Vorlage oft benutzt wird, kann dies den Server stark belasten, da die [[w:mw:Manual:Job queue/de|''Auftragswarteschlange'']] gefüllt wird.
   | en = If the Template is used often, this can put a lot of load on the servers since it fills up the [[w:mw:Manual:Job queue|''job queue'']].
   | en = If the Template is used often, this can put a lot of load on the servers since it fills up the [https://mediawiki.org/wiki/Manual:Job_queue ''job queue''].
   | es = Si la plantilla es muy usada, puede sobrecargar de trabajo a los servidores hasta que completen la [[w:mw:Manual:Job queue|''cola de trabajos'']].
   | es = Si la plantilla es muy usada, puede sobrecargar de trabajo a los servidores hasta que completen la [[w:mw:Manual:Job queue|''cola de trabajos'']].
   | fa = اگر آن الگو جاهای زیاد به کار رفته باشد، ویرایش شما می‌تواند بار سنگینی را به کارسازها تحمیل کند، زیرا سبب پرشدن [[w:mw:Manual:Job queue|''صف کارها'']] می‌شود.
   | fa = اگر آن الگو جاهای زیاد به کار رفته باشد، ویرایش شما می‌تواند بار سنگینی را به کارسازها تحمیل کند، زیرا سبب پرشدن [[w:mw:Manual:Job queue|''صف کارها'']] می‌شود.
Line 81: Line 81:
   | zh-hans = 如果这个模板在众多页面中被频繁使用,将会对网站伺服器造成[[w:mw:Manual:Job queue|庞大负担]]。
   | zh-hans = 如果这个模板在众多页面中被频繁使用,将会对网站伺服器造成[[w:mw:Manual:Job queue|庞大负担]]。
   | zh-hant = 如果這個模板在眾多頁面中被頻繁使用,將會對網站伺服器造成[[w:mw:Manual:Job queue|龐大負擔]]。
   | zh-hant = 如果這個模板在眾多頁面中被頻繁使用,將會對網站伺服器造成[[w:mw:Manual:Job queue|龐大負擔]]。
   }} <nowiki>[</nowiki>[https://wiki.openstreetmap.org/w/api.php?action=query&meta=siteinfo&siprop=statistics {{LangSwitch|lang={{{lang|{{langcode}} }}}
   }} <nowiki>[</nowiki>[https://wiki.secondlife.com/w/api.php?action=query&meta=siteinfo&siprop=statistics {{LangSwitch|lang={{{lang|{{langcode}} }}}
   | default={{TranslateThis|2={{{lang|}}}|edit=Template:Heavily used template
   | default={{TranslateThis|2={{{lang|}}}|edit=Template:Heavily used template
     |1 = statistics
     |1 = statistics

Latest revision as of 02:55, 15 September 2022

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]
[Edit] [🔄Purge] Template-info.png Template documentation

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"
	]
}