قالب:High-use

من موسوعة العلوم العربية
مراجعة 10:35، 21 أغسطس 2012 بواسطة إدارة الموسوعة 1 (نقاش | مساهمات) (مراجعة واحدة)
(فرق) → مراجعة أقدم | المراجعة الحالية (فرق) | مراجعة أحدث ← (فرق)
اذهب إلى التنقل اذهب إلى البحث
[أنشئ] معلومات القالب توثيق القالب

This is the {{high-use}} message box. It can be put at the top of the documentation for any high-use or high-risk template. Note! It is normal that some of the links in the message box are red.

Usage

The template can be used as is. But it can also take some parameters: * First parameter is the number of pages. See خاص:MostLinkedTemplates to find out how many pages use your template.* Second parameter is the name of some other talk page if you want discussion to be made there instead. A better option might be to redirect the talkpage of your template to that other talkpage. Here are some examples:

{{high-use| 300,000+ | Wikipedia talk:High-risk templates }}
{{high-use| 300,000+ }}
{{high-use| | Wikipedia talk:High-risk templates }}

When this template is placed on a template's /doc page it can be nice to put it within <includeonly> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:

{{Documentation subpage}}<includeonly>{{high-use| 300,000+ }}</includeonly><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

Technical details

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.

See also

{{pp-template|small=yes}} – The protection template that usually is put on high-use templates.

hsb:Předłoha:Často wužiwanaja:Template:使用箇所の多いテンプレートru:Шаблон:СИШ This is the {{high-use}} message box. It can be put at the top of the documentation for any high-use or high-risk template. Note! It is normal that some of the links in the message box are red.

Usage

The template can be used as is. But it can also take some parameters: * First parameter is the number of pages. See خاص:MostLinkedTemplates to find out how many pages use your template.* Second parameter is the name of some other talk page if you want discussion to be made there instead. A better option might be to redirect the talkpage of your template to that other talkpage. Here are some examples:

{{high-use| 300,000+ | Wikipedia talk:High-risk templates }}
{{high-use| 300,000+ }}
{{high-use| | Wikipedia talk:High-risk templates }}

When this template is placed on a template's /doc page it can be nice to put it within <includeonly> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:

{{Documentation subpage}}<includeonly>{{high-use| 300,000+ }}</includeonly><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

Technical details

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.

See also

{{pp-template|small=yes}} – The protection template that usually is put on high-use templates.