Template:Encyclopedia of Life link/sandbox
Appearance
"{{{name}}}". The Encyclopedia of Life.
This is the template sandbox page for Template:Encyclopedia of Life link (diff). See also the companion subpage for test cases. |
This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses the Wikidata property:
This template uses Lua: |
Usage
[edit]- Search on eol.org for the subject you want.
- Click on the correct link to go to the subject's page.
- The page URL should look like
https://www.eol.org/pages/#######
, where "#######" indicates a number. - Copy ONLY that number
- Add that number to the corresponding Wikidata item, using Encyclopedia of Life ID (P830).
- Add to the external links section the text:
* {{EOL}}
Alternatively:
Add to the external links section the text:
* {{EOL|id|label}}
- where "id" is the number you've copied, and "label" is the full title of the EOL article, for example: Pogonomyrmex anergismus
Example
[edit]- Search for Nicrophorus americanus on eol.org. You'll get to this page: https://www.eol.org/pages/1044544
- Copy "1044544" and add this number as the first parameter, then copy "Nicrophorus americanus" and add it as the second parameter:
{{EOL|1044544|''Nicrophorus americanus''}}
The result on the page Nicrophorus americanus is:
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front:
* {{EOL|1044544|''Nicrophorus americanus''}}
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Encyclopedia of Life link in articles based on its TemplateData.
TemplateData for Encyclopedia of Life link
Quickly link to resources on EOL.org
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page ID number | 1 id | The page number found in the URL https://www.eol.org/pages/<number>/
| Number | optional |
Page name/title | 2 name | The title of the EOL webpage
| String | optional |