Template:LepIndex/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:LepIndex. It contains usage information, categories and other content that is not part of the original template page. |
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. |
Template:Uses Wikidata Template:Tracks Wikidata
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). "[[:Template:PAGENAMEBASE]]". The Global Lepidoptera Names Index. Natural History Museum. URL–wikilink conflict (help)Script error: No such module "EditAtWikidata". Template:WikidataCheck
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.Script error: No such module "EditAtWikidata". Template:WikidataCheck
- 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.Script error: No such module "EditAtWikidata". Template:WikidataCheck
Tracking categories
- Category:LepIndex ID not in Wikidata (0)
- Category:LepIndex ID different from Wikidata (0)
- Category:LepIndex ID same as Wikidata (0)
- Category:LepIndex template with no id set (exists in template, not created)
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
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 |