Модуль: MP: различия между версиями 🔗
Материал из VEDA Wiki
Sphynkx (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
Sphynkx (обсуждение | вклад) Нет описания правки |
||
Строка 26: | Строка 26: | ||
end | end | ||
function p.mpf3( frame ) | |||
return frame:expandTemplate{ title = 'Cont', args = { '|' } } | |||
end | |||
Версия от 20:38, 18 октября 2024
Для документации этого модуля может быть создана страница Модуль:MP/doc
local p = {}
function p.mpf( frame )
-- return ' is a [[' .. mw.site.namespaces[3000].name .. ':stub|stub]]. You can help ' .. mw.site.siteName .. ' by ['
return #mw.site.namespaces[3000]
end
function p.mpf2( frame )
-- thankx https://warframe.fandom.com/es/wiki/M%C3%B3dulo:DependencyGraph
local t ={}
local m= frame:preprocess{ text = [=[<DynamicPageList>
category =
namespace =0
ordermethod = sortkey
order = ascending
redirects = include
offset = 2
mode = none
</DynamicPageList>
]=] }
m= m:gsub("T","X")
return '<div style="column-count: 3;">'..m..'</div>'
end
function p.mpf3( frame )
return frame:expandTemplate{ title = 'Cont', args = { '|' } }
end
return p