View source for Module:WikidataIB
MyWikiBiz, Author Your Legacy — Thursday April 03, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- Version: 2021-02-06
-- 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 -- initialise as nil and only load _complex_date function if needed
-- Module:Complex date is loaded lazily and has the following dependencies:
-- Module:Calendar
-- Module:ISOdate
-- Module:DateI18n
-- Module:No globals
-- Module:I18n/complex date
000
1:0
Templates used on this page:
- Template:Clc (view source)
- Template:Compare pages (view source)
- Template:Examine (view source)
- Template:High-use (view source)
- Template:Ml (view source)
- Template:Module rating (view source)
- Template:Nowiki template demo (view source)
- Template:Para (view source)
- Template:Q (view source)
- Template:Tl (view source)
- Template:U (view source)
- Template:Wikidata infoboxes (view source)
- Module:GetParameters (view source)
- Module:String2 (view source)
- Module:WikidataIB (view source)
- Module:WikidataIB/doc (view source)
- Module:WikidataIB/nolinks (view source)
- Module:WikidataIB/sandbox (view source)
- Module:WikidataIB/titleformats (view source)
Return to Module:WikidataIB.