Template:DataModule: Difference between revisions
From Eco - English Wiki
| [checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
| text = <big>ATTENTION!</big> Data files are generated using game data and are not intended for manual editing. | | text = <big>ATTENTION!</big> Data files are generated using game data and are not intended for manual editing. | ||
}} | }} | ||
== Warning about use == | |||
To prevent multiple call of data array, you must use the function: | |||
local {{BASEPAGENAME}} = mw.loadData("{{FULLPAGENAME}}") | |||
Latest revision as of 10:54, 2 March 2026
ATTENTION! Data files are generated using game data and are not intended for manual editing.
Warning about use
[edit source]To prevent multiple call of data array, you must use the function: local DataModule = mw.loadData("Template:DataModule")