Changes

no edit summary
Line 46: Line 46:  
         end
 
         end
 
     end
 
     end
     local collection = U.icopy(CollectionEquipment)
+
     local collection
 +
    local collectionKey = stringKey('collection', context, n)
 +
    if collectionKey then
 +
        local _, CollectionData = U.requireModule(string.format("Module:Collection/%s", collectionKey))
 +
        collection = U.icopy(CollectionData)
 +
    else
 +
        collection = U.icopy(CollectionEquipment)
 +
    end
 
     local sortKey = stringKey('sort', context, n)
 
     local sortKey = stringKey('sort', context, n)
 
     if sortKey then
 
     if sortKey then
cssedit, gkautomate
7,064

edits