Module:Infobox Tools: Difference between revisions
Content added Content deleted
(Testing removing characters from ends to remove the extra spaces in the output) |
No edit summary |
||
Line 187: | Line 187: | ||
--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 temp_str:gmatch("(.-),") do |
for w in temp_str:gmatch("(.-),") do |
||
local tmp = w:sub(2,- |
local tmp = w:sub(2,-1); |
||
output_str = output_str .. '[[Equipment/' .. tmp .. '|' .. tmp ..']], ' |
output_str = output_str .. '[[Equipment/' .. tmp .. '|' .. tmp ..']], ' |
||
end |
end |