Module:Numcr2namecr/doc: Difference between revisions

From Drifter's Wiki TEST
Jump to navigation Jump to search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 13:00, 23 October 2022


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 Lua error: Internal error: The interpreter exited with status 127., or {{Lua error: Internal error: The interpreter exited with status 127.}}

{{#invoke:LoadData|Numcr2namecr|0x160}}Lua error: Internal error: The interpreter exited with status 127..


  • |index| must be a plain decimal 160 or explicit hexadecimal 0xA9. Not " " 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

Lua error: Internal error: The interpreter exited with status 127.