Module:Bases/vivant

Cette page fait l’objet d’une mesure de semi-protection étendue.
Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 24 novembre 2018 à 16:16 et modifiée en dernier par Thierry Caro (discuter | contributions). Elle peut contenir des erreurs, des inexactitudes ou des contenus vandalisés non présents dans la version actuelle.

 Documentation[voir] [modifier] [historique] [purger]

Ce module sert fournir la liste des bases au module {{Bases vivant}}.

Utilisation

Les différentes informations à renseigner sont visibles dans le tableau sur la page Modèle:Bases vivant#Utilisation, en particulier pour l'édition des colonnes Libellé et URL.

{{nom, langue du nom}, propriété Wikidata, format URL}
  • nom : colonne libellé de la documentation de la base ; texte affiché sur les pages où la base est utilisée.
  • langue du nom : code langue du libellé, pour l'accessibilité.
  • propriété Wikidata : colonne propriété.
  • format URL : colonne URL.
Pour renseigner la langue de la base et son accessibilité
  1. Pour l'affichage par le modèle de la ou les langues de rédaction du contenu de la bases (colonne langue) :
    depuis sa documentation cliquez sur la propriété wikidata correspondante, éditez le paramètre P1630 (« format de l'URL ») et ajoutez le qualifier P407 (« langue de l'œuvre, du nom ou du terme ») avec la ou les langues voulues. Regardez par exemple le résultat sur la page P3973 (« identifiant Petőfi Irodalmi Múzeum »).
  2. Pour l'accessibilité de la lecture de la langue du libellé de la base :
    éditer ce module pour chaque libellé qui n'est pas en français remplacer par exemple "BookBrainz" par {"BookBrainz", "en"}
Ajout d'une base

Tout ajout ou suppression de base doit passer par Wikipédia:Ateliers Bases.
De manière générale si vous n'êtes pas sûr de vos actions, faite une demande sur cette même discussion.
Les autres paramètres sont importés par le module depuis la page wikidata de la propriété.

local p = {}
local wikidata = require "Module:Wikidata"

