Module:InterwikiTable/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
m (change source to syntaxhighlight) |
||
Line 7: | Line 7: | ||
The module cannot be accessed directly from #invoke. It should be loaded from another Lua module using <code>mw.loadData</code>, like this: |
The module cannot be accessed directly from #invoke. It should be loaded from another Lua module using <code>mw.loadData</code>, like this: |
||
< |
<syntaxhighlight lang="lua"> |
||
local interwiki_table = mw.loadData('Module:InterwikiTable') |
local interwiki_table = mw.loadData('Module:InterwikiTable') |
||
</syntaxhighlight> |
|||
</source> |
|||
== Table fields == |
== Table fields == |