Template:SealifePhotos/doc
From HandWiki
< Template:SealifePhotos
Revision as of 14:00, 4 November 2020 by imported>Jworkorg (1 revision imported)
This is a documentation subpage for Template:SealifePhotos It may contain usage information, categories and other content that is not part of the original template page. |
This is a template to generate links to SealifeCollection.org, a database of sea life photos.
Instructions
- Search on Sealife Collection for the species of sea life you want.
- When you find the desired page, the page URL should look like https://sealifecollection.org/taxon/######, where "######" indicates a number.
- Copy only that number.
- Add to the external links section the text:
- {{sealifephotos|######|name}}
- where "######" is the number you've copied, and "name" is the optional name of the link (if omitted, the page name will be used).
Example
- On the page Halocynthia papillosa, search for "Halocynthia papillosa". The taxon ID in the result is 103827.
- Copy "103827" and then insert it in the {{SealifePhotos}} template, including this number as a parameter:
- {{SealifePhotos|103827}}
- The result on the page Halocynthia papillosa is:
- Photos of Halocynthia papillosa on Sealife Collection
- Alternately, use the 'name' parameter to change the default name. Then {{SealifePhotos|103827|red sea-squirt}} would render as:
- Photos of red sea-squirt on Sealife Collection
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.