Module:Functions

Uit Wikibooks

pagesInNamespace()[bewerken]

Doel
Geeft het aantal modules in de (numeriek) opgegeven naamruimte
Syntax
{{#Invoke:functions|pagesInNamespace|0}}
Gebruik
Via {{Modulesinnaamruimte}}



local p={}

function p.pagesInNamespace(frame)
 return mw.site.stats.pagesInNamespace(tonumber(frame.args[1]))
end

return p
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.