Difference between revisions of "Template:FishBase/sandbox"
Jump to navigation
Jump to search
imported>Jts1882 (edit for module) |
imported>Jts1882 (update) |
||
| Line 8: | Line 8: | ||
*{{FishBase/sandbox|order=Perciformes}} | *{{FishBase/sandbox|order=Perciformes}} | ||
| − | </noinclude><includeonly>{{#invoke:Catalog of Fishes|fishbase|option= | + | </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> |
| − | {{#if:{{{subspecies|}}}|subspecies|{{#if:{{{species|}}}|species|{{#if:{{{genus|}}}|genus|{{#if:{{{family|}}}|family|{{#if:{{{order|}}}|order|No taxon parameter}} }} }} }} }} }}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 13:14, 19 November 2018
- REDIRECT Template:FishBase
- Script error: No such module "Catalog of Fishes". [with positional parameters]
- Script error: No such module "Catalog of Fishes". [subspecies with position parameters]
- Script error: No such module "Catalog of Fishes". [with named parameters]
- Script error: No such module "Catalog of Fishes". [subspecies with named parameters]
- Script error: No such module "Catalog of Fishes".
- Script error: No such module "Catalog of Fishes".
- Script error: No such module "Catalog of Fishes".
| 50px | 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. |