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:29, 14 November 2023 (top: +{{Lua sidebar|title=Taxonbar/blacklist}}). 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, either as a Lua table for use in a module such as Module:Taxonbar/candidate, or as an ordered list for use in documentation.

Usage

For use in a module,

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

produces (values and/or order may not be up-to-date):

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

Otherwise, in documentation,

{{#invoke:Taxonbar/blacklist|blacklist|doc}}

produces:

  1. trivial name (Q913170)
  2. organisms known by a particular common name (Q55983715)
  3. property (Q937228)
  4. drupe (Q14712)
  5. polydrupe (Q163233)
  6. compound fruit (Q747463)

See also