Module:Lang: Difference between revisions

fix for localization tags
remove hashtags from localized hero names
Line 233: Line 233:
     end
     end
      
      
  -- Remove hashtags
  if type(label) == "string" and label:find("#") then
        local parts = mw.text.split(label, "#")
        label = parts[#parts]
    end
     -- Apply remove_var
     -- Apply remove_var
     if (remove_var_index ~= nil) then  
     if (remove_var_index ~= nil) then