Content deleted Content added
m For some idiotic reason I can't seem to access args[1] etc. Trying this out of ... frustration. |
bad, ahem, logic |
||
Line 49:
local title = args['title' .. tostring(section)]
if (not title) then
if (text == '') then
else
local wrap = false▼
output = output .. text -- sections without headers go in unwrapped▼
end▼
else
▲ local wrap = false
▲ end
local image = args['image' .. tostring(section)]
local text = mw.ustring.gsub(text, "(==.-)\n%f[=]", replace)
Line 69 ⟶ 70:
==­ ==
]===] .. text .. sectionfooter
▲ output = output .. text -- sections without headers go in unwrapped
▲ end
until false
return output
|