Jump to content

Module:Taxonbar/whitelist/doc

From Humanipedia
Revision as of 07:27, 1 December 2023 by wikipedia>Tom.Reding (Usage: Better vars)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Taxonbar/whitelist

Script error: No such module "Sidebar". Script error: No such module "High-use".

About

This module returns strict, lax, or all acceptable (P31)s as a Lua table for use in a module such as Module:Taxonbar.

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

Usage

<syntaxhighlight lang="lua"> local whitelists = require( 'Module:Taxonbar/whitelist' ).whitelist </syntaxhighlight>

Arg Lua Output
strict <syntaxhighlight lang="lua">local myWhitelist = whitelists{ args = { 'strict' } }</syntaxhighlight> Lua error: expandTemplate: template "Syntaxhighlight" does not exist.
lax <syntaxhighlight lang="lua">local myWhitelist = whitelists{ args = { 'lax' } }</syntaxhighlight> Lua error: expandTemplate: template "Syntaxhighlight" does not exist.
all <syntaxhighlight lang="lua">local myWhitelist = whitelists{ args = { 'all' } }</syntaxhighlight> Lua error: expandTemplate: template "Syntaxhighlight" does not exist.

See also