Module:usex/templates: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local export = {} local m_languages = require("Module:languages") local rsplit = mw.text.split local rfind = mw.ustring.find function export.usex_t(frame) local params = {...")
 
No edit summary
 
Line 34: Line 34:
local compat = (frame.args["compat"] or "") ~= ""
local compat = (frame.args["compat"] or "") ~= ""
local template_inline = (frame.args["inline"] or "") ~= ""
local template_inline = (frame.args["inline"] or "") ~= ""
local template_nocat = (frame.args["nocat"] or "") ~= ""
local class = frame.args["class"]
if compat then
if compat then
Line 63: Line 65:
source = args["source"],
source = args["source"],
footer = args["footer"],
footer = args["footer"],
nocat = args["nocat"],
nocat = args["nocat"] or template_nocat,
brackets = args["brackets"],
brackets = args["brackets"],
sortkey = args["sort"],
sortkey = args["sort"],
class = class,
}
}

Navigation menu