Mòdul:Wikidades/i18n: diferència entre les revisions

Contingut suprimit Contingut afegit
cite web
argument lang pels case
Línia 63:
["smallcaps"] = function(word) return '<span style="font-variant: small-caps;">' .. word .. '</span>' end,
-- case gender and item is female
["feminine"] = function(word, lang) if lang == nil or lang == "ca" then return require("Module:ca-flexió").fem(word) end end,
-- case infoboxlabel and itemgender is female
["labelfeminine"] = function(word, lang) if lang == nil or lang == "ca" then return require("Module:Wikidata/labels").fixInfoboxLabel(require("Module:ca-flexió").fem(word)) end end
}