Module:Bongolium500/main page modules: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 14: Line 14:
local side = "left"
local side = "left"
while not done do
while not done do
outputText = outputText .. "<tr><td>" .. frame:preprocess(args[i]:gsub("{!%-%-" .. side .. "%-.-%-align%-%-}", ""):gsub("{!%-%-left%-", ""):gsub("{!%-%-right%-", ""):gsub("%-align%-%-}", "")) .. "</td></tr>\n"
outputText = outputText .. "<tr style=\"border:#d5ac59 1px solid;\"><td>" .. frame:preprocess(args[i]:gsub("{!%-%-" .. side .. "%-.-%-align%-%-}", ""):gsub("{!%-%-left%-", ""):gsub("{!%-%-right%-", ""):gsub("%-align%-%-}", "")) .. "</td></tr>\n"
if side == "left" then side = "right" else side = "left" end
if side == "left" then side = "right" else side = "left" end
i = i + 1
i = i + 1
Cookies help us deliver our services. By using our services, you agree to our use of cookies.