DIV_CLASS_ROW

Модуль: MP: различия между версиями 🔗


Материал из VEDA Wiki
Перейти к: навигация, поиск
Нет описания правки
Нет описания правки
Строка 11: Строка 11:
-- thankx https://warframe.fandom.com/es/wiki/M%C3%B3dulo:DependencyGraph
-- thankx https://warframe.fandom.com/es/wiki/M%C3%B3dulo:DependencyGraph
local t ={}
local t ={}
   local m= mw.getCurrentFrame():preprocess([=[<DynamicPageList>
   local m= frame:preprocess{ text = [=[<DynamicPageList>
category            =
namespace =Tech
ordermethod = sortkey
order                = ascending
redirects = include
offset    = 2
mode = ordered
</DynamicPageList>]=])
 
  for i in string.gmatch(m, "([^Q]+)") do
    table.insert(t, i..'XXX')
  end
local mm = frame.args[1]
mm= mm:gsub("T","X")
--  return #t..table.concat(t,'XXX')..mm
return frame:preprocess{ text = [=[<DynamicPageList>
category            =
category            =
namespace =Tech
namespace =Tech
Строка 37: Строка 21:
</DynamicPageList>
</DynamicPageList>
]=] }
]=] }
m= m:gsub("T","X")
return m
end
end



Версия от 20:20, 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 =Tech
ordermethod = sortkey
order                = ascending
redirects = include
offset    = 2
mode = ordered
</DynamicPageList>
]=] }

m= m:gsub("T","X")
return m
end









return p