Module:InterwikiTable/doc: Difference between revisions

Content deleted Content added
use {{sandbox other}}
 
(3 intermediate revisions by 3 users not shown)
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:
 
<sourcesyntaxhighlight lang="lua">
local interwiki_table = mw.loadData('Module:InterwikiTable')
</syntaxhighlight>
</source>
 
== Table fields ==
Line 29:
* <code>interwiki_table.wikibooks.title_prefix</code> &rarr; "/wiki/"
* <code>interwiki_table.meta.takes_lang_prefix</code> &rarr; false
 
<includeonly>{{sandbox other|
== See also ==
 
*[[Special:SiteMatrix]]
*[[mw:Extension:SiteMatrix]]
 
<includeonly>{{sandbox other||
[[Category:Lua metamodules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>