Module:infobox: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 6: Line 6:
ret = ret .. '\n|-'
ret = ret .. '\n|-'
ret = ret .. '\n! class="infobox-title" colspan=2 | ' .. data.title
ret = ret .. '\n! class="infobox-title" colspan=2 | ' .. data.title
end
if data.image then
ret = ret .. '\n|-'
ret = ret .. '\n| colspan=2 class="infobox-image" | ' .. data.image
end
end
if data.sections then
if data.sections then
Line 35: Line 39:
data.sections = {}
data.sections = {}
if args["title"] then data.title = args["title"] end
if args["title"] then data.title = args["title"] end
if args["image"] then data.image = args["image"] end
local i = 1
local i = 1
while args[i] do
while args[i] do

Navigation menu