Jump to content

Module:Catalog lookup link: Difference between revisions

fix lock icon css class;
m (1 revision imported)
(fix lock icon css class;)
Line 29: Line 29:
local getArgs = require ('Module:Arguments').getArgs;
local getArgs = require ('Module:Arguments').getArgs;
local lock_icons = { --icon classes are defined in Module:Citation/CS1/styles.css
local lock_icons = { --icon classes are defined in Module:Citation/CS1/styles.css
['free'] = {'cs1-lock-free', 'Freely accessible'},
['free'] = {'id-lock-free', 'Freely accessible'},
['registration'] = {'cs1-lock-registration', 'Free registration required'},
['registration'] = {'id-lock-registration', 'Free registration required'},
['limited'] = {'cs1-lock-limited', 'Free access subject to limited trial, subscription normally required'},
['limited'] = {'id-lock-limited', 'Free access subject to limited trial, subscription normally required'},
['subscription'] = {'cs1-lock-subscription', 'Paid subscription required'},
['subscription'] = {'id-lock-subscription', 'Paid subscription required'},
}
}


Line 202: Line 202:


end --is_set (args[1])
end --is_set (args[1])
 
return out_text
return out_text
end
end


return {main = main};
return {main = main};
Anonymous user