Module:Category described in year/conf

Frae Wikipedia, the free beuk o knawledge
--[[==========================================================================]]
--[[                      Case sensitive conf/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 cateogry.
	
	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.
	
    ============================================================================]]-- 
	
	['tocmin'] = 401, --integer; minimum category size to add {{Category TOC}}
	
	['Default'] = { --"group" (Ainimals 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Birds descrived in the 20t century|1901]] --century or formal
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in 1901]]
			['description'] = 'This category should only contain articles on [[species]] and notable [[subspecies]].', --adapted from [[Category:Species descrived in the 18t century]] & [[Category:Species descrived in the 21st century]]
		},
		['century'] = {              --[[Category:Birds descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Birds by year of formal description|20th]]
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in the 20t century]]
			['description'] = '',    --Century description tbd; container category, etc...
		},
		['formal'] = {               --[[Category:Birds by year of formal description]]
			['parent1'] = 'Group',   --[[Category:Birds| Year]]
			['parent2'] = 'Ainimals', --[[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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Ainimals descrived in the 20t century|1901]]
			['parent2'] = 'Species', --[[Category:Species descrived in 1901]]
			['description'] = '',    --Year description tbd; *not* a container cat
		},
		['century'] = {              --[[Category:Animals descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Animals by year of formal description|20th]]
			['parent2'] = 'Species', --[[Category:Species descrived in the 20t 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 descrived]]. "..
			"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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Spiders descrived in the 20t century|1901]]
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in 1901]]
			['description'] = '',    --Year description tbd; Default-group's description doesn't apply
		},
		['century'] = {              --[[Category:Spiders descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Spiders by year of formal description|20th]]
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in the 20t century]]
			['description'] = '',    --Century description tbd; container category, etc...
		},
		['formal'] = {               --[[Category:Spiders by year of formal description]]
			['parent1'] = 'Group',   --[[Category:Spiders| Year]]
			['parent2'] = 'Ainimals', --[[Category:Animals by year of formal description| ]]
			['description'] = 'This category serves only to [[WP:DIFFUSE|diffuse]] the lower level "Spiders descrived 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Insects descrived in the 20t century|1901]]
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in 1901]]
			['description'] = '',    --Year description tbd; Default-group's description doesn't apply
		},
		['century'] = {              --[[Category:Insects descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Insects by year of formal description|20th]]
			['parent2'] = 'Ainimals', --[[Category:Animals descrived in the 20t century]]
			['description'] = '',    --Century description tbd; container category, etc...
		},
		['formal'] = {               --[[Category:Insects by year of formal description]]
			['parent1'] = 'Group',   --[[Category:Insects| Year]]
			['parent2'] = 'Ainimals', --[[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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Beetles descrived in the 20t century|1901]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Beetles descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Beetles by year of formal description|20th]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in the 20t century]]
			['sortkey2'] = '*',      --[[Category:Insects descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Butterflies descrived in the 20t century|1901]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Butterflies descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Butterflies by year of formal description|20th]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in the 20t century]]
			['sortkey2'] = '*',      --[[Category:Insects descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Moths descrived in the 20t century|1901]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Moths descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Moths by year of formal description|20th]]
			['parent2'] = 'Insects', --[[Category:Insects descrived in the 20t century]]
			['sortkey2'] = '*',      --[[Category:Insects descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century',  --[[Category:Bivalves descrived in the 20t century|1901]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in 1901]]
			['description'] = '',     --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {               --[[Category:Bivalves descrived in the 20t century]]
			['parent1'] = 'formal',   --[[Category:Bivalves by year of formal description|20th]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in the 20t century]]
			['sortkey2'] = '*',       --[[Category:Molluscs descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century',  --[[Category:Cephalopods descrived in the 20t century|1901]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in 1901]]
			['description'] = '',     --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {               --[[Category:Cephalopods descrived in the 20t century]]
			['parent1'] = 'formal',   --[[Category:Cephalopods by year of formal description|20th]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in the 20t century]]
			['sortkey2'] = '*',       --[[Category:Molluscs descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century',  --[[Category:Chitons descrived in the 20t century|1901]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in 1901]]
			['description'] = '',     --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {               --[[Category:Chitons descrived in the 20t century]]
			['parent1'] = 'formal',   --[[Category:Chitons by year of formal description|20th]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in the 20t century]]
			['sortkey2'] = '*',       --[[Category:Molluscs descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century',  --[[Category:Gastropods descrived in the 20t century|1901]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in 1901]]
			['description'] = '',     --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {               --[[Category:Gastropods descrived in the 20t century]]
			['parent1'] = 'formal',   --[[Category:Gastropods by year of formal description|20th]]
			['parent2'] = 'Molluscs', --[[Category:Molluscs descrived in the 20t century]]
			['sortkey2'] = '*',       --[[Category:Molluscs descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Archaea descrived in the 20t century|1901]]
			['parent2'] = 'Species', --[[Category:Species descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Archaea descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Archaea by year of formal description|20th]]
			['parent2'] = 'Species', --[[Category:Species descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Bacteria descrived in the 20t century|1901]]
			['parent2'] = 'Species', --[[Category:Species descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Bacteria descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Bacteria by year of formal description|20th]]
			['parent2'] = 'Species', --[[Category:Species descrived in the 20t 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 descrived in 1901]]
			['parent1'] = 'century', --[[Category:Fungi descrived in the 20t century|1901]]
			['parent2'] = 'Species', --[[Category:Species descrived in 1901]]
			['description'] = '',    --Year description tbd; 'This category should only contain species articles', etc...
		},
		['century'] = {              --[[Category:Fungi descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Fungi by year of formal description|20th]]
			['parent2'] = 'Species', --[[Category:Species descrived in the 20t 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...
		},
	},
	
	['Plants'] = { --"group"
		['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
		['year'] = {                 --[[Category:Plants descrived in 1901]]
			['parent1'] = 'century', --[[Category:Plants descrived in the 20t century|1901]]
			['parent2'] = 'Species', --[[Category:Species descrived in 1901]]
			['description'] = "This category includes plants that were ''first formally and validly descrived'' 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 descrived in 1928]]
		},
		['century'] = {              --[[Category:Plants descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Plants by year of formal description|20th]]
			['parent2'] = 'Species', --[[Category:Species descrived in the 20t century]]
			['description'] = 'For advice on using the subcategories of this category, see [[Wikipedia:WikiProject Plants/Description in year categories]].', --taken from [[Category:Plants descrived 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]].',
		},
	},
	
	--[[==================== "Species descrived in"-level ====================]]
	
	['Species'] = {
		['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
		['year'] = {                     --[[Category:Species descrived in 1901]]
			['parent1'] = 'century',     --[[Category:Species descrived in the 20t century]]
			['sortkey1'] = ' ',          --[[Category:Species descrived in the 20t century| ]]
			['parent2'] = 'Taxa',        --[[Category:Taxa descrived in 1901]]
			['parent3'] = 'environment', --[[Category:1901 in the environment]]
			['description'] = '',        --Year description tbd
		},
		['century'] = {                  --[[Category:Species descrived in the 20t century]]
			['parent1'] = 'formal',      --[[Category:Species by year of formal description|20th]]
			['parent2'] = 'Taxa',        --[[Category:Taxa descrived in the 20t century]]
			['parent3'] = 'environment', --[[Category:20t century in the environment]]
			['description'] = "This category should only contain '''[[species]]''' and notable [[subspecies]] of [[Biota (taxonomy)|biota]] descrived 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 descrived in"-level ======================]]
	
	['Taxa'] = {
		['minyear'] = 1753, --integer; lowest possible year displayed in nav bars; defaults to 1758 per ICZN Art. 5
		['year'] = {                 --[[Category:Taxa descrived in 1901]]
			['parent1'] = 'century', --[[Category:Taxa descrived in the 20t century|1901]]
			['parent2'] = 'biology', --[[Category:1901 in biology]]
			['description'] = '',    --Year description tbd
		},
		['century'] = {              --[[Category:Taxa descrived in the 20t century]]
			['parent1'] = 'formal',  --[[Category:Taxa by year of formal description|20th]]
			['parent2'] = 'biology', --[[Category:20t century in biology]]
			['description'] = '',    --Century description tbd
		},
	},
	
	--[[==================== "Fossil taxa descrived 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 descrived in 1901]]
			['parent1'] = 'century',      --[[Category:Fossil taxa descrived in the 20t century]]
			['parent2'] = 'Taxa',         --[[Category:Taxa descrived 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 descrived in the 20t century]]
			['parent1'] = 'formal',       --[[Category:Fossil taxa by year of formal description|20th]]
			['parent2'] = 'Taxa',         --[[Category:Taxa descrived in the 20t century]]
			['parent3'] = 'paleontology', --[[Category:20t century in paleontology]]
			['description'] = '',         --Century description tbd
		},
		['formal'] = {                    --[[Category:Fossil taxa by year of formal description]]
			['parent1'] = 'Group',        --[[Category:Fossil taxa]]
			['sortkey1'] = 'Year, bi',    --[[Category:Fossil taxa|Year, by]]
			['parent2'] = 'Taxa',         --[[Category:Taxa by year of formal description]]
			['parent3'] = 'paleontology', --[[Category:Paleontology by year| ]]
			['description'] = '',         --Formal description tbd; container category, etc...
		},
	},
	
	['Fossil parataxa'] = {
		['year'] = {                      --[[Category:Fossil parataxa descrived in 1975]]
			['parent1'] = 'century',      --[[Category:Fossil parataxa descrived in the 20t century]]
			['parent2'] = 'Fossil taxa',  --[[Category:Fossil taxa descrived in 1975]]
			['description'] = 'This category should only contain articles on [[genus|genera]] or lower.',
		},
		['century'] = {                   --[[Category:Fossil parataxa descrived in the 20t century]]
			['parent1'] = 'formal',       --[[Category:Fossil parataxa by year of formal description|20th]]
			['parent2'] = 'Fossil taxa',  --[[Category:Fossil taxa descrived in the 20t century]]
			['sortkey2'] = '*',           --[[Category:Fossil taxa descrived in the 20t 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