https://dev.fandom.com/wiki/Lua_templating/Tips_and_tricks
- Check if passed argument is a frame or regular object:
-- Source: http://en.wikipedia.org/wiki/Module:Infobox -- If called via #invoke, use the args passed into the invoking template. -- Otherwise, for testing purposes, assume args are being passed directly in. if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
else
origArgs = frame
end (nicht signierter Beitrag von Gadacz (Diskussion | Beiträge) 08:32, 17. Feb. 2020 (CET))