local bases = {
-- { nom, propriété Wikidata, format URL}
{"AfroMoths", "P6093", "http://www.afromoths.net/species/show/$1"},
{"Alabama Plant Atlas", "P6137", "http://floraofalabama.org/Plant.aspx?id=$1"},
{"AlgaeBase", "P1348", "$1"},
{"Amphibian Species of the World", "P5354", "http://research.amnh.org/vz/herpetology/amphibia/Amphibia/$1"},
{"Amphibians of India", "P5003", "http://www.indianamphibians.org/#!/sp/$1"},
{"AmphibiaWeb", "P5036", "https://amphibiaweb.org/species/$1"},
{"Animal Diversity Web", "P4024", "https://animaldiversity.org/accounts/$1/"},
{"AntWeb", "P5299", "https://www.antweb.org/description.do?taxonName=$1"},
{"Araneae", "P3594", "https://araneae.nmbe.ch/data/$1"},
{"ARKive", "P2833", "http://www.arkive.org/wd/$1/"},
{"Atlas of Florida Plants", "P6159", "http://florida.plantatlas.usf.edu/Plant.aspx?id=$1"},
{"Australasian Pollen and Spore Atlas", "P2809", "http://apsa.anu.edu.au/sample/$1"},
{"Australian Faunal Directory", "P6039", "https://biodiversity.org.au/afd/taxa/$1"},
{"Australian Plant Name Index", "P5984", "https://id.biodiversity.org.au/name/apni/$1"},
{"Avibase", "P2026", "https://avibase.bsc-eoc.org/species.jsp?avibaseid=$1"},
{"BacDive", "P2946", "https://bacdive.dsmz.de/index.php?rd=$1"},
{"Base de données des plantes d'Afrique", "P2036", "http://www.ville-ge.ch/musinfo/bd/cjb/africa/details.php?langue=fr&id=$1"},
{"Biodiversity Heritage Library", "P687", "http://biodiversitylibrary.org/page/$1"},
{"BioLib", "P838", "https://www.biolib.cz/en/taxon/id$1"},
{"BirdFacts", "P4798", "https://app.bto.org/birdfacts/results/$1.htm"},
{"BirdLife Australia", "P6040", "http://birdlife.org.au/bird-profile/$1"},
{"BirdLife International", "P5257", "http://datazone.birdlife.org/species/factsheet/$1"},
{"BOLD Systems", "P3606", "http://www.boldsystems.org/index.php/TaxBrowser_TaxonPage?taxid=$1"},
{"BugGuide", "P2464", "https://bugguide.net/node/view/$1"},
{"Butterflies and Moths of North America", "P3398", "https://www.butterfliesandmoths.org/$1"},
{"Butterflies and Moths of the World", "P3060", "http://www.nhm.ac.uk/jdsml/research-curation/research/projects/butmoth/GenusDetails.dsml?NUMBER=$1"},
{"Butterflies of India", "P4433", "http://www.ifoundbutterflies.org/sp/$1"},
{"Calflora", "P3420", "http://www.calflora.org/cgi-bin/species_query.cgi?where-calrecnum=$1"},
{"California Invasive Plant Council", "P6176", "https://www.cal-ipc.org/plants/profile/$1-profile/"},
{"California Native Plant Society", "P4194", "http://www.rareplants.cnps.org/detail/$1.html"},
{"Catalogue of Life in Taiwan", "P3088", "http://taibnet.sinica.edu.tw/chi/taibnet_species_detail.php?name_code=$1"},
{"Catalogue of the Lepidoptera of Belgium", "P5862", "http://projects.biodiversity.be/lepidoptera/species/$1/"},
{"Center for Biological Diversity", "P6003", "https://www.biologicaldiversity.org/species/$1/index.html"},
{"Cockroach Species File Online", "P6052", "http://cockroach.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1"},
{"Convention de Bonn", "P6033", "https://www.cms.int/fr/species/$1"},
{"Coreoidea Species File Online", "P6053", "http://coreoidea.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1"},
{"DORIS", "P4630", "http://doris.ffessm.fr/ref/specie/$1"},
{"Dyntaxa", "P1939", "https://www.dyntaxa.se/taxon/info/$1"},
{"eBird", "P3444", "https://ebird.org/species/$1"},
{"Echinoid Directory", "P6042", "http://www.nhm.ac.uk/our-science/data/echinoid-directory/taxa/taxon.jsp?id=$1"},
{"Ecocrop", "P4753", "http://ecocrop.fao.org/ecocrop/srv/en/cropView?id=$1"},
{"''Encyclopédie de la Vie''", "P830", "http://eol.org/pages/$1/overview"},
{"Environmental Conservation Online System", "P6030", "https://ecos.fws.gov/ecp0/profile/speciesProfile?sId=$1"},
{"EPPO Global Database", "P3031", "https://gd.eppo.int/taxon/$1"},
{"Espèces Envahissantes Outre-mer", "P6043", "https://especes-envahissantes-outremer.fr/especes_envahissante/$1/"},
{"EU-nomen", "P1895", "http://www.eu-nomen.eu/portal/taxon.php?GUID=urn:lsid:faunaeur.org:taxname:$1"},
{"European Nature Information System", "P6177", "https://eunis.eea.europa.eu/species/$1"},
{"The Families of Flowering Plants", "P1761", "http://delta-intkey.com/angio/www/$1.htm"},
{"Fauna Europaea", "P4807", "https://fauna-eu.org/cdm_dataportal/taxon/$1"},
{"Fire Effects Information System", "P6044", "https://www.fs.fed.us/database/feis/$1/all.html"},
{"FishBase", "P938", "http://www.fishbase.org/summary/$1"},
{"Flora Catalana", "P5179", "http://www.floracatalana.net/$1"},
{"Flora of Australia Online", "P3100", "http://www.anbg.gov.au/abrs/online-resources/flora/stddisplay.xsql?pnid=$1"},
{"Flora of China", "P1747", "http://www.efloras.org/florataxon.aspx?flora_id=2&taxon_id=$1"},
{"Flora of Israel Online", "P3795", "http://flora.org.il/en/plants/$1/"},
{"Flora of North America", "P1727", "http://www.efloras.org/florataxon.aspx?flora_id=1&taxon_id=$1"},
{"FloraBase", "P3101", "https://florabase.dpaw.wa.gov.au/browse/profile/$1"},
{"FloraNT", "P5953", "http://eflora.nt.gov.au/factsheet?id=$1"},
{"FloraWeb", "P6094", "http://www.floraweb.de/pflanzenarten/artenhome.xsql?suchnr=$1"},
{"Flore Numérique d'Afrique Centrale", "P6115", "http://db.plantentuinmeise.be/RESEARCH/DATABASES/FOCA/speciesdetails.php?refid=$1"},
{"Fossilworks", "P842", "http://fossilworks.org/bridge.pl?a=taxonInfo&taxon_no=$1"},
{"Fulgoromorpha Lists On the Web", "P6096", "https://www.hemiptera-databases.org/flow/?page=explorer&db=flow&lang=en&card=taxon&rank=species&id=$1"},
{"Germplasm Resources Information Network", "P1421", "$1"},
{"Global Biodiversity Information Facility", "P846", "https://www.gbif.org/species/$1"},
{"Global Invasive Species Database", "P5626", "http://www.iucngisd.org/gisd/species.php?sc=$1"},
{"The Global Lepidoptera Names Index", "P3064", "http://www.nhm.ac.uk/our-science/data/lepindex/detail/?taxonno=$1"},
{"Global Raptor Information Network", "P6045", "http://www.globalraptors.org/grin/SpeciesResults.asp?specID=$1"},
{"GONIAT", "P5216", "http://www.goniat.org/showTax.html?TaxId=$1"},
{"GrassBase", "P1832", "http://www.kew.org/data/grasses-db/www/$1.htm"},
{"Groupe de travail Invasions biologiques en milieux aquatiques", "P6054", "http://www.gt-ibma.eu/espece/$1/"},
{"Guide to North American Birds", "P4715", "https://www.audubon.org/field-guide/bird/$1"},
{"The Gymnosperm Database", "P1940", "https://conifers.org/$1.php"},
{"Herbarium Steere", "P6035", "http://sycamore.nybg.org/science/vh/taxon.php?irn=$1"},
{"Hymenoptera Online", "P6021", "https://hol.osu.edu/index.html?id=$1"},
{"Hypericum online", "P6028", "http://hypericum.myspecies.info/taxonomy/term/$1"},
{"iNaturalist", "P3151", "https://www.inaturalist.org/taxa/$1"},
{"Index Fungorum", "P1391", "http://www.indexfungorum.org/names/NamesRecord.asp?RecordID=$1"},
{"Index Hepaticarum", "P2794", "http://www.ville-ge.ch/musinfo/bd/cjb/hepatic/detail.php?no_record=$1"},
{"Info Flora", "P6098", "https://www.infoflora.ch/en/flora/$1.html"},
{"Interim Register of Marine and Nonmarine Genera", "P5055", "http://www.irmng.org/aphia.php?p=taxdetails&id=$1"},
{"International Plant Names Index", "P961", "http://www.ipni.org/ipni/idPlantNameSearch.do?id=$1"},
{"Internet Bird Collection", "P3099", "https://www.hbw.com/ibc/species/$1"},
{"Invasive Plant Atlas of the United States", "P6161", "https://www.invasiveplantatlas.org/subject.html?sub=$1"},
{"Invasive Species Compendium", "P5698", "https://www.cabi.org/isc/datasheet/$1"},
{"Jardin botanique du Missouri", "P6034", "http://www.missouribotanicalgarden.org/PlantFinder/PlantFinderDetails.aspx?taxonid=$1"},
{"John J. Audubon's ''Birds of America''", "P6041", "https://www.audubon.org/birds-of-america/$1"},
{"List of Prokaryotic names with Standing in Nomenclature", "P1991", "$1"},
{"Mammal Species of the World", "P959", "http://www.departments.bucknell.edu/biology/resources/msw3/browse.asp?s=y&id=$1"},
{"Mantodea Species File Online", "P6055", "http://mantodea.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1"},
{"Map of Life", "P6092", "https://mol.org/species/$1"},
{"Michigan Flora", "P6103", "https://michiganflora.net/species.aspx?id=$1"},
{"Moth Photographers Group", "P4758", "http://mothphotographersgroup.msstate.edu/species.php?hodges=$1"},
{"Muséum national d'histoire naturelle", "P6046", "https://science.mnhn.fr/taxon/$1"},
{"Mushroom Observer", "P6101", "https://mushroomobserver.org/name/show_name/$1"},
{"MycoBank", "P962", "http://www.mycobank.org/Biolomics.aspx?Table=Mycobank&MycoBankNr_=$1"},
{"Nálezová databáze ochrany přírody", "P5263", "https://portal.nature.cz/publik_syst/nd_nalez-public.php?idTaxon=$1"},
{"National Center for Biotechnology Information", "P685", "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=$1"},
{"NBN Atlas", "P3240", "https://data.nbn.org.uk/Taxa/$1"},
{"NDFF Verspreidingsatlas", "P6142", "https://www.verspreidingsatlas.nl/$1"},
{"Nederlands Soortenregister", "P3405", "https://www.nederlandsesoorten.nl/linnaeus_ng/app/views/species/nsr_taxon.php?id=$1"},
{"Neotropical Birds", "P6047", "https://neotropical.birds.cornell.edu/Species-Account/nb/species/$1"},
{"New South Wales Flora Online", "P3130", "http://plantnet.rbgsyd.nsw.gov.au/cgi-bin/NSWfl.pl?page=nswfl&lvl=sp&name=$1"},
{"New Zealand Birds Online", "P6048", "http://nzbirdsonline.org.nz/species/$1"},
{"New Zealand Organisms Register", "P2752", "http://www.nzor.org.nz/names/$1"},
{"NOAA Fisheries Species Directory", "P6049", "https://www.fisheries.noaa.gov/species/$1"},
{"Nonindigenous Aquatic Species", "P6163", "https://nas.er.usgs.gov/queries/FactSheet.aspx?speciesID=$1"},
{"Observation.org", "P6105", "https://observation.org/soort/view/$1?lang=fr"},
{"Oiseaux.net", "P6025", "http://www.oiseaux.net/oiseaux/$1.html"},
{"Onroerend Erfgoed", "P4311", "https://id.erfgoed.net/thesauri/soorten/$1"},
{"Orthoptera Species File Online", "P6050", "http://orthoptera.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1"},
{"PalDat", "P4122", "https://www.paldat.org/pub/$1"},
{"Panarctic Flora", "P2434", "http://panarcticflora.org/results?name=#paf-$1"},
{"Phasmida Species File Online", "P4855", "http://phasmida.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1"},
{"The Plant List", "P1070", "http://www.theplantlist.org/tpl1.1/record/$1"},
{"Plant Parasites of Europe", "P6061", "https://bladmineerders.nl/$1/"},
{"Plantarium", "P3102", "http://www.plantarium.ru/page/view/item/$1.html"},
{"PLANTS Database", "P1772", "https://plants.usda.gov/core/profile?symbol=$1"},
{"Plants For A Future", "P4301", "http://www.pfaf.org/user/Plant.aspx?LatinName=$1"},
{"Plants of the World Online", "P5037", "http://www.plantsoftheworldonline.org/taxon/$1"},
{"Plazi", "P1992", "http://treatment.plazi.org/id/$1"},
{"Portale della Flora d'Italia", "P6114", "http://dryades.units.it/floritaly/index.php?procedure=taxon_page&tipo=all&id=$1"},
{"Red List of South African Plants", "P6056", "http://redlist.sanbi.org/species.php?species=$1"},
{"Registre public des espèces en péril", "P6019", "https://wildlife-species.canada.ca/species-risk-registry/species/speciesDetails_f.cfm?sid=$1"},
{"The Reptile Database", "P5473", "http://reptile-database.reptarium.cz/species?$1"},
{"Sea Slug Forum", "P6051", "http://www.seaslugforum.net/find/$1"},
{"SeaLifeBase", "P6018", "https://www.sealifebase.ca/Summary/SpeciesSummary.php?id=$1"},
{"Species Profile and Threats Database", "P2455", "http://www.environment.gov.au/cgi-bin/sprat/public/publicspecies.pl?taxon_id=$1"},
{"Species+", "P2040", "https://speciesplus.net/#/taxon_concepts/$1/legal"},
{"Systematic Catalog of Culicidae", "P6057", "http://www.mosquitocatalog.org/taxon_descr.aspx?ID=$1"},
{"Système d'information taxonomique intégré", "P815", "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=$1"},
{"TAXREF", "P3186", "https://inpn.mnhn.fr/espece/cd_nom/$1"},
{"Tela Botanica", "P3105", "https://www.tela-botanica.org/bdtfx-nn-$1"},
{"Threatened Species Link", "P6128", "https://www.threatenedspecieslink.tas.gov.au/Pages/$1.aspx"},
{"Tierstimmenarchiv des Museums für Naturkunde Berlin", "P5397", "http://www.tierstimmen.org/en/database?field_spec_species_target_id_selective=$1"},
{"Titan", "P4125", "http://titan.gbif.fr/sel_genann1.php?numero=$1"},
{"Tree of Life Web Project", "P5221", "http://tolweb.org/$1"},
{"Tropicos", "P960", "http://www.tropicos.org/Name/$1"},
-- {"UKMOths", "P1743", "https://www.ukmoths.org.uk/species/$1/"},
{"Union internationale pour la conservation de la nature", "P627", "http://oldredlist.iucnredlist.org/details/$1/0"},
{"Universal Biological Indexer and Organizer", "P4728", "http://www.ubio.org/browser/details.php?namebankID=$1"},
{"VASCAN", "P1745", "http://data.canadensys.net/vascan/taxon/$1?lang=fr"},
{"VicFlora", "P5945", "https://vicflora.rbg.vic.gov.au/flora/taxon/$1"},
{"Virtual Guide to the Flora of Mongolia", "P6139", "https://floragreif.uni-greifswald.de/taxon/?taxon_id=$1"},
{"De Vlinderstichting", "P3322", "https://www.vlinderstichting.nl/vlinders/overzicht-vlinders/details-vlinder/?vlinder=$1"},
{"Wiki Aves", "P4664", "https://www.wikiaves.com.br/$1"},
{"Wild Herps", "P6036", "http://www.wildherps.com/species/$1.html"},
{"Wildflowers of Israel", "P3746", "http://www.wildflowers.co.il/english/plant.asp?ID=$1"},
{"World Checklist of Selected Plant Families", "P3591", "http://wcsp.science.kew.org/namedetail.do?name_id=$1"},
{"World Register of Marine Species", "P850", "http://www.marinespecies.org/aphia.php?p=taxdetails&id=$1"},
{"World Spider Catalog", "P3288", "http://www.wsc.nmbe.ch/lsid/$1"},
{"Xeno-canto", "P2426", "https://www.xeno-canto.org/species/$1"},
{"ZooBank", "P1746", "http://zoobank.org/NomenclaturalActs/$1"},
}

function p.main(frame)	
	local id = frame.args.id
	if id == "" then
		id = nil
	end

	local entity = mw.wikibase.getEntityObject(id)
	if not entity then
		return "[[Catégorie:Page utilisant le modèle Bases vivant inactif]]"
	end
	local vals = {}
	for i, base in pairs(bases) do
		local val = wikidata.formatStatements{entity = entity, text = base[1], property = base[2], urlpattern = base[3], numval = 1, addcat = true}
		if val then 
			table.insert(vals, val)
		end
	end
	if #vals == 0 then
		return "[[Catégorie:Page utilisant le modèle Bases vivant inactif]]"
	end
	local header = ''
	if #vals > 1 then
		header = "Ressources relatives au vivant : "
	else
		header = "Ressource relative au vivant : "
	end
	return wikidata.addLinkBack(header .. table.concat( vals, ' • ' ), entity, "identifiers" ) -- lien vers la section approriété de Wikidata
end

return p