မေႃႇၵျူး:Footnotes/whitelist/doc
This is the documentation page for မေႃႇၵျူး:Footnotes/whitelist
| Lua module ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ many ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း မေႃႇၵျူး's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases . ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
This page is a formatted list of anchor IDs and associated citation wrapper-templates. Because of technical limitations, short-cite templates, via Module:Footnotes, will emit false-positive error messages for citation wrapper-templates. The anchor IDs listed here instruct Module:Footnotes to suppress error messages for short-cite templates that link to the anchor IDs listed here so long as the associated citation wrapper-template is present in the article. This is an imperfect system that will allow false-negatives because this mechanism will suppress valid error messages in the absence of a full-cite target. Adding an anchor ID and matching template to this list will suppress all no target error messages for that anchor ID / template pair.
Adding templates to the whitelist
[မႄးထတ်းငဝ်ႈငႃႇ]There are three whitelist mechanisms for templates: each one is appropriate for different template behaviors:
- Wrapper template produces small number of different references, whose name and date is suitable for short footnotes, name and date not overriden
- In this case, the CITEREF should be added to the
whitelistvariable, with a key of the formCITEREFNameDateand value being a list of templates that can generate that CITEREF.- Do not include disambiguation letters in whitelist entries. In other words, use "CITEREFSmith2018" in this whitelist even when the cite template generates "CITEREFSmith2018a".
- Module:Footnotes/whitelist/sort is a tool to aid the maintenance of
whitelist{}.
- In this case, the CITEREF should be added to the
- Wrapper template produces name and date suitable for short footnotes, but the name and date often get overriden and can generate many different references.
- These wrapper templates should be added to the
wrapper_templatevariable. The module will then look for uses of the template where the name and/or date are overriden.- The default name+date should be supplied either in
wrapper_template_defaults(if there is a single name+date default), or inwrapper_template_defaults_vol(if the name+date default depends on the volume number). - Redirects or further wrapping should be described in
wrapper_templateas new keys: the value of these keys should be name+date entries inwrapper_template_defaultsorwrapper_template_defaults_vol. - If there is no sensible default name or date (e.g., {{Cite ODNB}}), you can use an empty string
''for the default.
- The default name+date should be supplied either in
- These wrapper templates should be added to the
- Wrapper template produces unusual short footnotes (e.g. without an author or date)
- In this case, a Lua pattern that covers all of the CITEREF cases should be added to the
wrapper_template_patternsvariable. Each entry is a pair of lists: a list of templates that share the Lua pattern(s), and a list of Lua patterns that cover the CITEREFs generated by all of the template.
- In this case, a Lua pattern that covers all of the CITEREF cases should be added to the