Difference between revisions of "Template:FishBase/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(handle subspecies as third parameter)
imported>Jts1882
(remove option parameter and handle in module)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>*{{Fishbase|Danio|rerio}}
+
<noinclude>*{{Fishbase|Danio|rerio}}  
*{{FishBase/sandbox|Danio|rerio|year=2018}}
+
*{{FishBase/sandbox|Danio|rerio|year=2018}} [with positional parameters]
*{{FishBase/sandbox|Emmelichthys|nitidus|cyanescens}}
+
*{{FishBase/sandbox|Emmelichthys|nitidus|cyanescens}} [subspecies with position parameters]
</noinclude><includeonly>{{cite web
+
*{{FishBase/sandbox|genus=Danio|species=rerio}}  [with named parameters]
|editor1-last=Froese |editor1-first=Rainer |editor2-last=Pauly |editor2-first=Daniel
+
*{{FishBase/sandbox|genus=Emmelichthys|species=nitidus|subspecies=cyanescens}} [subspecies with named parameters]
|year={{{year|2006}}}
+
*{{FishBase/sandbox|genus=Emmelichthys}}
|url=http://www.fishbase.org/Summary/SpeciesSummary.php?{{#if: {{{id|}}} |id={{{id}}}  
+
*{{FishBase/sandbox|family=Percidae}}
|genusname={{{genus|{{{1}}}}}}&speciesname={{{species|{{{2}}}}}}{{#if:{{{3|}}}|+{{{3}}}|}}  
+
*{{FishBase/sandbox|order=Perciformes|access-date=19 November 2018|mode=cs2}}
}}
+
 
|title=''{{{genus|{{{1}}}}}} {{{species|{{{2}}}}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}|}}''
+
</noinclude><includeonly>{{#invoke:FishRef|fishbase|{{{1|}}}|{{{2|}}}|{{{3|}}}}}</includeonly><noinclude>
|website=[[FishBase]] |version={{{month|April}}} {{{year|2006}}} version.
 
}}</includeonly><noinclude>
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 15:30, 22 November 2018

  1. REDIRECT Template:FishBase
  • 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


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: