Jump to content

Module:Taxonbar/blacklist/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tom.Reding (talk | contribs) at 16:41, 14 November 2023 (+Self-doc! Update.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

About

This module returns all unacceptable instance of (P31)s as a Lua table for use in a module such as Module:Taxonbar/candidate

For use in documentation, see {{Taxonbar/blacklist}}.

Usage

local myBlacklist = require( 'Module:Taxonbar/blacklist' ).blacklist
local myVariable = myBlacklist{ args = {} }

produces:

myBlacklist = {
	'Q913170' = 1,
	'Q55983715' = 2,
	'Q937228' = 3,
	'Q14712' = 4,
	'Q163233' = 5,
	'Q747463' = 6,
}

See also