Module:compound/templates: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 441: | Line 441: | ||
local id = args.id | local id = args.id | ||
local sc = fetch_script(args.sc, "sc") | local sc = fetch_script(args.sc, "sc") | ||
local pos = require("Module:string utilities").pluralize(args.pos or " | local pos = require("Module:string utilities").pluralize(args.pos or "word") | ||
if not term then | if not term then | ||
| Line 484: | Line 484: | ||
depth = 0, | depth = 0, | ||
class = "\"derivedterms" .. (sc and " " .. sc:getCode() or "") .. "\"", | class = "\"derivedterms" .. (sc and " " .. sc:getCode() or "") .. "\"", | ||
namespaces = "-" .. (mw.title.getCurrentTitle().nsText == " | namespaces = "-" .. (mw.title.getCurrentTitle().nsText == "Contionary" and " Contionary" or ""), | ||
hideprefix = "always", | |||
} | } | ||
} | } | ||