Module:FishRef/doc

From HandWiki

This is the documentation page for Module:FishRef

This module was created to generate {{cite web}} references to the Catalog of Fishes database. The capabilities were extended to handle other fish-related references and the module renamed FishRef. Further extension to a more general Bioref system is the long-term goal.

The module provides a wrapper to the cite web system, which means that the references can also include general cite web parameters (e.g. |mode=cs1|2 or |quote=TEXT).

The module is used with {{Catalog of Fishes}}, which was designed to replace a series of templates that were originally written in the Wikipedia template language: {{Cof genus}}, {{Cof family}}, {{Cof species}}, {{Cof record}}.

Other templates using the module: {{FishBase/sandbox}}, {{BioRef}}, {{fossilworks/sandbox}}, User:Jts1882/sandbox/template/asm

Usage of module: {{#invoke:FishRef|cof}}, {{#invoke:FishRef|fishbase}}, {{#invoke:FishRef|fossilworks}}, etc.

Examples of templates using the Module:FishRef

Catalog of Fishes

Examples using {{Catalog of Fishes}}

Template usage Results
{{Catalog of Fishes |family=Xiphiidae |list=species |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the family Xiphiidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&family=Xiphiidae. 
{{Catalog of Fishes |family=Cyprinidae |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Genera in the family Cyprinidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&family=Cyprinidae. 
{{Catalog of Fishes |family=Salmonidae |list=genus |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Genera in the family Salmonidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&family=Salmonidae. 
{{Catalog of Fishes |genus=Vinagarra |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the genus Vinagarra". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Vinagarra. 
{{Catalog of Fishes |genus=Vinagarra |species=elongata |access-date=7 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Vinagarra elongata". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Vinagarra&species=elongata. 
{{Catalog of Fishes |genus=Abbottina |species=rivularis |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Abbottina rivularis". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Abbottina&species=rivularis. 
{{Catalog of Fishes |genus=Tylognathus |species=sinensis |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Tylognathus sinensis". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Tylognathus&species=sinensis. 
{{Catalog of Fishes |genid=150  |access-date=8 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "genid=150". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?genid=150. 
{{Catalog of Fishes |genid=150 |title=Syngnathus |access-date=8 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Syngnathus". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?genid=150. 
{{Catalog of Fishes|spid=14756  |access-date=8 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "spid=14756". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=14756. 
{{Catalog of Fishes |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Syngnathus abaster". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=14756. 

Examples using {{Cof family}}, {{Cof genus}}, {{Cof species}} and {{Cof record}} templates

Template usage Results
{{Cof family |Xiphiidae|access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the genus Xiphiidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Xiphiidae. 
{{Cof family |family=Xiphiidae |list=species |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the family Xiphiidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&family=Xiphiidae. 
{{Cof family |family=Cyprinidae |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Genera in the family Cyprinidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&family=Cyprinidae. 
{{Cof family |family=Salmonidae |list=genus |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Genera in the family Salmonidae". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&family=Salmonidae. 
{{Cof genus |Garra|access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the genus Garra". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Garra. 
{{Cof genus |genus=Vinagarra |access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species in the genus Vinagarra". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Vinagarra. 
{{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Vinagarra elongata". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Vinagarra&species=elongata. 
{{Cof species |Abbottina|rivularis|access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Abbottina rivularis". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Abbottina&species=rivularis. 
{{Cof species |Tylognathus|sinensis|access-date=7 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Species related to Tylognathus sinensis". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=species&genus=Tylognathus&species=sinensis. 
{{Cof record |genid=150 |title=Syngnathus |access-date=8 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Syngnathus". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?genid=150. 
{{Cof record |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "Syngnathus abaster". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=14756. 
{{Cof record |genid=150  |access-date=8 June 2018}} 
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "genid=150". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?genid=150. 
{{Cof record |spid=14756  |access-date=8 June 2018}}
Eschmeyer, William N.; Fricke, Ron; van der Laan, Richard, eds. "spid=14756". California Academy of Sciences. http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=14756. 

Using {{FishBase/sandbox}}

Template usage Results
Species with positional parameters]:
{{FishBase/sandbox|Danio|rerio|year=2018}} 
Template:FishBase/sandbox
Subspecies with position parameters:
{{FishBase/sandbox|Emmelichthys|nitidus|cyanescens}}  
Template:FishBase/sandbox
Species with named parameters:
{{FishBase/sandbox|genus=Danio|species=rerio}}  
Template:FishBase/sandbox
Subspecies with named parameters:
{{FishBase/sandbox|genus=Emmelichthys|species=nitidus|subspecies=cyanescens}} 
Template:FishBase/sandbox
Genus:
{{FishBase/sandbox|genus=Emmelichthys}}
Template:FishBase/sandbox
Family:
{{FishBase/sandbox|family=Percidae}}
Template:FishBase/sandbox
Order:
{{FishBase/sandbox|order=Perciformes|access-date=19 November 2018|mode=cs2}}
Template:FishBase/sandbox

Using {{BioRef}}

Fishbase:

Template usage Results
Species with positional parameters:
{{BioRef|fishbase|Danio|rerio}}
Froese, Rainer; Pauly, Daniel, eds. "Danio rerio". http://www.fishbase.org/summary/SpeciesSummary.php?genusname=Danio&speciesname=rerio. 
Subspecies with positional parameters:
{{BioRef|fishbase|Emmelichthys|nitidus|cyanescens}}
Froese, Rainer; Pauly, Daniel, eds. "Emmelichthys nitidus cyanescens". http://www.fishbase.org/summary/SpeciesSummary.php?genusname=Emmelichthys&speciesname=nitidus+cyanescens. 
Species with named parameters:
{{BioRef|fishbase|genus=Danio|species=rerio}}
Froese, Rainer; Pauly, Daniel, eds. "Danio rerio". http://www.fishbase.org/summary/SpeciesSummary.php?genusname=Danio&speciesname=rerio. 
Subspecies with named parameters:
{{BioRef|fishbase|genus=Emmelichthys|species=nitidus|subspecies=cyanescens}}
Froese, Rainer; Pauly, Daniel, eds. "Emmelichthys nitidus cyanescens". http://www.fishbase.org/summary/SpeciesSummary.php?genusname=Emmelichthys&speciesname=nitidus+cyanescens. 
Genus:
{{BioRef|fishbase|genus=Emmelichthys}}
Froese, Rainer; Pauly, Daniel, eds. "Species in genus Emmelichthys". http://www.fishbase.org/identification/SpeciesList.php?genus=Emmelichthys. 
Family:
{{BioRef|fishbase|family=Percidae}}
Froese, Rainer; Pauly, Daniel, eds. "Family Percidae". http://www.fishbase.org/Summary/FamilySummary.php?family=Percidae. 
Order:
{{BioRef|fishbase|order=Perciformes|access-date=19 November 2018|mode=cs2}}
Froese, Rainer; Pauly, Daniel, eds. "Order Perciformes". http://www.fishbase.org/Summary/OrdersSummary.php?order=Perciformes. 

<section begin=Herpetology /> <section begin=ASW6 /> Amphibian Species of the World (ASW6)

Template usage Results
Default page with family listing:
{{BioRef|ASW6 |access-date=27 September 2019}}
Frost, Darrel R.. "ASW Home". American Museum of Natural History, New York. http://research.amnh.org/herpetology/amphibia/index.html. 
Title + url:
{{BioRef|ASW6 |title=Hylidae Rafinesque, 1815|year=2019 |url=http://research.amnh.org/vz/herpetology/amphibia/Amphibia/Anura/Hylidae |access-date=27 September 2019}}
Frost, Darrel R. (2019). "Hylidae Rafinesque, 1815". American Museum of Natural History, New York. http://research.amnh.org/vz/herpetology/amphibia/Amphibia/Anura/Hylidae. 
Family (currently only works for Anura):
{{BioRef|ASW6 |family=Hylidae |year=2019  |access-date=27 September 2019}}
Frost, Darrel R. (2019). "Hylidae". American Museum of Natural History, New York. http://research.amnh.org/herpetology/amphibia/Amphibia/Anura/Hylidae. 
Genus + species (named parameters)::
{{BioRef|ASW6 |genus=Chiromantis |species=cherrapunjiae |year=2019  |access-date=27 September 2019}} 
Frost, Darrel R. (2019). "Search for taxon: Chiromantis cherrapunjiae". American Museum of Natural History, New York. http://research.amnh.org/herpetology/amphibia/content/search?taxon=%22Chiromantis+cherrapunjiae%22. 
Genus + species (positional parameters)::
{{BioRef|ASW6 | Chiromantis| cherrapunjiae |year=2019  |access-date=27 September 2019}}
Frost, Darrel R. (2019). "Search for taxon: Chiromantis cherrapunjiae". American Museum of Natural History, New York. http://research.amnh.org/herpetology/amphibia/content/search?taxon=%22Chiromantis+cherrapunjiae%22. 
Note: the citation title can changed with |title=My title

<section end=ASW6 /> <section begin=AmphibiaWeb /> AmphibiaWeb

Template usage Results
Default page with for interactive family listing:
{{BioRef|amphibiaweb |access-date=27 September 2019}}
"AmphibiaWeb Family Taxonomy". University of California, Berkeley. https://amphibiaweb.org/taxonomy/AW_FamilyPhylogeny.html. 
Title with url:
{{BioRef|amphibiaweb |title=Ranidae |year=2019 |url=https://amphibiaweb.org/lists/Ranidae.shtml |access-date=27 September 2019}}
"Ranidae". University of California, Berkeley. 2019. https://amphibiaweb.org/lists/Ranidae.shtml. 
Family:
{{BioRef|amphibiaweb |family=Ranidae |year=2019 |access-date=27 September 2019}} 
"Ranidae". University of California, Berkeley. 2019. https://amphibiaweb.org/lists/Ranidae.shtml. 
Genus + species (named parameters):
{{BioRef|amphibiaweb |genus=Altiphrynoides |species=malcolmi |year=2019 |access-date=27 September 2019}}
"Altiphrynoides malcolmi". University of California, Berkeley. 2019. https://amphibiaweb.org/cgi/amphib_query?rel-genus=equals&where-genus=Altiphrynoides&rel-species=equals&where-species=malcolmi. 
Genus + species (positional parameters):
{{BioRef|amphibiaweb | Altiphrynoides | malcolmi |year=2019 |access-date=27 September 2019}}
"Altiphrynoides malcolmi". University of California, Berkeley. 2019. https://amphibiaweb.org/cgi/amphib_query?rel-genus=equals&where-genus=Altiphrynoides&rel-species=equals&where-species=malcolmi. 
Note: the citation title can changed with |title=My title

<section end=AmphibiaWeb /> <section begin=reptileDB />

Reptile database:

Template usage Results
Species:
{{BioRef|reptileDB |genus=Loxocemus |species=bicolor|access-date=22 November 2018}}
Uetz, P.; Freed, P.; Hošek, J., eds. "Loxocemus bicolor". http://reptile-database.reptarium.cz/species?genus=Loxocemus&species=bicolor. 
Species (positional parameters) with title:
{{BioRef|reptileDB |Python |natalensis |title=''Python natalensis'' SMITH, 1840|access-date=14 October 2019}}
Uetz, P.; Freed, P.; Hošek, J., eds. "Python natalensis SMITH, 1840". http://reptile-database.reptarium.cz/species?genus=Python&species=natalensis. 
Genus:
{{BioRef|reptileDB |genus=Cylindrophis|access-date=22 November 2018}}
Uetz, P.; Freed, P.; Hošek, J., eds. "Cylindrophis". http://reptile-database.reptarium.cz/advanced_search?genus=Cylindrophis&exact%5B0%5D=taxon&submit=search. 
Use |taxon= parameter for higher taxa:
Family:
{{BioRef|reptileDB |taxon=Pythonidae|title=Species in Family Pythonidae|access-date=22 November 2018}}
Uetz, P.; Freed, P.; Hošek, J., eds. "Species in Family Pythonidae". http://reptile-database.reptarium.cz/advanced_search?taxon=Pythonidae&exact%5B0%5D=taxon&submit=search. 
Other taxon (e.g. infraorder):
{{BioRef|reptileDB |taxon=Alethinophidia|access-date=22 November 2018}}
Uetz, P.; Freed, P.; Hošek, J., eds. "Alethinophidia". http://reptile-database.reptarium.cz/advanced_search?taxon=Alethinophidia&exact%5B0%5D=taxon&submit=search. 

<section end=reptileDB /> <section end=Herpetology />

ASM Mammal Diversity Database

Template usage Results
Family using |taxon= parameter:
{{BioRef|asm |taxon=Felidae |access-date=19 November 2018 |mode=cs2}}
"Felidae". American Society of Mammalogists. https://mammaldiversity.org/#RmVsaWRhZSZnbG9iYWxfc2VhcmNoPXRydWUmbG9vc2U9ZmFsc2U=. 
Family using |family= parameter:
{{BioRef|asm |family=Canidae |access-date=19 November 2018 |mode=cs2}}
"Canidae". American Society of Mammalogists. https://mammaldiversity.org/#Q2FuaWRhZSZnbG9iYWxfc2VhcmNoPXRydWUmbG9vc2U9ZmFsc2U=. 
Genus using |genus= parameter:
{{BioRef|asm |genus=Ursus |access-date=19 November 2018}}
"Ursus". American Society of Mammalogists. https://mammaldiversity.org/#VXJzdXMmZ2xvYmFsX3NlYXJjaD10cnVlJmxvb3NlPWZhbHNl. 
Species using |id= parameter:
{{BioRef|asm |id=8541 |title=Sand cat|access-date=19 November 2018}}
"Sand cat". American Society of Mammalogists. https://mammaldiversity.org/species-account/species-id=8541. 
Species with |genus= and |species= parameters:
{{BioRef|asm |genus=Panthera|species=leo |access-date=19 November 2018}}
"Panthera leo". American Society of Mammalogists. https://mammaldiversity.org/species-account.php?genus=Panthera&species=leo. 

User:Jts1882/sandbox/template/asm