Module:Lang: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) fix for localization tags |
Gammaton32 (talk | contribs) 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 | ||