Template:Encyclopedia of Life link/doc
(Redirected from Template:Eol/doc)
This is a documentation subpage for Template:Encyclopedia of Life link. It may contain usage information, categories and other content that is not part of the original template page. |
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
editThis 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 |
Tracking categories
edit- Category:Encyclopedia of Life ID not in Wikidata (474)
- Category:Encyclopedia of Life ID different from Wikidata (90)
- Category:Encyclopedia of Life ID same as Wikidata (887)
- Category:EOL template missing ID (5)