Difference between revisions of "Module:SetBSExtensionInfoEditionNotFree"

local p = {}

function p.setFromEditionCSV( frame )

                   local edition = frame.args[1]
   ifreturn string.match( edition, "BlueSpice free" ) then
     return 
   end
   
   return 
''..edition..''

            

end

return p

local p = {}
        

        function p.setFromEditionCSV( frame )
        
            local edition = frame.args[1]
         if string.match( edition, "BlueSpice free" ) then
            
                  return ''
            
                end
            

                return '[[BSExtensionInfoEditionNot::false| ]]return '<span style="display:none">'..edition..'</span>'
        
        end
        

        return p
Line 3: Line 3:
 
function p.setFromEditionCSV( frame )
 
function p.setFromEditionCSV( frame )
 
     local edition = frame.args[1]
 
     local edition = frame.args[1]
     return '<span style="display:none">'..edition..'</span>'
+
 
 +
     if string.match( edition, "BlueSpice free" ) then
 +
      return ''
 +
    end
 +
   
 +
    return '[[BSExtensionInfoEditionNot::false| ]]'
 
end
 
end
  
 
return p
 
return p

Attachments

Discussions