Jump to content

Module:Cite taxon/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jts1882 (talk | contribs) at 15:55, 11 June 2018 (create explanation of what the module will produce with examples). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This module is to create {{cite web}} references to the Catalog of Fishes database. The output is a reference with a link to the results of the particular search that is being referenced.

The module will be used to replace a series of templates that were originally written in the Wikipedia template language: {{Cof genus}}, {{Cof family}}, {{Cof species}}, {{Cof record}}.

Use the templates as follows:

*{{Cof genus |Garra|7 June 2018}}
*{{Cof genus |genus=Vinagarra |access-date=7 June 2018}}
*{{Cof family |Xiphiidae|7 June 2018}}
*{{Cof family |family=Xiphiidae |list=species |access-date=7 June 2018}}
*{{Cof family |family=Cyprinidae |access-date=7 June 2018}}
*{{Cof family |family=Cyprinidae |list=genus |access-date=7 June 2018}}
*{{Cof species |genus=Vinagarra |species=elongata|access-date=7 June 2018}} 
*{{Cof species |Abbottina|rivularis|7 June 2018}}
*{{Cof species |Tylognathus|sinensis|7 June 2018}}

Results:

{{Cof record |genid=150 |title=Syngnathus |access-date=8 June 2018}} 
{{Cof record |spid=14756 |title=Syngnathus abaster |access-date=8 June 2018}}
{{Cof record |genid=150  |access-date=8 June 2018}} 
{{Cof record |spid=14756  |access-date=8 June 2018}}

Results: