Template:LepIndex species

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

LepIndex link: LepIndex species

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:LepIndex species/doc.
Usage
Use this template to add a reference to a Lepidopter species on the web site The Global Lepidoptera Names Index by providing the taxon id on 'The Global Lepidoptera Names Index'.
Note: This template can be used in conjunction with {{Taxoconflict}}, {{Taxa}}, {{Genera}}, {{Genera2}}, {{Species}}, {{Species2}} and {{Subspecies}} with parameter "source=LepIndex" (See here the different values for source)
Note
To get the families of a superfamily, try: http://www.nhm.ac.uk/api/global-lepidoptera-names-index-api/superfamily/YOUR_SUPER_FAMILY/family
To get the subfamilies of a family, try: http://www.nhm.ac.uk/api/global-lepidoptera-names-index-api/family/YOUR_FAMILY/subfamily
To get the tribes of a subfamily, try: http://www.nhm.ac.uk/api/global-lepidoptera-names-index-api/subfamily/YOUR_SUB_FAMILY/tribe
Sample
{{LepIndex species | 243855.0 | Psilocerea anearia | Swinhoe, 1904 }}
{{LepIndex species | 243855.0 | Psilocerea anearia }}
Results
LepIndex link: Psilocerea anearia Swinhoe, 1904
LepIndex link: Psilocerea anearia
Syntaxe
{{LepIndex species | speciesId | binomialName | author | validity }}
Parameters
  • speciesId
the id of the taxon on LepIndex web site.
How to retrieve the id: In the url http://www.nhm.ac.uk/our-science/data/butmoth/search/GenusDetails.dsml?NUMBER=243855.0 the id is 243855.0
Sample (for Psilocerea anearia): 243855.0
  • binomialName (optional)
The binomial name of the species (without italic)
Sample (for Psilocerea anearia): Psilocerea anearia
  • author (optional)
The author of the species
Sample (for Psilocerea anearia): Swinhoe, 1904
  • validity (optional)
If the taxon is considered as unaccepted or synonym by Fungorum, add nv.
Sample (for ?????): nv
Use sample
  • ????
See also