You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
local utilities = require ( "Module:Utilities" )
local notUseLUAPattern = true
function p.getVariantData( frame, landingPage, variantType, variantNumber )
-- check input variables
if ( frame == nil ) then
frame = mw.getCurrentFrame()
end
mw.log( 'HonorUtils.getVariantData (frame): '..frame:getTitle() )
if ( landingPage == nil or landingPage == "" ) then
landingPage = frame:expandTemplate{ title='GetHonorLandingPage' }
end
mw.log( 'HonorUtils.getVariantData (landingPage): '..landingPage )
local keyToStore = ''
if (variantType == 'requirements') then
keyToStore = 'requirements'
elseif (variantType == 'answerKey') then
keyToStore = 'answers'
else
mw.log( 'HonorUtils.getVariantData: Invalid variantType!' )
000
1:0
Template used on this page:
Return to Module:HonorUtils.