Module:anchors/templates

Hello, you have come here looking for the meaning of the word Module:anchors/templates. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:anchors/templates, but we will also tell you about its etymology, its characteristics and you will know how to say Module:anchors/templates in singular and plural. Everything you need to know about the word Module:anchors/templates you have here. The definition of the word Module:anchors/templates will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:anchors/templates, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module implements the following templates:

See their documentation for more information.


-- Prevent substitution.
if mw.isSubsting() then
	return require("Module:unsubst")
end

local m_anchors = require("Module:anchors")

local load_data = mw.loadData
local process_params = require("Module:parameters").process

local export = {}

function export.anchor_t(frame)
	return m_anchors.make_anchors(process_params(frame:getParent().args, load_data("Module:parameters/data").anchor))
end

function export.senseid_t(frame)
	local args = process_params(frame:getParent().args, load_data("Module:parameters/data").senseid)
	return m_anchors.senseid(args, args, args.tag)
end

function export.etymid_t(frame)
	local args = process_params(frame:getParent().args, load_data("Module:parameters/data").etymid)
	return m_anchors.etymid(args, args)
end

return export