Modifiche

Modulo:Headword/templates

236 byte aggiunti, 21:50, 18 gen 2015
add support for |f#lang= (there are some use cases for that)
local qualifier = args["f" .. i .. "qual"]; if qualifier == "" then qualifier = nil end
local nolink = args["f" .. i .. "nolink"]; if nolink == "" then nolink = nil end
local lang = args["f" .. i .. "lang"]; if lang == "" then lang = nil end
if lang ~= nil then
lang = require("Module:languages").getByCode(lang) or error("The language code \"" .. lang .. "\" is not valid.")
end
if term or alt then
end
table.insert(parts, {term = term, alt = alt, sc = sc, id = id, translit = translit, genders = {gender}, qualifiers = {qualifier}, nolink = nolink, lang = lang})
end
Utente anonimo

Menu di navigazione