Modül:Türkiye nüfus
local p = {}
-- Helper function to fetch populations from Wikidata
local function fetchPopulations(entity) local claims = mw. wikibase. getAllStatements(entity, 'P1082') if not claims then return {}, {}, {}, {}, {}, {}, {}, false, false, false end local populations = {} local ruralPopulations = {} local urbanPopulations = {} local determinationMethods = {} local femalePopulations = {} local malePopulations = {} local hasRural = false local hasUrban = false local hasGender = false for _, statement in ipairs(claims) do local qualifiers = statement.