Module:PrevalenceData का स्रोत देखें
नेविगेशन पर जाएँ
खोज पर जाएँ
आपको इस पृष्ठ को सम्पादित करने की अनुमति नहीं हैं, निम्नलिखित कारण की वजह से:
आप इस पृष्ठ का स्रोत देख सकते हैं और उसकी नकल उतार सकते हैं:
-- This module is specifically the Wikidata property "prevalence" (P1193), due
-- to its particular need for ranges and area-based qualifiers, and the lack of
-- support for these in the main Wikidata module.
-- Completely untested.
local p = {}
--local wikidata = require( 'Module:Wikidata' )
p.main = function ( frame )
--local entity = mw.wikibase.getEntity( 'Q133087' )
local entity = mw.wikibase.getEntity( frame.args.qId or nil )
if entity then
local prevalenceClaims = entity.claims and entity.claims.P1193
-- TODO: Get best claim, not always just the first one.
-- Probably use getBestStatements.
if prevalenceClaims then
local pRange = ''
-- Run through all prevalence claims
for i, prevalenceClaim in pairs( prevalenceClaims ) do
000
1:0
इस पृष्ठ पर प्रयुक्त साँचे:
Module:PrevalenceData को लौटें।