恪別𡧲版𢯢𢷮𧵑「模庉:WikidataIB」
Keepout2010 (討論 | 㨂𢵰) 造張㵋貝內容「-- 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…」 |
SaigonSarang (討論 | 㨂𢵰) n 𠊝替文本-「Thể loại:」成「Category:」 |
||
| (空顯示番版𧵑𠬠𠊛用恪於𡧲) | |||
| 𣳔68: | 𣳔68: | ||
-- set the following to the name of a tracking category, | -- set the following to the name of a tracking category, | ||
-- e.g. "[[Category:Articles with missing Wikidata information]]", or "" to disable: | -- e.g. "[[Category:Articles with missing Wikidata information]]", or "" to disable: | ||
["missinginfocat"] = "[[ | ["missinginfocat"] = "[[Category:Bài thiếu thông tin Wikidata]]", | ||
["editonwikidata"] = "Sửa đổi tại Wikidata", | ["editonwikidata"] = "Sửa đổi tại Wikidata", | ||
["latestdatequalifier"] = function (date) return "trước " .. date end, | ["latestdatequalifier"] = function (date) return "trước " .. date end, | ||
| 𣳔2.785: | 𣳔2.785: | ||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
p.pageId = function(frame) | p.pageId = function(frame) | ||
return mw. | return mw.title.getCurrentTitle().text | ||
end | end | ||