Jump to content

Module:Science redirect/conf

Permanently protected module
From Wikipedia, the free encyclopedia

local p = {}

p.templates = { 
	--name, from, to, category, and info are parameters of {{Redirect template}}
	--category will have "Redirects " appended to the beginning and, if there is a subcategory specified, " of " and the subcategory name appended to the end
	--$1 will be replaced with the singular form of the subcategory name, e.g. "a plant", "an insect", "a fish"; "an organism" will be used if no subcategory applies
    --$2 will be replaced with the plural form of the subcategory name, e.g. "plants", "insects", "fish"; "organisms" will be used if no subcategory applies
    --removeA should be set to true if the "a" or "an" should be removed from the singular form of the subcategory, e.g. "plant", "insect", "fish"; "an organism" will not be used if removeA = true
	from_alternative_scientific_name = {
		name     = 'From alternative scientific name of $1',
		from     = 'an alternative scientific name of $1 (or group of $2)',
		to       = 'the accepted scientific name',
		category = 'from alternative scientific names',
	}, to_scientific_name = {
		name     = 'To scientific name of $1',
		from     = 'a [[Common name|vernacular ("common") name]]',
		to       = 'the [[biological nomenclature|scientific name]] of $1 (or group of $2)',
		category = 'to scientific names',
	}, from_scientific_name = {
		name     = 'From scientific name of $1',
		from     = 'a [[biological nomenclature|scientific name]] of $1 (or group of $2)',
		to       = 'a [[Common name|vernacular ("common") name]]',
		category = 'from scientific names',
	}, to_monotypic_taxon = {
		name     = 'To a monotypic taxon',
		from     = 'the only lower-ranking member of a monotypic $1 taxon',
		to       = 'its monotypic taxon',
		category = 'to monotypic taxa',
		info     = "In a biology-related article, when for example a genus has only one species, the [[binomial name]] may be a redirect to the genus.\n** Use {{[[:Template:R from monotypic taxon|R from monotypic taxon]]}} instead when making a redirect ''from'' a monotypic taxon ''to'' its only member, for example, from a family name to its sole genus.",
		removeA  = true,
	}, from_monotypic_taxon = {
		name     = 'From a monotypic taxon',
		from     = 'a monotypic $1 taxon',
		to       = 'its only lower-ranking member',
		category = 'from monotypic taxa',
		info     = "In a biology-related article, when for example a family has only one genus, the family may be a redirect to the genus.\n** Use {{[[:Template:R to monotypic taxon|R to monotypic taxon]]}} when making a redirect ''to'' a monotypic taxon ''from'' its only member, for example, from a species to the genus of which it is the only member.",
		removeA  = true,
	}, 
}

p.cats = {
	-- List entries minus any trailing 's', e.g. "fungus" should be listed as "fungu"
	-- The first parameter is the singular form of the subcategory name with its indefinite article, e.g. "a plant", "an insect", "a fish". See $1 above.
	-- The second parameter, if it exists, is the plural form of the subcategory name, e.g. "plants", "insects", "fish". See $2 above.
	-- If the second parameter is missing, the subcategory name will be used in the explanatory text but not in the categorization of the redirect.
	whale      = {'a mammal', 'mammals'},
	wasp       = {'an insect', 'insects'},
	viruse     = {'a virus', 'viruses'},
	viru	   = {'a virus', 'viruses'},
	turtle     = {'a reptile', 'reptiles'},
	squid      = {'a mollusc', 'molluscs'},
	spider     = {'a spider', 'spiders'},
	snake      = {'a reptile', 'reptiles'},
	snail      = {'a mollusc', 'molluscs'},
	slug	   = {'a mollusc', 'molluscs'},
	shark	   = {'a fish', 'fish'},
	rodent     = {'a mammal', 'mammals'},
	reptile    = {'a reptile', 'reptiles'},
	pterosaur  = {'a reptile', 'reptiles'},
	protist    = {'a microorganism', 'microorganisms'},
	primate	   = {'a mammal', 'mammals'},
	plant      = {'a plant', 'plants'},
	octopuse   = {'a mollusc', 'molluscs'},
	octopu     = {'a mollusc', 'molluscs'},
	octopi     = {'a mollusc', 'molluscs'},
	moth       = {'an insect', 'insects'},
	mollusc    = {'a mollusc', 'molluscs'},
	mollusk    = {'a mollusc', 'molluscs'},
	microorganism = {'a microorganism', 'microorganisms'},
	microbe	   = {'a microorganism', 'microorganisms'},
	mammal     = {'a mammal', 'mammals'},
	lepidoptera= {'an insect', 'insects'},
	insect     = {'an insect', 'insects'},
	horse      = {'a mammal', 'mammals'},
	gastropod  = {'a mollusc', 'molluscs'},
	fungu      = {'a fungus', 'fungi'},
	fungi      = {'a fungus', 'fungi'},
	frog       = {'an amphibian', 'amphibians'},
	fly        = {'an insect', 'insects'},
	flie       = {'an insect', 'insects'},
	fishe      = {'a fish', 'fish'},
	fish       = {'a fish', 'fish'},
	dolphin    = {'a mammal', 'mammals'},
	dog        = {'a mammal', 'mammals'},
	dinosaur   = {'a reptile', 'reptiles'},
	crustacean = {'a crustacean', 'crustaceans'},
	cephalopod = {'a mollusc', 'molluscs'},
	cat        = {'a mammal', 'mammals'},
	butterfly  = {'an insect', 'insects'},
	butterflie = {'an insect', 'insects'},
	bivalve    = {'a mollusc', 'molluscs'},
	bird       = {'a bird', 'birds'},
	beetle     = {'an insect', 'insects'},
	bee        = {'an insect', 'insects'},
	bat        = {'a mammal', 'mammals'},
	bacteria   = {'a bacterium', 'bacteria'},
	bacterium  = {'a bacterium', 'bacteria'},
	arthropod  = {'an arthropod', 'arthropods'},
	arachnid   = {'an arthropod', 'arthropods'},
	archaea    = {'a microorganism', 'microorganisms'},
	ant	       = {'an insect', 'insects'},
	animal     = {'an animal', 'animals'},
	amphibian  = {'an amphibian', 'amphibians'},
	algae      = {'an alga', 'algae'},
	alga       = {'an alga', 'algae'},
	none       = {'an organism'},
}

return p
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy