މޮޑިއުލް:Ns has subpages/doc: Difference between revisions
Content deleted Content added
Created page with "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 subpag..." |
އެންމެ ފަހުން ގެނެވުނު ބަދަލު 23:46, 18 އެޕްރީލް 2020 އުނިއިތުރު ގެންނަވާ ކުރީގެ ނުސްހާއަށް ބަދަލުކުރައްވާ Xqbot (ޚިޔާލު ސަފްޙާ | ޙިއްޞާ) m Bot: Replace deprecated <source> tag and "enclose" parameter |
||
ފޮޅުވަތް 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.
|