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'] = {' | ['free'] = {'id-lock-free', 'Freely accessible'}, | ||
['registration'] = {' | ['registration'] = {'id-lock-registration', 'Free registration required'}, | ||
['limited'] = {' | ['limited'] = {'id-lock-limited', 'Free access subject to limited trial, subscription normally required'}, | ||
['subscription'] = {' | ['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}; |