Jump to content

Module:Numcr2namecr/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GKFX (talk | contribs) at 20:15, 27 April 2021 (Create docs.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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 {{#invoke:LoadData|Numcr2namecr|index|if_nil=default}}

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.