Module:Category described in year/config
Appearance
(Redirected from Module:Category described in year/conf)
This Lua module is used on approximately 6,200 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
Related pages |
---|
This is the configuration file for Module:Category described in year.
--[[==========================================================================]]
--[[ Case sensitive config/map table ]]
--[[==========================================================================]]
local p = {
--[[============================================================================
Any category group (e.g. Amphibians/Birds/etc.) NOT explicitly outlined here
in conf{} will follow the 'Default' tree for that group when the template is
used on that category.
The default-style category tree is:
year -> century -> formal
year -> Animals:year -> Animals:century
Decadal categories are deprecated (see documentation).
To create a new tree, only if necessarily different from the default, copy
an existing tree and paste it in an appropriate spot in the table, following
the same general table format, and updating any group-specific values.
%year% and %century% are variables available for use in the description text,
and are evaluated based on the current category.
============================================================================]]--
['Default'] = { --"group" (Animals only; used for: Amphibians/Birds/Crustaceans/Fish/Mammals/Molluscs/Reptiles/Sponges)
['minyear'] = 1758, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Birds described in 1901]]
['parent1'] = 'century', --[[Category:Birds described in the 20th century|1901]] --century or formal
['parent2'] = 'Animals', --[[Category:Animals described in 1901]]
['description'] = 'This category should only contain articles on [[species]] and notable [[subspecies]].', --adapted from [[Category:Species described in the 18th century]] & [[Category:Species described in the 21st century]]
},
['century'] = { --[[Category:Birds described in the 20th century]]
['parent1'] = 'formal', --[[Category:Birds by year of formal description|20th]]
['parent2'] = 'Animals', --[[Category:Animals described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Birds by year of formal description]]
['parent1'] = 'Group', --[[Category:Birds| Year]]
['parent2'] = 'Animals', --[[Category:Animals by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Animals'] = { --"group"
['minyear'] = 1757, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Animals described in 1901]]
['parent1'] = 'century', --[[Category:Animals described in the 20th century|1901]]
['parent2'] = 'Species', --[[Category:Species described in 1901]]
['description'] = '', --Year description tbd; *not* a container cat
},
['century'] = { --[[Category:Animals described in the 20th century]]
['parent1'] = 'formal', --[[Category:Animals by year of formal description|20th]]
['parent2'] = 'Species', --[[Category:Species described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Animals by year of formal description]]
['parent1'] = 'Group', --[[Category:Animals| Year]]
['parent2'] = 'Species', --[[Category:Species by year of formal description]]
['description'] = "Year that the taxon was first [[Species description|scientifically described]]. "..
"Most often the same year as in the [[Author citation (zoology)|author citation]], "..
"but this is not always the case (see ''[[nomen novum]]'', ''[[nomen conservandum]]'', ''[[nomen oblitum]]'').",
},
},
['Spiders'] = { --"group"; ICZN allows names in Clerck's Aranei Svecici of 1757, earliest date used in World Spider Catalog
['minyear'] = 1757, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Spiders described in 1901]]
['parent1'] = 'century', --[[Category:Spiders described in the 20th century|1901]]
['parent2'] = 'Animals', --[[Category:Animals described in 1901]]
['description'] = 'Year that the species was first [[Species description|scientifically described]].', --Year description
},
['century'] = { --[[Category:Spiders described in the 20th century]]
['parent1'] = 'formal', --[[Category:Spiders by year of formal description|20th]]
['parent2'] = 'Animals', --[[Category:Animals described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Spiders by year of formal description]]
['parent1'] = 'Group', --[[Category:Spiders| Year]]
['parent2'] = 'Animals', --[[Category:Animals by year of formal description| ]]
['description'] = 'This category serves only to [[WP:DIFFUSE|diffuse]] the lower level "Spiders described in YEAR" categories, thus reducing their size.',
},
},
--[[============================ Insects tree ============================]]
['Insects'] = { --"group"
['minyear'] = 1757, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Insects described in 1901]]
['parent1'] = 'century', --[[Category:Insects described in the 20th century|1901]]
['parent2'] = 'Animals', --[[Category:Animals described in 1901]]
['description'] = '', --Year description tbd; Default-group's description doesn't apply
},
['century'] = { --[[Category:Insects described in the 20th century]]
['parent1'] = 'formal', --[[Category:Insects by year of formal description|20th]]
['parent2'] = 'Animals', --[[Category:Animals described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Insects by year of formal description]]
['parent1'] = 'Group', --[[Category:Insects| Year]]
['parent2'] = 'Animals', --[[Category:Animals by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Beetles'] = { --"subgroup" to Insects
['minyear'] = 1757, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Beetles described in 1901]]
['parent1'] = 'century', --[[Category:Beetles described in the 20th century|1901]]
['parent2'] = 'Insects', --[[Category:Insects described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Beetles described in the 20th century]]
['parent1'] = 'formal', --[[Category:Beetles by year of formal description|20th]]
['parent2'] = 'Insects', --[[Category:Insects described in the 20th century]]
['sortkey2'] = '*', --[[Category:Insects described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Beetles by year of formal description]]
['parent1'] = 'Group', --[[Category:Beetles]]
['sortkey1'] = '*', --[[Category:Beetles|*]]
['parent2'] = 'Insects', --[[Category:Insects by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Butterflies'] = { --"subgroup" to Insects
['minyear'] = 1757, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Butterflies described in 1901]]
['parent1'] = 'century', --[[Category:Butterflies described in the 20th century|1901]]
['parent2'] = 'Insects', --[[Category:Insects described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Butterflies described in the 20th century]]
['parent1'] = 'formal', --[[Category:Butterflies by year of formal description|20th]]
['parent2'] = 'Insects', --[[Category:Insects described in the 20th century]]
['sortkey2'] = '*', --[[Category:Insects described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Butterflies by year of formal description]]
['parent1'] = 'Group', --[[Category:Butterflies| Year]]
['parent2'] = 'Insects', --[[Category:Insects by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Moths'] = { --"subgroup" to Insects
['year'] = { --[[Category:Moths described in 1901]]
['parent1'] = 'century', --[[Category:Moths described in the 20th century|1901]]
['parent2'] = 'Insects', --[[Category:Insects described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Moths described in the 20th century]]
['parent1'] = 'formal', --[[Category:Moths by year of formal description|20th]]
['parent2'] = 'Insects', --[[Category:Insects described in the 20th century]]
['sortkey2'] = '*', --[[Category:Insects described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Moths by year of formal description]]
['parent1'] = 'Group', --[[Category:Moths| Year]]
['parent2'] = 'Insects', --[[Category:Insects by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
--[[=========================== Molluscs tree ============================]]
['Bivalves'] = { --"subgroup" to Molluscs
['year'] = { --[[Category:Bivalves described in 1901]]
['parent1'] = 'century', --[[Category:Bivalves described in the 20th century|1901]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Bivalves described in the 20th century]]
['parent1'] = 'formal', --[[Category:Bivalves by year of formal description|20th]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in the 20th century]]
['sortkey2'] = '*', --[[Category:Molluscs described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Bivalves by year of formal description]]
['parent1'] = 'Group', --[[Category:Bivalves| Year]]
['parent2'] = 'Molluscs', --[[Category:Molluscs by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Cephalopods'] = { --"subgroup" to Molluscs
['year'] = { --[[Category:Cephalopods described in 1901]]
['parent1'] = 'century', --[[Category:Cephalopods described in the 20th century|1901]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Cephalopods described in the 20th century]]
['parent1'] = 'formal', --[[Category:Cephalopods by year of formal description|20th]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in the 20th century]]
['sortkey2'] = '*', --[[Category:Molluscs described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Cephalopods by year of formal description]]
['parent1'] = 'Group', --[[Category:Cephalopods| Year]]
['parent2'] = 'Molluscs', --[[Category:Molluscs by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Chitons'] = { --"subgroup" to Molluscs
['year'] = { --[[Category:Chitons described in 1901]]
['parent1'] = 'century', --[[Category:Chitons described in the 20th century|1901]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Chitons described in the 20th century]]
['parent1'] = 'formal', --[[Category:Chitons by year of formal description|20th]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in the 20th century]]
['sortkey2'] = '*', --[[Category:Molluscs described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Chitons by year of formal description]]
['parent1'] = 'Group', --[[Category:Chitons| Year]]
['parent2'] = 'Molluscs', --[[Category:Molluscs by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Gastropods'] = { --"subgroup" to Molluscs
['year'] = { --[[Category:Gastropods described in 1901]]
['parent1'] = 'century', --[[Category:Gastropods described in the 20th century|1901]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Gastropods described in the 20th century]]
['parent1'] = 'formal', --[[Category:Gastropods by year of formal description|20th]]
['parent2'] = 'Molluscs', --[[Category:Molluscs described in the 20th century]]
['sortkey2'] = '*', --[[Category:Molluscs described in the 20th century|*]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Gastropods by year of formal description]]
['parent1'] = 'Group', --[[Category:Gastropods| Year]]
['parent2'] = 'Molluscs', --[[Category:Molluscs by year of formal description| ]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
--[[============================= Non-animals ============================]]
['Archaea'] = { --"group"
['year'] = { --[[Category:Archaea described in 1901]]
['parent1'] = 'century', --[[Category:Archaea described in the 20th century|1901]]
['parent2'] = 'Species', --[[Category:Species described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Archaea described in the 20th century]]
['parent1'] = 'formal', --[[Category:Archaea by year of formal description|20th]]
['parent2'] = 'Species', --[[Category:Species described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Archaea by year of formal description]]
['parent1'] = 'Group', --[[Category:Archaea| Year]]
['parent2'] = 'Species', --[[Category:Species by year of formal description]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Bacteria'] = { --"group"
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Bacteria described in 1901]]
['parent1'] = 'century', --[[Category:Bacteria described in the 20th century|1901]]
['parent2'] = 'Species', --[[Category:Species described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Bacteria described in the 20th century]]
['parent1'] = 'formal', --[[Category:Bacteria by year of formal description|20th]]
['parent2'] = 'Species', --[[Category:Species described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Bacteria by year of formal description]]
['parent1'] = 'Group', --[[Category:Bacteria| Year]]
['parent2'] = 'Species', --[[Category:Species by year of formal description]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Fungi'] = { --"group"
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Fungi described in 1901]]
['parent1'] = 'century', --[[Category:Fungi described in the 20th century|1901]]
['parent2'] = 'Species', --[[Category:Species described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Fungi described in the 20th century]]
['parent1'] = 'formal', --[[Category:Fungi by year of formal description|20th]]
['parent2'] = 'Species', --[[Category:Species described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Fungi by year of formal description]]
['parent1'] = 'Group', --[[Category:Fungi| Year]]
['parent2'] = 'Species', --[[Category:Species by year of formal description]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Lichens'] = { --"subgroup" to Fungi
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Lichens described in 1901]]
['parent1'] = 'century', --[[Category:Lichens described in the 20th century|1901]]
['parent2'] = 'Fungi', --[[Category:Fungi described in 1901]]
['description'] = '', --Year description tbd; 'This category should only contain species articles', etc...
},
['century'] = { --[[Category:Lichens described in the 20th century]]
['parent1'] = 'formal', --[[Category:Lichens by year of formal description|20th]]
['parent2'] = 'Fungi', --[[Category:Fungi described in the 20th century]]
['description'] = '', --Century description tbd; container category, etc...
},
['formal'] = { --[[Category:Lichens by year of formal description]]
['parent1'] = 'Group', --[[Category:Lichens| Year]]
['parent2'] = 'Fungi', --[[Category:Fungi by year of formal description]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Plants'] = { --"group"
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Plants described in 1901]]
['parent1'] = 'century', --[[Category:Plants described in the 20th century|1901]]
['parent2'] = 'Species', --[[Category:Species described in 1901]]
['description'] = "This category includes plant species that were ''first formally and validly described'' in %year% according to the rules of the [[International Code of Botanical Nomenclature]]. Use [[WP:RS|reliable sources]] like the [[International Plant Names Index]] to figure out the proper category. For examples see the [[Wikipedia:WikiProject Plants/Description in year categories|WikiProject Plants essay]] on this topic.", --taken from [[Category:Plants described in 1928]]
},
['century'] = { --[[Category:Plants described in the 20th century]]
['parent1'] = 'formal', --[[Category:Plants by year of formal description|20th]]
['parent2'] = 'Species', --[[Category:Species described in the 20th century]]
['description'] = 'For advice on using the subcategories of this category, see [[Wikipedia:WikiProject Plants/Description in year categories]].', --taken from [[Category:Plants described in the 21st century]]
},
['formal'] = { --[[Category:Plants by year of formal description]]
['parent1'] = 'Group', --[[Category:Plants| Year]]
['parent2'] = 'Species', --[[Category:Species by year of formal description]]
['description'] = 'For advice on using the subcategories of this category, see [[Wikipedia:WikiProject Plants/Description in year categories]].',
},
},
['Protists'] = { --"group"
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Protists described in 1753]]
['parent1'] = 'century', --[[Category:Protists described in the 18th century|1753]]
['parent2'] = 'Species', --[[Category:Species described in 1753]]
['description'] = 'This category should only contain articles on [[species]] and notable [[subspecies]].', --Default
},
['century'] = { --[[Category:Protists described in the 18th century]]
['parent1'] = 'formal', --[[Category:Protists by year of formal description|18th]]
['parent2'] = 'Species', --[[Category:Species described in the 18th century]]
['description'] = '', --Century description tbd.
},
['formal'] = { --[[Category:Protists by year of formal description]]
['parent1'] = 'Protista',
['parent2'] = 'Eukaryotes by year of formal description',
['parent3'] = 'Microorganisms by year of formal description',
['sortkey1'] = ' ',
['sortkey2'] = ' ',
['sortkey3'] = ' ',
['description'] = '', --Formal description tbd.
},
},
--[[==================== "Species described in"-level ====================]]
['Species'] = {
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Species described in 1901]]
['parent1'] = 'century', --[[Category:Species described in the 20th century]]
['sortkey1'] = ' ', --[[Category:Species described in the 20th century| ]]
['parent2'] = 'Taxa', --[[Category:Taxa described in 1901]]
['parent3'] = 'environment', --[[Category:1901 in the environment]]
['description'] = '', --Year description tbd
},
['century'] = { --[[Category:Species described in the 20th century]]
['parent1'] = 'formal', --[[Category:Species by year of formal description|20th]]
['parent2'] = 'Taxa', --[[Category:Taxa described in the 20th century]]
['parent3'] = 'environment', --[[Category:20th century in the environment]]
['description'] = "This category should only contain '''[[species]]''' and notable [[subspecies]] of [[Biota (taxonomy)|biota]] described in the '''[[%century% century]]'''.", --adapted from all 4 Species-century cats (18th-21st)
},
['formal'] = { --[[Category:Species by year of formal description]]
['parent1'] = 'Group', --[[Category:Species]]
['sortkey1'] = 'Year', --[[Category:Species|Year]]
['parent2'] = 'Taxa', --[[Category:Taxa by year of formal description]]
['description'] = "See [[species description]].", --could be improved...
},
},
--[[===================== "Taxa described in"-level ======================]]
['Taxa'] = {
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Taxa described in 1901]]
['parent1'] = 'century', --[[Category:Taxa described in the 20th century|1901]]
['parent2'] = 'biology', --[[Category:1901 in biology]]
['description'] = '', --Year description tbd
},
['century'] = { --[[Category:Taxa described in the 20th century]]
['parent1'] = 'formal', --[[Category:Taxa by year of formal description|20th]]
['parent2'] = 'biology', --[[Category:20th century in biology]]
['description'] = '', --Century description tbd
},
},
--[[==================== "Fossil taxa described in"-level ====================]]
['Fossil taxa'] = {
['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
['year'] = { --[[Category:Fossil taxa described in 1901]]
['parent1'] = 'century', --[[Category:Fossil taxa described in the 20th century]]
['parent2'] = 'Taxa', --[[Category:Taxa described in 1901]]
['parent3'] = 'paleontology', --[[Category:1901 in paleontology]]
['description'] = 'This category should only contain articles on fossil [[genus|genera]] or lower.',
},
['century'] = { --[[Category:Fossil taxa described in the 20th century]]
['parent1'] = 'formal', --[[Category:Fossil taxa by year of formal description|20th]]
['parent2'] = 'Taxa', --[[Category:Taxa described in the 20th century]]
['parent3'] = 'paleontology', --[[Category:20th century in paleontology]]
['description'] = '', --Century description tbd
},
['formal'] = { --[[Category:Fossil taxa by year of formal description]]
['parent1'] = 'Group', --[[Category:Fossil taxa]]
['sortkey1'] = 'Year, by', --[[Category:Fossil taxa|Year, by]]
['parent2'] = 'Taxa', --[[Category:Taxa by year of formal description]]
['parent3'] = 'paleontology', --[[Category:Paleontology by year| ]]
['parent4'] = 'Prehistoric life', --[[Category:Prehistoric life]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
['Fossil parataxa'] = {
['year'] = { --[[Category:Fossil parataxa described in 1975]]
['parent1'] = 'century', --[[Category:Fossil parataxa described in the 20th century]]
['parent2'] = 'Fossil taxa', --[[Category:Fossil taxa described in 1975]]
['description'] = 'This category should only contain articles on [[genus|genera]] or lower.',
},
['century'] = { --[[Category:Fossil parataxa described in the 20th century]]
['parent1'] = 'formal', --[[Category:Fossil parataxa by year of formal description|20th]]
['parent2'] = 'Fossil taxa', --[[Category:Fossil taxa described in the 20th century]]
['sortkey2'] = '*', --[[Category:Fossil taxa described in the 20th century|*]]
['description'] = '', --Century description tbd
},
['formal'] = { --[[Category:Fossil parataxa by year of formal description]]
['parent1'] = 'Group', --[[Category:Fossil parataxa]]
['parent2'] = 'Fossil taxa', --[[Category:Fossil taxa by year of formal description]]
['description'] = '', --Formal description tbd; container category, etc...
},
},
}
return p