Hello, you have come here looking for the meaning of the word
Module:User:Theknightwho/links. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:User:Theknightwho/links, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:User:Theknightwho/links in singular and plural. Everything you need to know about the word
Module:User:Theknightwho/links you have here. The definition of the word
Module:User:Theknightwho/links will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:User:Theknightwho/links, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
local parser = require("Module:User:Theknightwho/wikitext parser")
local export = {}
local function iterate_links(text)
text:new_iter("next_node")
-- If text is itself a template object, return it on the first iteration.
local self_ret, node = text.type == "wikilink"
return function()
if self_ret then
self_ret = false
return text
end
repeat
node = text:iterate()
until not node or node.type == "wikilink"
if node then
return node
end
end
end
function export.language_link(data, allow_self_link)
if type(data) ~= "table" then
error("The first argument to the function language_link must be a table. See Module:links/documentation for more information.")
-- Nothing to process, return nil.
elseif not (data.term or data.alt) then
return nil
end
local term, alt
if data.term then
term = parser.parse_link_template(data.term)
if data.alt then
alt = parser.parse_nowiki(data.alt, true)
end
elseif data.alt then
alt = parser.parse(data.alt, true)
end
for link in iterate_links(term) do
end
end
return export