Module:Taxonbar/whitelist/doc
< Module:Taxonbar | whitelist
This is a documentation subpage for Module:Taxonbar/whitelist. It contains usage information, categories and other content that is not part of the original module page. |
Related pages |
---|
මෙම Lua module පිටු ඉතා විශාල සංඛ්යාවක භාවිතා වන නිසා. To avoid major disruption and server load, any changes should be tested in the මෙම මොඩියුලයට අදාළ /sandbox හෝ /testcases උපපිටු. The tested changes can be added to this page in a single edit. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න. Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
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 සංස්කරණය
local whitelists = require( 'Module:Taxonbar/whitelist' ).whitelist
Arg | Lua | Output |
---|---|---|
strict
|
local myWhitelist = whitelists{ args = { 'strict' } }
|
myWhitelist = {
'Q16521' = 1,
'Q310890' = 2,
'Q47487597' = 3,
'Q2568288' = 4,
'Q23038290' = 5,
'Q59278506' = 6,
'Q98961713' = 7,
'Q58051350' = 8,
}
|
lax
|
local myWhitelist = whitelists{ args = { 'lax' } }
|
myWhitelist = {
'Q42621' = 1,
'Q235536' = 2,
'Q713623' = 3,
'Q848328' = 4,
'Q857968' = 5,
'Q17487588' = 6,
}
|
all
|
local myWhitelist = whitelists{ args = { 'all' } }
|
myWhitelist = {
'Q16521' = 1,
'Q310890' = 2,
'Q47487597' = 3,
'Q2568288' = 4,
'Q23038290' = 5,
'Q59278506' = 6,
'Q98961713' = 7,
'Q58051350' = 8,
'Q42621' = 9,
'Q235536' = 10,
'Q713623' = 11,
'Q848328' = 12,
'Q857968' = 13,
'Q17487588' = 14,
}
|
See also සංස්කරණය
- Module:Taxonbar/blacklist
- ප්රවර්ගය:Taxobox articles missing a taxonbar (1)
- ප්රවර්ගය:Taxobox articles possibly missing a taxonbar (0)
- ප්රවර්ගය:Taxonbars on possible non-taxon pages (8)