Module:Infobox Tools: Difference between revisions
Content added Content deleted
(Adding the function linkify_equip_list to make links out of the comma separated list) |
(fixing variable name) |
||
Line 186: | Line 186: | ||
temp_str = temp_str .. ','; |
temp_str = temp_str .. ','; |
||
--Loop through the list and append link brackets and the value to the output |
--Loop through the list and append link brackets and the value to the output |
||
for w in |
for w in temp_str:gmatch("(.-),") do output_str = output_str .. '[[' .. w .. ']]' end |
||
return output_str; |
return output_str; |