變更
無編輯摘要
function z.main( frame )
function z.main( frame )
local args = frame:getParent().args
local args
if frame == mw.getCurrentFrame() then
-- Being called from {{noteTA}}
args = frame:getParent().args
else
-- Being called from another module
args = frame
frame = mw.getCurrentFrame()
end
local Tc = Tcode( args )
local Tc = Tcode( args )
local Gc = Gcode( args, frame )
local Gc = Gcode( args, frame )