Module:WelcomeTool

-- Module:WelcomeTool --    Enhancements for Help:Welcome tool --    e.g. Low maintenance welcome messages.

local wrap_func = require("Module:Utils").make_wrapper_function

return { -- Wikilinks formatted for text only (e.g. Thread:101|Help -> Help) -- Useful for this wiki since deletions and moves are commonplace link_to_text = wrap_func(function(args)       return args[2]            and tostring(mw.html.create("div") :attr("title", args[1]) :class("explain") :wikitext(args[2]))           or args[1];    end) }