2,788
edits
(Created page with "local export = {} local function make_list(frame, list_type) if link_type ~= "mention" or link_type ~= "list" then error("Link type must be specified") end local language_code = frame.args[1] local word = frame.args[2] local display = frame.args[3] or frame.args["display"] or frame.args["d"] local text = frame.args[4] or frame.args["text"] or frame.args["t"] local pos = frame.args["pos"] local language = require("Module:languages").get_by_code(language_code)...") |
No edit summary |
||
Line 2: | Line 2: | ||
local function make_list(frame, list_type) | local function make_list(frame, list_type) | ||
if link_type ~= "mention" | if link_type ~= "mention" and link_type ~= "list" then | ||
error("Link type must be specified") | error("Link type must be specified") | ||
end | end |