Difference between revisions of "Template:FishBase/sandbox"
Jump to navigation
Jump to search
imported>Jts1882 (handle subspecies as third parameter) |
imported>Jts1882 (handle subspecies parameter) |
||
| Line 2: | Line 2: | ||
*{{FishBase/sandbox|Danio|rerio|year=2018}} | *{{FishBase/sandbox|Danio|rerio|year=2018}} | ||
*{{FishBase/sandbox|Emmelichthys|nitidus|cyanescens}} | *{{FishBase/sandbox|Emmelichthys|nitidus|cyanescens}} | ||
| + | *{{FishBase/sandbox|genus=Danio|species=rerio}} | ||
| + | *{{FishBase/sandbox|genus=Emmelichthys|species=nitidus|subspecies=cyanescens}} | ||
</noinclude><includeonly>{{cite web | </noinclude><includeonly>{{cite web | ||
|editor1-last=Froese |editor1-first=Rainer |editor2-last=Pauly |editor2-first=Daniel | |editor1-last=Froese |editor1-first=Rainer |editor2-last=Pauly |editor2-first=Daniel | ||
|year={{{year|2006}}} | |year={{{year|2006}}} | ||
|url=http://www.fishbase.org/Summary/SpeciesSummary.php?{{#if: {{{id|}}} |id={{{id}}} | |url=http://www.fishbase.org/Summary/SpeciesSummary.php?{{#if: {{{id|}}} |id={{{id}}} | ||
| − | |genusname={{{genus|{{{1}}}}}}&speciesname={{{species|{{{2}}}}}}{{#if:{{{3|}}}|+{{{3}}}|}} | + | |genusname={{{genus|{{{1}}}}}}&speciesname={{{species|{{{2}}}}}}{{#if:{{{subspecies|{{{3|}}}}}}|+{{{subspecies|{{{3}}}}}}|}} |
}} | }} | ||
| − | |title=''{{{genus|{{{1}}}}}} {{{species|{{{2}}}}}}{{#if:{{{3|}}}| {{{3}}}|}}'' | + | |title=''{{{genus|{{{1}}}}}} {{{species|{{{2}}}}}}{{#if:{{{subspecies|{{{3|}}}}}}| {{{subspecies|{{{3}}}}}}|}}'' |
|website=[[FishBase]] |version={{{month|April}}} {{{year|2006}}} version. | |website=[[FishBase]] |version={{{month|April}}} {{{year|2006}}} version. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 08:20, 11 November 2018
- REDIRECT Template:FishBase
- Froese, Rainer; Pauly, Daniel, eds. (2018). "Danio rerio". FishBase. April 2018 version.
- Froese, Rainer; Pauly, Daniel, eds. (2006). "Emmelichthys nitidus cyanescens". FishBase. April 2006 version.
- Froese, Rainer; Pauly, Daniel, eds. (2006). "Danio rerio". FishBase. April 2006 version.
- Froese, Rainer; Pauly, Daniel, eds. (2006). "Emmelichthys nitidus cyanescens". FishBase. April 2006 version.
| This is the template sandbox page for Template:FishBase. See also the companion subpage for test cases. |
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:
- {{FishBase genus}}
- {{FishBase family}}
- {{FishBase order}}
- {{FishBase subspecies}}
- {{FishBase species alt}}
External link templates:
The equivalent for SeaLifeBase, a database of marine species other than fish:
On other projects:
| The above documentation is transcluded from Template:FishBase/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |