Module:Taxonbar/whitelist: Difference between revisions
Created page with "local p = {} --returns any combination of strict/lax/all acceptable instance-of's, --either as a table for use inside Module:Taxonbar or another module, --or as an ordered list for use in documentation. function p.whitelist( frame ) local listType = frame.args[1] local documentation = frame.args[2] local outList = {} local acceptableInstanceOf_Strict = { --table order == display order 'Q16521', --taxon 'Q310890', --monotypic taxon 'Q47487597', --monotypi..." |
No edit summary |
||
Line 9: | Line 9: | ||
local outList = {} | local outList = {} | ||
local acceptableInstanceOf_Strict = { --table order == display order | local acceptableInstanceOf_Strict = { --table order == display order | ||
' | 'Q7', --taxon | ||
' | 'Q17440', --monotypic taxon | ||
' | 'Q22243', --monotypic fossil taxon | ||
' | 'Q22244', --ichnotaxon | ||
' | 'Q16661', --fossil taxon | ||
' | 'Q22246', --ootaxon | ||
' | 'Q16662', --extinct taxon | ||
' | 'Q109610', --paraphyletic group (subclass of taxon) | ||
} | } | ||
local acceptableInstanceOf_Lax = { --table order == display order | local acceptableInstanceOf_Lax = { --table order == display order | ||
' | 'Q18920', --hybrid | ||
' | 'Q22248', --incertae sedis | ||
' | 'Q7948', --clade | ||
' | 'Q22249', --serotype | ||
' | 'Q22251', --candidatus | ||
' | 'Q22252', --unavailable combination | ||
' | 'Q22253', --taxon hypothesis | ||
} | } | ||