Template:ARKive/doc
This is a documentation subpage for Template:ARKive. It contains usage information, categories and other content that is not part of the original template page. |
ARKive is a template to generate links to the ARKive website. The ARKive website contains information, pictures, and video of threatened species.
Instructions
- Go to ARKive and search for the species to display.
- Click on the species link.
- The page URL should look like
http://www.arkive.org/^common-name^/^scientific-name^/
- The ^common name^ section of the URL is the first parameter.
- The ^scientific name^ section of the URL is the second parameter.
- The third parameter is optional. If it is entered, the value will be used as the name of the link. If it is not entered, the article name will be used.
- Add the following to the Other websites section:
{{ARKive|^common-name^|^scientific-name^|optional name}}
Note: Do not copy the forward slashes (/).
There is one optional named parameter, short. Adding short=yes
will change the output of the template. Only the first line, linking to the ARKive main page will be displayed. The second line with the section links (Facts, Status, etc.) will not be displayed.
Example
The following examples will include a link for the Komodo dragon.
The URL for the Komodo dragon is http://www.arkive.org/komodo-dragon/varanus-komodoensis/
Using article name
The template {{ARKive|komodo-dragon|varanus-komodoensis}} will display:
ARKive/doc from ARKive
Facts Status Description Range Habitat Biology Threats Conservation Find out more Glossary References View all
Note: Although the name of the link is ARKive/doc, clicking it will display the Komodo dragon page at ARKive.
Using parameter name
The template {{ARKive|komodo-dragon|varanus-komodoensis|Komodo dragon}} will display:
Komodo dragon from ARKive
Facts Status Description Range Habitat Biology Threats Conservation Find out more Glossary References View all
Using the short option
The template {{ARKive|komodo-dragon|varanus-komodoensis|Komodo dragon|short=yes}} will display:
Komodo dragon from ARKive