Munurin millum rættingarnar hjá "Module:Ns has subpages/doc"
Content deleted Content added
EileenSanda (kjak | íkøst) Stovnaði síðu við "This module finds whether a given namespace can have subpages. == Usage == === From wikitext === From wikitext this module must be used via the {{tl|ns has su..." |
s Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html] |
||
Linja 12:
Load the module:
<
local mNsHasSubpages = require('Module:Ns has subpages')
</syntaxhighlight>
The subpage information can be found with the ._main function:
<
mNsHasSubpages._main(ns, frame)
</syntaxhighlight>
* <var>ns</var> is the namespace name, number, or a page name. It defaults to the current namespace.
|