Modulo:Bio/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
aggiornato alla versione corrente
+categoria
Riga 214:
self:_addNatiMorti()
self:_addCategory(cfg.categorie["bot"])
-- Categorie di controllo con Wikidata
local entity = mw.wikibase.getEntityObject()
if not args.AnnoMorte and entity orand (entity.claims and not entity.claims["P27"]).P570 then
self:_addCategory("Voci con template Bio senza AnnoMorte ma con data di morte su Wikidata")
end
-- Categoria temporanea, vedi richiesta:
-- Speciale:LinkPermanente/66620402#Add_this_text_to_Template:Bio
if args["Nazionalità"] and not args.Debug then
if not entity or (entity.claims and not entity.claims.P27) then
local entity = mw.wikibase.getEntityObject()
if not entity or (entity.claims and not entity.claims["P27"]) then
self:_addCategory("Voci con template Bio e nazionalità assente su Wikidata")
end