Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  Standard form  





2.2  Rounding and + notation  





2.3  Editnotice form  





2.4  High risk  







3 Technical details  





4 Supporting templates and modules  





5 Redirects  





6 See also  





7 Template counters  





8 TemplateData  














Template:High-use






Afrikaans
العربية
Արեւմտահայերէն

Авар
Azərbaycanca
تۆرکجه
Basa Bali

Banjar
 / Bân-lâm-gú
Беларуская

Български
Bosanski
Català
Cebuano
ChiTumbuka
Corsu
Dansk
الدارجة
ދިވެހިބަސް
Ελληνικά
Español
Farefare
فارسی
Gaeilge
Gagauz
ГӀалгӀай

Gungbe

Հայերեն
Hrvatski
Igbo
Ilokano
Bahasa Indonesia
Íslenska
עברית
Jawa
Қазақша
Kurdî
Кыргызча
Ladin
Latina
Luganda
Magyar
ि

Māori

مصرى

Bahasa Melayu
Мокшень
Монгол


 

Нохчийн
Norsk bokmål
ି
Oʻzbekcha / ўзбекча


پښتو

Português
Română
Русиньскый
Русский

سرائیکی
Shqip

Simple English
Slovenščina
Soomaaliga
کوردی
Sranantongo
Српски / srpski
Tagalog
ி
Татарча / tatarça
 


Тоҷикӣ

Türkçe
Tyap
Українська
Tiếng Vit


Xitsonga
Yorùbá

Zazaki

Betawi
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
MediaWiki
Meta-Wiki
Wikimedia Outreach
Wikispecies
Wikidata
Wikifunctions
Wikisource
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:High-risk)

This is the {{high-use}} message box.

It is meant to be put at the top of the documentation subpage for templates transcluded onto more than 2,000 pages. For templates transcluded onto more than 100,000 pages, or if the first parameter is set to risk, then a stronger wording is given.

Note: It is normal that some of the links in the message box are red.

Usage

{{High-use}}

{{High-use|2=discussion page, or use + notation|info=additional text}}

all parameters
{{High-use |1= |2= |info= |demo= |form= |expiry= }}

The template can be used as is, and will automatically use bot-updated transclusion counts from subpages of Module:Transclusion_count/data/, when available. It can also take some parameters:

Examples

The full code for a /doc page top usually looks like this:

{{documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{high-use}}

Standard form

{{high-use}}

{{high-use | |Wikipedia talk:High-risk templates }}

Rounding and + notation

{{high-use |49,500 |demo=A template that does not exist }}

{{high-use |49,500+ |demo=A template that does not exist }}

Editnotice form

{{high-use |form=editnotice }}

High risk

{{high-use |demo=Yesno }}

{{high-use |demo=Yesno |no-percent=yes}}

{{high-use |risk |demo=High-use }}

{{high-use |risk |Wikipedia talk:High-risk templates |info=This is a very large number! |demo=Yesno}}

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.

Ahechtbot compiles usage statistics for all templates with 2,000 or more transclusions, using User:Ahechtbot/transclusioncount.py, and writes them to subpages of Module:Transclusion count/data (see Wikipedia:Bots/Requests for approval/Ahechtbot 6). These pages are usually updated every Sunday, but since running the query is resource intensive, it may be delayed or skipped if Wikipedia server usage is high. Important: If a transclusion count is available in Module:Transclusion count/data, any manually input values will be ignored by this template.

Supporting templates and modules

Redirects

  • {{high risk}}
  • {{high-risk}}
  • {{high use}}
  • {{risky template}}
  • See also

    Template counters

    TemplateData

    This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:High-use in articles based on its TemplateData.

    TemplateData for High-use

    This is the {{high-use}} message box. It is meant to be put at the top of the documentation subpage for templates transcluded onto more than 2,000 pages. For templates transcluded onto more than 100,000 pages, or if the first parameter is set to risk, then a stronger wording is given. Note: It is normal that some of the links in the message box are red.

    Template parameters[Edit template data]

    This template prefers inline formatting of parameters.

    ParameterDescriptionTypeStatus
    number of transclusions (DEPRECATED)1

    either a static number of times the template has been transcluded, or the word "risk" (without quotes) to display "a very large number of" instead of the actual value.

    Suggested values
    risk
    Stringdeprecated
    discussion page, or use + notation2

    The second parameter is overloaded. It will cause the number of transclusions to display as "#,###+" instead of "approximately #,###" when set equal to "yes" (without quotes). When used in this manner, values will be rounded down, instead of rounded to the nearest number with the appropriate number of significant figures. When set to any other non-blank value, it will replace the link to the template's talk page to the value of the parameter (for example, 2=WP:VPT will insert a link to WP:VPT)

    Default
    Auto value
    Stringoptional
    Extra informationinfo

    When set to non-blank, will insert the value of this parameter into the template text.

    Contentoptional
    template name (intended for demo purposes)demo

    Will use the transclusion count for the template at [[Template:<Template_name>]] instead of detecting what template it is being used on. Capitalization must exactly match the value used in Special:PrefixIndex/Module:Transclusion_count/data/.

    Stringoptional
    form for this templateform

    When set to "editnotice", will display the message using {{editnotice}} instead of {{ombox}}.

    Suggested values
    editnotice
    Stringoptional
    Expiry for {{editnotice}}expiry

    if `form=editnotice`, this will set the expiry parameter of the editnotice.

    Dateoptional
    systemsystem

    Please directly use {{Used in system}} instead

    Unknowndeprecated

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:High-use&oldid=1157688598"

    Categories: 
    Lua-based templates
    Documentation header templates
    Hidden categories: 
    Wikipedia template-protected templates
    Templates using TemplateData
     



    This page was last edited on 30 May 2023, at 09:39 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki