Модуль: MP: различия между версиями 🔗
Материал из VEDA Wiki
Sphynkx (обсуждение | вклад) Нет описания правки |
Sphynkx (обсуждение | вклад) Нет описания правки |
||
Строка 6: | Строка 6: | ||
local xxx = 'XXX' | local xxx = 'XXX' | ||
local m = mw.site.namespaces[{id=0, hasSubpages=true}] | local m = mw.site.namespaces[{id=0, hasSubpages=true}] | ||
return ' is a [[' .. mw.site.namespaces | return ' is a [[' .. mw.site.namespaces.Project.name .. ':stub|stub]]. You can help ' .. mw.site.siteName .. ' by [' | ||
end | end |
Версия от 00:29, 18 октября 2024
Для документации этого модуля может быть создана страница Модуль:MP/doc
local p = {}
function p.mpf( frame )
local t = {}
local xxx = 'XXX'
local m = mw.site.namespaces[{id=0, hasSubpages=true}]
return ' is a [[' .. mw.site.namespaces.Project.name .. ':stub|stub]]. You can help ' .. mw.site.siteName .. ' by ['
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