Difference between revisions of "Template:FishBase/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(test for addition cite web parameters)
imported>Jts1882
(change module to FishRef)
Line 8: Line 8:
 
*{{FishBase/sandbox|order=Perciformes|access-date=19 November 2018|mode=cs2}}
 
*{{FishBase/sandbox|order=Perciformes|access-date=19 November 2018|mode=cs2}}
  
</noinclude><includeonly>{{#invoke:Catalog of Fishes|fishbase|option={{#if:{{{subspecies|}}}|subspecies|{{#if:{{{species|}}}|species|{{#if:{{{genus|}}}|genus|{{#if:{{{family|}}}|family|{{#if:{{{order|}}}|order|No taxon parameter}} }} }} }} }} |{{{1|}}}|{{{2|}}}|{{{3|}}}}}</includeonly><noinclude>
+
</noinclude><includeonly>{{#invoke:FishRef|fishbase|option={{#if:{{{subspecies|}}}|subspecies|{{#if:{{{species|}}}|species|{{#if:{{{genus|}}}|genus|{{#if:{{{family|}}}|family|{{#if:{{{order|}}}|order|No taxon parameter}} }} }} }} }} |{{{1|}}}|{{{2|}}}|{{{3|}}}}}</includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 11:02, 20 November 2018

  1. REDIRECT Template:FishBase
  • Froese, Rainer; Pauly, Daniel, eds. (2018). "Species in genus Rerio". Fishbase. Unknown parameter |option= ignored (help) [with positional parameters]
  • Froese, Rainer; Pauly, Daniel (eds.). "Nitidus cyanescens". Fishbase. Unknown parameter |option= ignored (help) [subspecies with position parameters]
  • Froese, Rainer; Pauly, Daniel (eds.). "Danio rerio". Fishbase. Unknown parameter |option= ignored (help) [with named parameters]
  • Froese, Rainer; Pauly, Daniel (eds.). "Emmelichthys nitidus cyanescens". Fishbase. Unknown parameter |option= ignored (help) [subspecies with named parameters]
  • Froese, Rainer; Pauly, Daniel (eds.). "Species in genus Emmelichthys". Fishbase. Unknown parameter |option= ignored (help)
  • Froese, Rainer; Pauly, Daniel (eds.). "Family Percidae". Fishbase. Unknown parameter |option= ignored (help)
  • Froese, Rainer; Pauly, Daniel (eds.), "Order Perciformes", Fishbase, retrieved 19 November 2018 Unknown parameter |option= ignored (help)


50px Template documentation[view] [edit] [history] [purge]

Usage

When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.

All parameters, horizontal layout

{{FishBase |genus= |species= |id= |month= |year= }}

All parameters, vertical layout
{{FishBase
|genus=
|species=
|id=
|month=
|year=
}}

The usage of the parameters:

  • |genus= the genus name (e.g., Cepola)
  • |species= the species name (e.g., macrophthalma)
  • |id= (optional) the id number given for the article; this links straight to the FishBase article
  • |month= the month in which the article was accessed, which gives the version of FishBase
  • |year= similarly, the year

See also

Citation templates:

External link templates:

The equivalent for SeaLifeBase, a database of marine species other than fish:

On other projects: