Module:Infobox: Difference between revisions

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,636

edits