Module:Infobox: Difference between revisions

Jump to navigation Jump to search
m
Edge case when there's only 2 names (name and name)
m (Seems like the templates get parsed prior to modules. Figured out how to escape brackets in modules)
m (Edge case when there's only 2 names (name and name))
Line 134: Line 134:
         if rowArgs.label == "Created by" or rowArgs.label == "Last Updated by" then
         if rowArgs.label == "Created by" or rowArgs.label == "Last Updated by" then
         creatorsList = {}
         creatorsList = {}
         rowArgs.data = string.gsub(rowArgs.data, " and ", "")
         rowArgs.data = string.gsub(rowArgs.data, " and ", ", ")
         rowArgs.data = string.gsub(rowArgs.data, "%[%[User:", "")
         rowArgs.data = string.gsub(rowArgs.data, "%[%[User:", "")
         rowArgs.data = string.gsub(rowArgs.data, "%]%]", "")
         rowArgs.data = string.gsub(rowArgs.data, "%]%]", "")
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu