Modifiche
nessun oggetto della modifica
local lang = args[1] or (mw.title.getCurrentTitle().nsText == "Template" and "und") or error("Language code has not been specified. Please pass parameter 1 to the template.")
local sc = args["sc"] or ""; if sc == "" then sc = nil end
local cat_sc = args["cat sc"] or ""; if cat_sc == "" then cat_sc = nil end
lang = require("Module:languages").getByCode(lang) or error("The language code \"" .. lang .. "\" is not valid.")
if cat_sc then cat_sc = (cat_sc and (require("Module:scripts").getByCode(cat_sc) or error("The script code \"" .. cat_sc .. "\" is not valid.")) or nil) sc = cat_sc else sc = (sc and (require("Module:scripts").getByCode(sc) or error("The script code \"" .. sc .. "\" is not valid.")) or nil) end
-- Gather basic parameters
end
table.insert(categories, lang:getCanonicalName() .. " " .. pos.. (cat_sc and " in " .. cat_sc:getCategoryName() or ""))
elseif lang:getCode() ~= "und" then
table.insert(tracking_categories, "head tracking/no pos")