1,124
edits
Line 59: | Line 59: | ||
function p.iconList(frame) | function p.iconList(frame) | ||
list = string.gsub(string.gsub(frame.args[1], '%[%[', ''), '%]%]', '') | list = string.gsub(string.gsub(frame.args[1], '%[%[', ''), '%]%]', '') | ||
list = string.gsub(string.gsub(link, '%{%{item%|', ''), '%}%}', '') | |||
list = string.gsub(list, '<br%s>', ';') | |||
list = string.gsub(list, '%|', '-') | |||
list = mw.text.split(list, ';') | list = mw.text.split(list, ';') | ||
result = '' | result = '' |