Модуль:Песочница/Volcanus/Test2
Перейти к навигации
Перейти к поиску
Документация
local p = {};
local EMPTY_TABLE = {};
function p.drawGMs( args )
local entityId = args.entityId;
if (entityId == "" or entityId == nil) then entityId = mw.wikibase.getEntityIdForCurrentPage(); end
local root = createNode(entityId, 0);
local html;
html = '<div>' .. entityId .. '</div>'
return html;
end
function p.getGMs( frame )
local args = frame.args or EMPTY_TABLE;
return p.drawGMs( args );
end
return p