Module:Infobox: Difference between revisions

Jump to navigation Jump to search
m
Maybe should flip if check for only size 2
mNo edit summary
m (Maybe should flip if check for only size 2)
Line 137: Line 137:
         name = mw.text.trim(creator, "%s%p(and)")
         name = mw.text.trim(creator, "%s%p(and)")
     name = mw.text.split(name,"|")
     name = mw.text.split(name,"|")
     if #name == 1 then
     if #name == 2 then
        table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[2] .. "]]")
    else
         table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[1] .. "]]")
         table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[1] .. "]]")
    else
        table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[2] .. "]]")
     end
     end
         end
         end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu