Module:TemplateHelpers: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 136: Line 136:
end
end


-- @deprecated See LinkParser.extractFromWikiLink
function p.extractFromWikiLink(value)
    return require('Module:LinkParser').extractFromWikiLink(value)
end


-- Module-level pattern categories for sanitizing user input
-- Module-level pattern categories for sanitizing user input
Line 428: Line 424:
end
end


-- Create info icon HTML with tooltip
-- @param tooltip string The tooltip text
-- @return string The HTML for the info icon with tooltip
-- @deprecated This function is kept for backward compatibility but no longer adds an icon
function p.createInfoIconWithTooltip(tooltip)
    -- Return empty string as we now handle tooltips directly on the cell
    return ""
end


-- Renders a standard fields block based on field definitions and processors
-- Renders a standard fields block based on field definitions and processors