Module:WikidataIB/sandbox का स्रोत देखें
नेविगेशन पर जाएँ
खोज पर जाएँ
आपको इस पृष्ठ को सम्पादित करने की अनुमति नहीं हैं, निम्नलिखित कारण की वजह से:
आप इस पृष्ठ का स्रोत देख सकते हैं और उसकी नकल उतार सकते हैं:
-- Module to implement use of a blacklist and whitelist for infobox fields
-- Can take a named parameter |qid which is the Wikidata ID for the article
-- if not supplied, it will use the Wikidata ID associated with the current page.
-- Fields in blacklist are never to be displayed, i.e. module must return nil in all circumstances
-- Fields in whitelist return local value if it exists or the Wikidata value otherwise
-- The name of the field that this function is called from is passed in named parameter |name
-- The name is compulsory when blacklist or whitelist is used,
-- so the module returns nil if it is not supplied.
-- blacklist is passed in named parameter |suppressfields (or |spf)
-- whitelist is passed in named parameter |fetchwikidata (or |fwd)
local p = {}
local cdate = require("Module:Complex date")._complex_date
-- [[Module:Complex date]] has the following dependencies:
-- Module:i18n/complex date, Module:ISOdate, Module:DateI18n (Module:Date), Module:Formatnum,
-- Module:I18n/date, Module:Yesno, Module:Linguistic, Module:Calendar
-- The following, taken from https://www.mediawiki.org/wiki/Wikibase/DataModel#Dates_and_times,
-- is needed to use Module:Complex date which seemingly requires date precision as a string.
-- It would work better if only the authors of the mediawiki page could spell 'millennium'.
000
1:0
इस पृष्ठ पर प्रयुक्त साँचे:
Module:WikidataIB/sandbox को लौटें।