Modul:he-links

Üdvözlöm, Ön a Modul:he-links szó jelentését keresi. A DICTIOUS-ban nem csak a Modul:he-links szó összes szótári jelentését megtalálod, hanem megismerheted az etimológiáját, a jellemzőit és azt is, hogyan kell a Modul:he-links szót egyes és többes számban mondani. Minden, amit a Modul:he-links szóról tudni kell, itt található. A Modul:he-links szó meghatározása segít abban, hogy pontosabban és helyesebben fogalmazz, amikor beszélsz vagy írsz. AModul:he-links és más szavak definíciójának ismerete gazdagítja a szókincsedet, és több és jobb nyelvi forráshoz juttat.

A modult a Modul:he-links/doc lapon tudod dokumentálni

local m_links_templates = require("Module:links/templates")
local com = require("Module:he-common")

local export = {}

function export.term(frame)
	local args = {}

	for key, val in pairs(frame:getParent().args) do
		args = val
	end

	if args == "" then args = nil end
	if args == "" then args = nil end

	if args == nil or args == "" then
		local form, formwv, formdwv = com.process_wv_triad(args or "", args, args)
		args = form or ""
		if formdwv then
			args = (formwv or form) .. " \\ " .. formdwv
		else
			args = (formwv or form)
		end
	end

	args = nil
	args = nil

	-- table.insert(args, 1, "he")
	-- shift manually to avoid strange bugs:
	args = args
	args = args
	args = args
	args = "he"
	
	if args and args:find("[[", 1, true) then
		-- args (term) contains wikilinks, so args (alt) will be ignored
		-- by ] and will cause a tracking template to be
		-- transcluded.
		args = nil
		-- ]
		require("Module:debug").track("he-links/alt removed")
	end

	-- Passthrough arguments after modification
	local frame2 = frame:newChild{title = frame:getParent():getTitle(), args = args}:newChild{title = frame:getTitle(), args = frame.args}

	return m_links_templates.l_term_t(frame2)
end

return export