Module:Higher education task force test3: Difference between revisions

Content deleted Content added
Created page with 'require("strict") local yesNo = require("Module:Yesno") local getArgs = require("Module:Arguments").getArgs local banner = require("Module:WikiProject_banner") local p = {} --[[------------------------< _main >--------------------------------- Internal function to retrieve data for a task force. ]]---------------------------------------------------------------------------- function p._main(args, data) local dataModule = require('Module:Higher education ta...'
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 19:
 
return taskForceData
end
 
--[[------------------------< getCanonicalCode >---------------------------------
Gets the canonical code for a task force. return tfData.canonicalCode
 
]]----------------------------------------------------------------------------
 
function p.omain(frame)
local args = getArgs(frame, { parentFirst = true })
return p._main(args)
end
 
Line 72 ⟶ 62:
end
end
--not sure why we have to do this but we do to get class to be detected correctly if inherited
if trable["class"]== nil then
trable["class"]=" "
end
 
frame.args=trable
return frame
Line 80 ⟶ 75:
local oframe=frame
frame=p.fudgeTaskforceParameters(frame)
return banner.main(oframeframe)
 
return banner.main(oframe)
end