ماڈیول:Catégorisation badges/Détection
Appearance
local p = { }
function p.hasAnyBadge( frame )
local entity = mw.wikibase.getEntityObject() if not entity then return end for siteid, linkTable in pairs( entity.sitelinks ) do if next(entity.sitelinks[ siteid ].badges) ~= nil then return '1' end end return
end
return p
اوپر دی گئی دستاویز صفحہ ماڈیول:Catégorisation badges/Détection/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین ماڈیول کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ اس ماڈیول کے ذیلی صفحات۔ |