模組:Science redirect/conf
外观
local p = {}
p.templates = {
--name、from、to、category 和 info 均是来自{{Redirect template}}的参数
--分类会以“重定向”结尾,如果指明了物种子分类,那么物种名会被放置于子分类开头
from_alternative_scientific_name = {
name = '$1的学名旧称',
from = '$1的学名旧称',
to = '广泛认可的学名',
category = '学名旧称',
}, to_scientific_name = {
name = '至$1的学名',
from = '[[俗名]]',
to = '$1的[[学名]]',
category = '至学名',
}, from_scientific_name = {
name = '$1的学名',
from = '$1的学名',
to = '[[俗名]]',
category = '学名',
}, to_monotypic_taxon = {
name = '至单型分类单元',
from = '$1单型分类单元唯一的下阶类元',
to = '其单型分类单元',
category = '至单型分类单元',
info = "在生物学条目中,例如当某属下只包含一个物种时,该物种的[[学名]]可以被重定向至该单型属。\n** 如要建立一个\'\'\'自\'\'\'单型分类单元\'\'\'至\'\'\'其唯一的下阶类元的重定向,请使用{{[[:Template:R from monotypic taxon|R from monotypic taxon]]}}。例如,将某单型科重定向至其下唯一的属。",
removeA = true,
}, from_monotypic_taxon = {
name = '单型分类单元',
from = '$1单型分类单元',
to = '其唯一的下阶类元',
category = '单型分类单元',
info = "在生物学条目中,例如当某科下只包含一个属时,该单型科可以被重定向至该属。\n** 如要建立一个\'\'\'自\'\'\'单型分类单元唯一的下阶类元\'\'\'至\'\'\'此单型分类单元的重定向,请使用{{[[:Template:R to monotypic taxon|R to monotypic taxon]]}}。例如,将某物种学名重定向至只包含其的单型属。",
removeA = true,
},
}
p.cats = {
-- 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 = {'哺乳动物', '哺乳动物'},
wasp = {'昆虫', '昆虫'},
viruse = {'病毒', '病毒'},
viru = {'病毒', '病毒'},
turtle = {'爬行动物', '爬行动物'},
squid = {'软体动物', '软体动物'},
spider = {'蜘蛛', '蜘蛛'},
snake = {'爬行动物', '爬行动物'},
snail = {'软体动物', '软体动物'},
slug = {'软体动物', '软体动物'},
shark = {'鱼类', '鱼类'},
rodent = {'哺乳动物', '哺乳动物'},
reptile = {'爬行动物', '爬行动物'},
pterosaur = {'爬行动物', '爬行动物'},
protist = {'微生物', '微生物'},
primate = {'哺乳动物', '哺乳动物'},
plant = {'植物', '植物'},
octopuse = {'软体动物', '软体动物'},
octopu = {'软体动物', '软体动物'},
octopi = {'软体动物', '软体动物'},
moth = {'昆虫', '昆虫'},
mollusc = {'软体动物', '软体动物'},
mollusk = {'软体动物', '软体动物'},
microorganism = {'微生物', '微生物'},
microbe = {'微生物', '微生物'},
mammal = {'哺乳动物', '哺乳动物'},
lepidoptera= {'昆虫', '昆虫'},
insect = {'昆虫', '昆虫'},
horse = {'哺乳动物', '哺乳动物'},
gastropod = {'软体动物', '软体动物'},
fungu = {'真菌', '真菌'},
fungi = {'真菌', '真菌'},
frog = {'两栖动物', '两栖动物'},
fly = {'昆虫', '昆虫'},
flie = {'昆虫', '昆虫'},
fishe = {'鱼类', '鱼类'},
fish = {'鱼类', '鱼类'},
dolphin = {'哺乳动物', '哺乳动物'},
dog = {'哺乳动物', '哺乳动物'},
dinosaur = {'爬行动物', '爬行动物'},
crustacean = {'甲壳动物', '甲壳动物'},
cephalopod = {'软体动物', '软体动物'},
cat = {'哺乳动物', '哺乳动物'},
butterfly = {'昆虫', '昆虫'},
butterflie = {'昆虫', '昆虫'},
bivalve = {'软体动物', '软体动物'},
bird = {'鸟类', '鸟类'},
beetle = {'昆虫', '昆虫'},
bee = {'昆虫', '昆虫'},
bat = {'哺乳动物', '哺乳动物'},
bacteria = {'微生物', '微生物'},
bacterium = {'微生物', '微生物'},
arthropod = {'节肢动物', '节肢动物'},
arachnid = {'节肢动物', '节肢动物'},
archaea = {'微生物', '微生物'},
ant = {'昆虫', '昆虫'},
animal = {'动物', '动物'},
amphibian = {'两栖动物', '两栖动物'},
algae = {'藻类', '藻类'},
alga = {'藻类', '藻类'},
none = {'生物'},
}
return p