Модуль:IOC WBL
Внешний вид
Для документации этого модуля может быть создана страница Модуль:IOC WBL/doc
local p = {}
local version={}
version[""]="12.2" -- текущая версия сайта
version["12.2"]="12.2"
version["12.1"]="12.1"
version["11.2"]="11.2"
version["11.1"]="11.1"
version["10.2"]="10.2"
version["10.1"]="10.1"
version["9.2"]="9.2"
version["9.1"]="9.1"
version["8.2"]="8.2"
version["8.1"]="8.1"
local doi={}
doi[""]="10.14344/IOC.ML.12.2" -- текущий DOI
doi["12.2"]="10.14344/IOC.ML.12.2"
doi["12.1"]="10.14344/IOC.ML.12.1"
doi["11.2"]="10.14344/IOC.ML.11.2"
doi["11.1"]="10.14344/IOC.ML.11.1"
doi["10.2"]="10.14344/IOC.ML.10.2"
doi["10.1"]="10.14344/IOC.ML.10.1"
doi["9.2"]="10.14344/IOC.ML.9.2"
doi["9.1"]="10.14344/IOC.ML.9.1"
doi["8.2"]="10.14344/IOC.ML.8.2"
doi["8.1"]="10.14344/IOC.ML.8.1"
local date={}
date[""]="2022-08-11" -- дата текущей версии
date["12.2"]="2022-08-11"
date["12.1"]="2022-02-01"
date["11.2"]="2021-07-15"
date["11.1"]="2021-01-20"
date["10.2"]="2020-07-25"
date["10.1"]="2020-01-25"
date["9.2"]="2019-06-22"
date["9.1"]="2019-01-20"
date["8.2"]="2018-06-27"
date["8.1"]="2018-01-25"
local url={}
url["12.2"]="/master_ioc_list_v12.2.xlsx"
url["12.1"]="/master_ioc_list_v12.1.xlsx"
url["11.2"]="/master_ioc_list_v11.2.xlsx"
url["11.1"]="/master_ioc_list_v11.1.xlsx"
url["10.2"]="/master_ioc_list_v10.2.xlsx"
url["10.1"]="/master_ioc_list_v10.1.xlsx"
url["9.2"]="/Archives/master_ioc_list_v9.2.xlsx"
url["9.1"]="/Archives/master_ioc_list_v9.1.xlsx" -- подстраницы недоступны
url["8.2"]="/Archives/master_ioc_list_v8.2.xlsx" -- подстраницы недоступны
url["8.1"]="/Archives/master_ioc_list_v8.1.xlsx" -- подстраницы недоступны
local editor={}
editor[""]="Gill F., Donsker D. & Rasmussen P. (Eds.)" -- составители текущей версии
editor["12.2"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["12.1"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["11.2"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["11.1"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["10.2"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["10.1"]="Gill F., Donsker D. & Rasmussen P. (Eds.)"
editor["9.2"]="Gill F. & Donsker D. (Eds.)"
editor["9.1"]="Gill F. & Donsker D. (Eds.)"
editor["8.2"]="Gill F. & Donsker D. (Eds.)"
editor["8.1"]="Gill F. & Donsker D. (Eds.)"
local n_species={}
n_species[""]="10933"
n_species["12.2"]="10933"
n_species["12.1"]="10928"
n_species["11.2"]="10912"
local n_extinct_species={}
n_extinct_species[""]="160"
n_extinct_species["12.2"]="160"
n_extinct_species["12.1"]="160"
n_extinct_species["11.2"]="160"
local n_genera={}
n_genera[""]="2384"
n_genera["12.2"]="2384"
n_genera["12.1"]="2376"
n_genera["11.2"]="2372"
local n_families={}
n_families[""]="253"
n_families["12.2"]="253"
n_families["12.1"]="253"
n_families["11.2"]="252"
n_families["11.1"]="252"
local n_orders={}
n_orders[""]="44"
n_orders["12.2"]="44"
n_orders["12.1"]="44"
n_orders["11.2"]="44"
n_orders["11.1"]="40"
local bow={}
bow["ratites"]="Ratites: Ostriches to tinamous"
bow["waterfowl"]="Screamers, ducks, geese, swans"
bow["megapodes"]="Megapodes, guans, guineafowl, New World quail"
bow["pheasants"]="Pheasants, partridges, francolins"
bow["nightjars"]="Nightjars, Oilbird, potoos, frogmouths"
bow["swifts"]="Owlet-nightjars, treeswifts, swifts"
bow["hummingbirds"]="Hummingbirds"
bow["turacos"]="Turacos, bustards, cuckoos, mesites, sandgrouse"
bow["pigeons"]="Pigeons"
bow["flufftails"]=" Finfoots, flufftails, rails, trumpeters, cranes, Limpkin"
bow["grebes"]="Grebes, flamingos"
bow["buttonquail"]="Buttonquail, thick-knees, sheathbills, plovers, oystercatchers, stilts, painted-snipes, jacanas, Plains-wanderer, seedsnipes"
bow["sandpipers"]="Sandpipers, snipes, Crab-plover, coursers"
bow["gulls"]="Noddies, skimmers, gulls, terns, skuas, auks"
bow["loons"]="Kagu, Sunbittern, tropicbirds, loons, penguins"
bow["petrels"]="Petrels, albatrosses"
bow["storks"]="Storks, frigatebirds, boobies, darters, cormorants"
bow["pelicans"]="Ibis, spoonbills, herons, Hamerkop, Shoebill, pelicans"
bow["raptors"]="Hoatzin, New World vultures, secretarybird, raptors"
bow["owls"]="Owls"
bow["mousebirds"]="Mousebirds, Cuckoo-roller, trogons, hoopoes, hornbills"
bow["rollers"]="Rollers, ground rollers, kingfishers"
bow["todies"]="Todies, motmots, bee-eaters"
bow["jacamars"]="Jacamars, puffbirds, barbets, toucans, honeyguides"
bow["woodpeckers"]="Woodpeckers"
bow["falcons"]="Seriemas, falcons"
bow["parrots"]="Parrots, cockatoos"
bow["nz_wrens"]="NZ wrens, Sapayoa, asities, broadbills, pittas"
bow["ovenbirds"]="Ovenbirds, woodcreepers"
bow["antbirds"]="Antbirds"
bow["antthrushes"]="Antthrushes, antpittas, gnateaters, tapaculos, crescentchests"
bow["flycatchers"]="Tyrant flycatchers"
bow["cotingas"]="Cotingas, manakins, tityras, becards"
bow["lyrebirds"]="Lyrebirds, scrubbirds, bowerbirds, Australasian treecreepers, Australasian wrens"
bow["honeyeaters"]="Honeyeaters"
bow["bristlebirds"]="Bristlebirds, pardalotes, Australasian warblers"
bow["au_babblers"]="Australasian babblers, logrunners, satinbirds, berrypeckers, wattlebirds, whipbirds, jewel-babblers, quail-thrushes"
bow["batises"]="Batises, bushshrikes, boatbills, vangas (sensu lato)"
bow["butcherbirds"]="Bristlehead, butcherbirds, woodswallows, ioras, cuckooshrikes"
bow["whistlers"]="Whiteheads, sittellas, Ploughbill, Australo-Papuan bellbirds, Shriketit, whistlers"
bow["shrikes"]="Shrikes, vireos, shrike-babblers"
bow["orioles"]="Orioles, drongos, fantails"
bow["monarchs"]="Monarchs"
bow["crows"]="Crows, mudnesters, melampittas, Ifrit, birds-of-paradise"
bow["au_robins"]="Australasian robins, rockfowl, rockjumpers, rail-babbler"
bow["waxwings"]="Waxwings and allies, tits, penduline tits"
bow["larks"]="Nicators, Bearded Reedling, larks"
bow["bulbuls"]="Bulbuls"
bow["swallows"]="Swallows"
bow["crombecs"]="Cupwings, crombecs, cettiid bush warblers, Streaked Scrub Warbler, yellow flycatchers, hylias"
bow["bushtits"]="Bushtits, leaf warblers, reed warblers"
bow["grassbirds"]="Grassbirds, Donacobius, tetrakas, cisticolas, allies"
bow["sylvias"]="Sylviid babblers, parrotbills, white-eyes"
bow["babblers"]="Babblers, scimitar babblers, ground babblers, Alcippe fulvettas"
bow["laughingthrushes"]="Laughingthrushes and allies"
bow["sugarbirds"]="Dapple-throats, sugarbirds, fairy-bluebirds, kinglets, Elachura, hyliotas, wrens, gnatcatchers"
bow["nuthatch"]="Nuthatches, wallcreeper, treecreepers, mockingbirds, starlings, oxpeckers"
bow["thrushes"]="Thrushes"
bow["chats"]="Chats, Old World flycatchers"
bow["dippers"]="Dippers, leafbirds, flowerpeckers, sunbirds"
bow["weavers"]="Old World sparrows, snowfinches, weavers"
bow["waxbills"]="Waxbills, parrotfinches, munias, whydahs, olive warbler, accentors, pipits"
bow["finches"]="Finches, euphonias, longspurs, thrush-tanager"
bow["buntings"]="Buntings"
bow["sparrows"]="New World sparrows, bush tanagers"
bow["enigmas"]="Caribbean (tanagers), Wrenthrush, Yellow-breasted Chat"
bow["blackbirds"]="Oropendolas, orioles, blackbirds"
bow["warblers"]="New World warblers, mitrospingid tanagers"
bow["cardinals"]="Cardinals, grosbeaks and (tanager) allies"
bow["tanagers"]="Tanagers and allies"
bow["Welcome"]="Welcome"
bow["?"]="Family Index"
function p.version (frame)
return version[frame.args[1]]
end
function p.doi (frame)
return doi[frame.args[1]]
end
function p.date (frame)
return date[frame.args[1]]
end
function p.url (frame)
return "https://www.worldbirdnames.org"..(url[frame.args[1]] or "")
end
function p.editor (frame)
return editor[frame.args[1]]
end
function p.n_species (frame)
return n_species[frame.args[1]]
end
function p.n_extinct_species (frame)
return n_extinct_species[frame.args[1]]
end
function p.n_genera (frame)
return n_genera[frame.args[1]]
end
function p.n_families (frame)
return n_families[frame.args[1]]
end
function p.n_orders (frame)
return n_orders[frame.args[1]]
end
function p.bow (frame)
return bow[frame.args[1]]
end
return p