Module:qhv-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 122: Line 122:
local function link(term)
local function link(term)
local nom = pass.forms["nom_sg"]
local links = {}
local links = {}
for alt in gmatch(term, "([^%s,]+)") do
for alt in gmatch(term, "([^%s,]+)") do
alt = "[[Contionary:" .. alt .. (alt ~= term and "#High Valyrian" or "") .. "|" .. alt .. "]]"
alt = "[[Contionary:" .. alt .. (alt ~= nom and "#High Valyrian" or "") .. "|" .. alt .. "]]"
table.insert(links, alt)
table.insert(links, alt)
end
end

Navigation menu