ထႅမ်းပလဵတ်ႉ:Possible-risk/doc
ဢၼ်ၼႆႉပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း ၽႄ တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Possible-risk (တူၺ်းၼႃႈလိၵ်ႈၼၼ်ႉ တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ တူဝ်မၼ်း)။ မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမၼ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈ ပွတ်းတွၼ်ႈၶွင် ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ ငဝ်ႈတိုၼ်းမၼ်း။ |
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းPlace this template at the top of a template documentation page (suggested: below other top-of-page templates). It supports a customization subpage, separate from the documentation page, for an optional high-use notice, such as {{High-risk}}. The customization subpage name is <template>/doc/use-count/doc
. If the subpage does not exist or is empty, no notice is placed. Ordinarily, the subpage content describes the number of pages using the template, which description is passed to {{High-risk}}. Optionally, the subpage content may have a suffix &<x>
meaning the description is passed to {{High-<x>}}
.
Shifting customization to a subpage insulates the revision history of the documentation page from edits to the count; besides simply uncluttering the documentation history, this means the documentation page can be exported without change to other projects where the template usage may be different.
This template provides a link for creating or altering the customization subpage.
Internals
မႄးထတ်းLogically, the customization subpage is an adjunct to the template documentation, so it would make sense to call it <template>/doc/use-count
; however, {{Possible-risk}} is meant to be used in Module:
space as well as Template:
space, and the Module:
space is wiki-hostile, resisting creation of an ordinary content page unless its name ends with /doc
.
If the customization subpage exists, this template calls subtemplate {{Possible-risk/notice}} to generate the notice box, passing to the subtemplate the parsed leading and trailing parts of the content of the customization subpage. Always, this template calls subtemplate {{Possible-risk/update}} to generate the create/edit link, passing to the subtemplate a flag indicating whether the customization subpage already exists.
တူၺ်းပႃး
မႄးထတ်း