Difference between revisions of "Module:FishRef/doc"
blackwiki>Jts1882 m (syntax →{{tl|BioRef}}) |
blackwiki>Jts1882 (tabulate examples in →{{tl|Catalog of Fishes}}) |
||
| Line 11: | Line 11: | ||
==Examples of templates using the [[Module:FishRef]]== | ==Examples of templates using the [[Module:FishRef]]== | ||
| − | ==={{tl|Catalog of Fishes}}=== | + | ===Catalog of Fishes=== |
| + | '''Examples using {{tl|Catalog of Fishes}}''' | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Template usage !! Results | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |family=Xiphiidae |list=species |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |family=Xiphiidae |list=species |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |family=Cyprinidae |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |family=Cyprinidae |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |family=Salmonidae |list=genus |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |family=Salmonidae |list=genus |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genus=Vinagarra |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |genus=Vinagarra |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genus=Vinagarra |species=elongata |access-date=7 June 2018}} </pre> | ||
| + | | {{Catalog of Fishes |genus=Vinagarra |species=elongata |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genus=Abbottina |species=rivularis |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |genus=Abbottina |species=rivularis |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genus=Tylognathus |species=sinensis |access-date=7 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |genus=Tylognathus |species=sinensis |access-date=7 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genid=150 |access-date=8 June 2018}} </pre> | ||
| + | | {{Catalog of Fishes |genid=150 |access-date=8 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |genid=150 |title=Syngnathus |access-date=8 June 2018}} </pre> | ||
| + | | {{Catalog of Fishes |genid=150 |title=Syngnathus |access-date=8 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes|spid=14756 |access-date=8 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |spid=14756 |access-date=8 June 2018}} | ||
| + | |- | ||
| + | |<pre>{{Catalog of Fishes |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}</pre> | ||
| + | | {{Catalog of Fishes |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}} | ||
| + | |} | ||
| − | + | '''Examples using {{tl|Cof family}}, {{tl|Cof genus}}, {{tl|Cof species}} and {{tl|Cof record}} templates''' | |
| − | |||
| − | {{ | ||
| − | {{ | ||
| − | {{ | ||
| − | { | + | {| class="wikitable" |
| − | + | |- | |
| − | + | ! Template usage !! Results | |
| − | {{ | + | |- |
| − | {{ | + | |<pre>{{Cof family |Xiphiidae|7 June 2018}}</pre> |
| − | + | | {{Cof family |Xiphiidae|7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof family |family=Xiphiidae |list=species |access-date=7 June 2018}}</pre> | |
| − | + | | {{Cof family |family=Xiphiidae |list=species |access-date=7 June 2018}} | |
| − | + | |- | |
| − | {{ | + | |<pre>{{Cof family |family=Cyprinidae |access-date=7 June 2018}}</pre> |
| − | </pre> | + | | {{Cof family |family=Cyprinidae |access-date=7 June 2018}} |
| − | + | |- | |
| − | + | |<pre>{{Cof family |family=Salmonidae |list=genus |access-date=7 June 2018}}</pre> | |
| − | + | | {{Cof family |family=Salmonidae |list=genus |access-date=7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof genus |Garra|7 June 2018}}</pre> | |
| − | + | | {{Cof genus |Garra|7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof genus |genus=Vinagarra |access-date=7 June 2018}}</pre> | |
| − | + | | {{Cof genus |genus=Vinagarra |access-date=7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}} </pre> | |
| − | + | | {{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof species |Abbottina|rivularis|7 June 2018}}</pre> | |
| − | + | | {{Cof species |Abbottina|rivularis|7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof species |Tylognathus|sinensis|7 June 2018}}</pre> | |
| − | + | | {{Cof species |Tylognathus|sinensis|7 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof record |genid=150 |title=Syngnathus |access-date=8 June 2018}} </pre> | |
| − | + | | {{Cof record |genid=150 |title=Syngnathus |access-date=8 June 2018}} | |
| − | + | |- | |
| − | + | |<pre>{{Cof record |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}</pre> | |
| − | + | | {{Cof record |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}} | |
| − | <pre> | + | |- |
| − | {{Cof | + | |<pre>{{Cof record |genid=150 |access-date=8 June 2018}} </pre> |
| − | + | | {{Cof record |genid=150 |access-date=8 June 2018}} | |
| − | {{Cof | + | |- |
| − | {{Cof | + | |<pre>{{Cof record |spid=14756 |access-date=8 June 2018}}</pre> |
| − | + | | {{Cof record |spid=14756 |access-date=8 June 2018}} | |
| − | + | |} | |
| − | {{Cof | ||
| − | |||
| − | {{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}} | ||
| − | {{Cof species |Abbottina|rivularis|7 June 2018}} | ||
| − | {{Cof species | | ||
| − | |||
| − | {{Cof | ||
| − | {{Cof | ||
| − | |||
| − | {{Cof record |genid=150 | ||
| − | |||
| − | </pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=== {{tl|FishBase/sandbox}} === | === {{tl|FishBase/sandbox}} === | ||
Revision as of 15:39, 22 January 2019
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 the 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.
Contents
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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. |
{{Catalog of Fishes |genid=150 |access-date=8 June 2018}}
|
Eschmeyer, William N.; Fricke, Ron & van der Laan, Richard (eds.). "genid=150". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. |
{{Catalog of Fishes |genid=150 |title=Syngnathus |access-date=8 June 2018}}
|
Eschmeyer, William N.; Fricke, Ron & van der Laan, Richard (eds.). "Syngnathus". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. |
{{Catalog of Fishes|spid=14756 |access-date=8 June 2018}}
|
Eschmeyer, William N.; Fricke, Ron & van der Laan, Richard (eds.). "spid=14756". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. |
{{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". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. |
Examples using {{Cof family}}, {{Cof genus}}, {{Cof species}} and {{Cof record}} templates
| Template usage | Results |
|---|---|
{{Cof family |Xiphiidae|7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Xiphiidae genera". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof family |family=Xiphiidae |list=species |access-date=7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Xiphiidae species". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof family |family=Cyprinidae |access-date=7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Cyprinidae genera". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof family |family=Salmonidae |list=genus |access-date=7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Salmonidae genera". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof genus |Garra|7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Garra species". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof genus |genus=Vinagarra |access-date=7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Vinagarra species". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Vinagarra elongata synonyms". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof species |Abbottina|rivularis|7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Abbottina rivularis synonyms". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof species |Tylognathus|sinensis|7 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Tylognathus sinensis synonyms". Catalog of Fishes. California Academy of Sciences. Retrieved 7 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof record |genid=150 |title=Syngnathus |access-date=8 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Syngnathus". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof record |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "Syngnathus abaster". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof record |genid=150 |access-date=8 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "genid=150". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{Cof record |spid=14756 |access-date=8 June 2018}}
|
Eschmeyer, W. N.; R. Fricke; R. van der Laan (eds.). "spid=14756". Catalog of Fishes. California Academy of Sciences. Retrieved 8 June 2018. Unknown parameter |name-list-style= ignored (help)
|
{{FishBase/sandbox}}
- Froese, Rainer; Pauly, Daniel, eds. (2018). "Species in genus Rerio". Fishbase. [with positional parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Nitidus cyanescens". Fishbase. [subspecies with position parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Danio rerio". Fishbase. [with named parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Emmelichthys nitidus cyanescens". Fishbase. [subspecies with named parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Species in genus Emmelichthys". Fishbase.
- Froese, Rainer; Pauly, Daniel (eds.). "Family Percidae". Fishbase.
- Froese, Rainer; Pauly, Daniel (eds.), "Order Perciformes", Fishbase, retrieved 19 November 2018
{{BioRef}}
Fishbase:
- Froese, Rainer; Pauly, Daniel (eds.). "Danio rerio". Fishbase. [with named parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Emmelichthys nitidus cyanescens". Fishbase. [subspecies with named parameters]
- Froese, Rainer; Pauly, Daniel (eds.). "Species in genus Emmelichthys". Fishbase.
- Froese, Rainer; Pauly, Daniel (eds.). "Family Percidae". Fishbase.
- Froese, Rainer; Pauly, Daniel (eds.), "Order Perciformes", Fishbase, retrieved 19 November 2018
Reptile database:
- Uetz, P.; Freed, P.; Hošek, J. (eds.). "Loxocemus bicolor". The Reptile Database. Retrieved 22 November 2018.
- Uetz, P.; Freed, P.; Hošek, J. (eds.). "Cylindrophis". The Reptile Database. Retrieved 22 November 2018.
- Use
|taxon=for higher taxa- Uetz, P.; Freed, P.; Hošek, J. (eds.). "Species in Family Pythonidae". The Reptile Database. Retrieved 22 November 2018.
- Uetz, P.; Freed, P.; Hošek, J. (eds.). "Alethinophidia". The Reptile Database. Retrieved 22 November 2018.
ASM Mammal Diversity Database
- "Felidae", ASM Mammal Diversity Database, American Society of Mammalogists, retrieved 19 November 2018
- "Canidae", ASM Mammal Diversity Database, American Society of Mammalogists, retrieved 19 November 2018
- "Ursus". ASM Mammal Diversity Database. American Society of Mammalogists. Retrieved 19 November 2018.
- "Sand cat". ASM Mammal Diversity Database. American Society of Mammalogists. Retrieved 19 November 2018.
- "Panthera leo". ASM Mammal Diversity Database. American Society of Mammalogists. Retrieved 19 November 2018.