Difference between revisions of "Template:EOL/doc"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 5 interwiki links, now provided by Wikidata on d:Q8084630)
imported>HectorAE
(add TemplateData)
Line 20: Line 20:
 
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.
 
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.
  
 +
<templatedata>
 +
{
 +
"description": "Quickly link to resources on EOL.org",
 +
"params": {
 +
    "1": {
 +
"label": "Page number",
 +
"description": "The page number found in the URL http://www.eol.org/pages/<number>/",
 +
"type": "number",
 +
"default": "",
 +
"required": true},
 +
    "2": {
 +
"label": "Page title",
 +
"description": "The title of the EOL webpage",
 +
"type": "string",
 +
"default": "{{PAGENAME}}",
 +
"required": false}
 +
}
 +
}
 +
</templatedata>
  
 
<includeonly>
 
<includeonly>
 
 
[[Category:Encyclopedia external link templates]]
 
[[Category:Encyclopedia external link templates]]
 
[[Category:Biology external link templates]]
 
[[Category:Biology external link templates]]
</includeonly>
 
  
<includeonly>
 
 
[[or:ଛାଞ୍ଚ:EOL]]
 
[[or:ଛାଞ୍ଚ:EOL]]
 
</includeonly>
 
</includeonly>

Revision as of 00:01, 3 January 2014

Usage

  1. Search on eol.org for the subject you want.
  2. Click on the correct link to go to the subject's page.
  3. The page URL should look like http://www.eol.org/pages/#######, where "#######" indicates a number.
  4. Copy ONLY that number
  5. 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

  1. Search for Nicrophorus americanus on eol.org. You'll get to this page: http://www.eol.org/pages/1044544
  2. 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

Template parameters

ParameterDescriptionTypeStatus
Page number1

The page number found in the URL http://www.eol.org/pages/<number>/

Default
Numberrequired
Page title2

The title of the EOL webpage

Default
{{PAGENAME}}
Stringoptional