Module:ModuleData: Difference between revisions

This should fix images
(Made the AutoModule use The infobox temlate)
(This should fix images)
 
Line 155: Line 155:
res = res .. "\n|  label" .. x .. " = " .. current.label .. "\n|  data" .. x .. " = " .. current.value
res = res .. "\n|  label" .. x .. " = " .. current.label .. "\n|  data" .. x .. " = " .. current.value
nextLabel = nextLabel + 1
nextLabel = nextLabel + 1
elseif current.type == "image" then
res = res .. "\n| " .. current.type .. " = [[File:" .. current.value .. "]]"
else
else
res = res .. "\n| " .. current.type .. " = " .. current.value
res = res .. "\n| " .. current.type .. " = " .. current.value
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits