Module:Infobox: Difference between revisions

Jump to navigation Jump to search
Attempt to process ModuleInfobox Creators list
imported>Frietjes
(fix for spurious <p> tag per talk page)
(Attempt to process ModuleInfobox Creators list)
Line 131: Line 131:
                 :css('text-align', 'center')  
                 :css('text-align', 'center')  
         end
         end
       
        if rowArgs.label == "Created by" then
        creatorsList = {}
        for name in mw.text.gsplit(rowArgs.data, ",") do
        creatorsList.insert("[[" .. mw.text.trim(name,"%s%p(and)") .. "]]")
        end
        rowArgs.data = mw.text.listToText(creatorsList)
        end
         dataCell
         dataCell
             :attr('id', rowArgs.dataid)
             :attr('id', rowArgs.dataid)
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu