Module:Numcr2namecr/doc
Appearance
| This is a documentation subpage for Module:Numcr2namecr. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
This is a data module. It cannot be invoked directly, but it can be accessed from other modules.
Usage
[edit]From Lua, use mw.loadData. Be aware that will return a special type of table so some features are unavailable.
From templates, use {{#invoke:LoadData|Numcr2namecr|index|if_nil=default}}
{{#invoke:LoadData|Numcr2namecr|0x160}}→ Š.
- |
index| must be a plain decimal 160 or explicit hexadecimal 0xA9. Not " " nor hexadecimal "00A9".
Editing
[edit]Please do not add any functions, metatables etc. to this data table. mw.loadData is very limited in what it will accept as valid input.