Модуль: MP: различия между версиями 🔗
Материал из VEDA Wiki
Sphynkx (обсуждение | вклад) Нет описания правки |
Sphynkx (обсуждение | вклад) Нет описания правки |
||
Строка 3: | Строка 3: | ||
function p.mpf( frame ) | function p.mpf( frame ) | ||
local t= | local t = {mw.site.namespaces[{id=0, hasSubpages=true}]} | ||
return table.sort(t) | return table.sort(t) | ||
end | end |
Версия от 00:17, 18 октября 2024
Для документации этого модуля может быть создана страница Модуль:MP/doc
local p = {}
function p.mpf( frame )
local t = {mw.site.namespaces[{id=0, hasSubpages=true}]}
return table.sort(t)
end
function p.mpf2( frame )
-- thankx https://warframe.fandom.com/es/wiki/M%C3%B3dulo:DependencyGraph
return mw.getCurrentFrame():preprocess([=[<DynamicPageList>
category =
namespace =
ordermethod = sortkey
order = ascending
redirects = include
offset = 2
</DynamicPageList>]=])
end
return p