Modifiche

Modulo:Headword/templates

131 byte aggiunti, 19:05, 25 giu 2016
I need at least up to cat4=. I seems a shame we can't do higher. I was aware of having the extra cat= param, but I didn't think anyone would mind. Is there a way to have the list start at cat2=?
["cat2"] = {},
["cat3"] = {},
["cat4"] = {},
["head"] = {list = true, allow_holes = true, default = ""},
local cat2 = args["cat2"]
local cat3 = args["cat3"]
local cat4 = args["cat4"]
local heads = args["head"]
local translits = args["tr"]
if cat3 then
table.insert(categories, lang:getCanonicalName() .. " " .. cat3)
end
if cat4 then
table.insert(categories, lang:getCanonicalName() .. " " .. cat4)
end
Utente anonimo

Menu di navigazione