Difference between revisions of "Template:EOL/doc"
Jump to navigation
Jump to search
imported>Mellis |
imported>Pigsonthewing (Use Wikidata) |
||
| Line 7: | Line 7: | ||
# The page [[URL]] should look like <nowiki>http://www.eol.org/pages/#######</nowiki>, where "#######" indicates a number. | # The page [[URL]] should look like <nowiki>http://www.eol.org/pages/#######</nowiki>, where "#######" indicates a number. | ||
# Copy ONLY that number | # Copy ONLY that number | ||
| + | # Add thet number to the corresponding Wikidata item, using {{Wikidata entitty|P830}}. | ||
# Add to the external links section the text: | # Add to the external links section the text: | ||
| + | :<nowiki>* {{EOL}}</nowiki> | ||
| + | |||
| + | Alternatively: | ||
| + | |||
| + | Add to the external links section the text: | ||
:<nowiki>* {{EOL|#######|label}}</nowiki> | :<nowiki>* {{EOL|#######|label}}</nowiki> | ||
:where "#######" is the number you've copied, and "label" is the full title of the EOL article, for example: ''Pogonomyrmex anergismus'' | :where "#######" is the number you've copied, and "label" is the full title of the EOL article, for example: ''Pogonomyrmex anergismus'' | ||
| Line 29: | Line 35: | ||
"type": "number", | "type": "number", | ||
"default": "", | "default": "", | ||
| − | "required": | + | "required": false}, |
"2": { | "2": { | ||
"label": "Page title", | "label": "Page title", | ||
Revision as of 20:23, 3 August 2016
| This is a documentation subpage for Template:EOL. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- 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 http://www.eol.org/pages/#######, where "#######" indicates a number.
- Copy ONLY that number
- Add thet number to the corresponding Wikidata item, using Template:Wikidata entitty.
- Add to the external links section the text:
- * {{EOL}}
Alternatively:
Add to the external links section the text:
- * {{EOL|#######|label}}
- where "#######" is the number you've copied, and "label" is the full title of the EOL article, for example: Pogonomyrmex anergismus
Example
- Search for Nicrophorus americanus on eol.org. You'll get to this page: http://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:
- "Nicrophorus americanus" at the Encyclopedia of LifeScript error: No such module "EditAtWikidata".Template:WikidataCheck
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.
Quickly link to resources on EOL.org
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page number | 1 | The page number found in the URL http://www.eol.org/pages/<number>/
| Number | optional |
| Page title | 2 | The title of the EOL webpage
| String | optional |