模块:Numcr2namecr/doc

来自决策链云智库
< 模块:Numcr2namecr
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 15:53的版本 (创建页面,内容为“{{Module rating |release}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This is a data module. It cannot be invoked directly, but it can be accessed from other modules. == Usage == From Lua, use <code>mw.loadData</code>. Be aware that will return a special type of table so some features are unavailable. From templ…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

这是模块:Numcr2namecr的文档页面

This is a data module. It cannot be invoked directly, but it can be accessed from other modules.

Usage

From Lua, use mw.loadData. Be aware that will return a special type of table so some features are unavailable.

From templates, use {{Numcr2namecr}}, or 模板:Mlx

{{#invoke:LoadData|Numcr2namecr|0x160}} → &Scaron;.
  • |index| must be a plain decimal 模板:Mxt or explicit hexadecimal 模板:Mxt. Not "&#160;" nor hexadecimal "00A9".

Editing

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.

See also

List of XML and HTML character entity references § Character entity references in HTML


pt:Módulo:Numcr2namecr/doc