Module:WikidataIB and Module:WikidataIB/sandbox1: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Per edit request |
strict |
||
Line 1: | Line 1: | ||
-- Version: |
-- Version: -- |
||
-- Module to implement use of a blacklist and whitelist for infobox fields |
-- 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 |
-- Can take a named parameter |qid which is the Wikidata ID for the article |
||
Line 586: | Line 586: | ||
local postfix = (args.postfix or ""):gsub('"', '') |
local postfix = (args.postfix or ""):gsub('"', '') |
||
local dtxt = args.dtxt |
local dtxt = args.dtxt |
||
local shortname = args.shortname |
local shortname = args.shortname |
||
local lang = args.lang or "en" -- fallback to default if missing |
local lang = args.lang or "en" -- fallback to default if missing |
||
local uselbl = args.uselabel or args.uselbl |
local uselbl = args.uselabel or args.uselbl |