Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 124: Line 124:
local links = {}
local links = {}
for alt in gmatch(term, "([^%s,]+)") do
for alt in gmatch(term, "([^%s,]+)") do
alt = "[[Contionary:" .. alt .. "#High Valyrian|" .. alt .. "]]"
alt = "[[Contionary:" .. alt .. (alt ~= term and "#High Valyrian" or "") .. "|" .. alt .. "]]"
table.insert(links, alt)
table.insert(links, alt)
end
end