![]() | This template is used on approximately 12,000 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 is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
This template uses the Wikidata property:
LepIndex ID (P3064) (see uses)
![]() | This template uses Lua: |
Usage
No parameters
Use:
{{LepIndex}}
- and the template will pull the ID from Wikidata (if present there) and extract the link text from the page name, less any text in parenthesis.
With parameters
Use:
|id=
- Optional - not required if the LepIndex ID associated with the page on Wikidata is the same as that used by LepIndex
- Example
{{LepIndex |id=31468}}
gives- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "LepIndex". The Global Lepidoptera Names Index. Natural History Museum.
Use:
|name=
- Optional - not required if the page name is the same as the "Current Comb:" at LepIndex
- Example
{{LepIndex |id=31468 |name=Dasysphinx rubrilatera}}
gives- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "Dasysphinx rubrilatera". The Global Lepidoptera Names Index. Natural History Museum.
- Example
{{LepIndex |id=36290 |name=Asura mimetica'' ssp. ''flagrans}}
prevents the text "ssp." from being in italics.
Use:
|accessdate=
- Optional
- Example
{{LepIndex |id=36289 |accessdate=April 26, 2018}}
, on the page Asura mimetica, gives- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "Asura mimetica". The Global Lepidoptera Names Index. Natural History Museum. Retrieved April 26, 2018.
Tracking categories
- Category:LepIndex ID not in Wikidata (15)
- Category:LepIndex ID different from Wikidata (556)
- Category:LepIndex ID same as Wikidata (11,602)
- Category:LepIndex template with no id set (exists in template, not created)
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:LepIndex in articles based on its TemplateData.
TemplateData for LepIndex
Taxonid as given on the LepIndex website url
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | The taxonid according to the LepIndex website | Unknown | optional |
name | name | The scientific name to display | Unknown | optional |
downloaded | downloaded | no description | Unknown | optional |
accessdate | accessdate | Date on which the website was consulted
| Date | optional |
access-date | access-date | Date on which the website was consulted
| Date | optional |
archiveurl | archiveurl | no description | Unknown | optional |
archive-url | archive-url | no description | Unknown | optional |
archivedate | archivedate | no description | Unknown | optional |
archive-date | archive-date | no description | Unknown | optional |
mode | mode | no description | Unknown | optional |
ref | ref | no description | Unknown | optional |