10,916
editsMore actions
no edit summary
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
local makeElementsSingular | local makeElementsSingular | ||
local makeElementsLowercase | local makeElementsLowercase | ||
local useTemplateOnElements | |||
local finalJoiningWord | local finalJoiningWord | ||
Line 149: | Line 150: | ||
if makeElementsLinks then | if makeElementsLinks then | ||
return "[[" .. original .. "|" .. str .. "]]" | return "[[" .. original .. "|" .. str .. "]]" | ||
end | |||
if useTemplateOnElements then | |||
return "{{" .. useTemplateOnElements .. "|" .. str .. "}}" | |||
end | end | ||
return str | return str | ||
Line 209: | Line 213: | ||
makeElementsSingular = args['makeSingular'] | makeElementsSingular = args['makeSingular'] | ||
makeElementsLowercase = args['makeLowercase'] | makeElementsLowercase = args['makeLowercase'] | ||
useTemplateOnElements = args['useTemplate'] | |||
finalJoiningWord = args['joinWord'] or "and" | finalJoiningWord = args['joinWord'] or "and" | ||