Teamplaid:LepIndex
Coltas
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. |
This teamplaid uses the Wikidata property:
|
This template tracks the Wikidata property:
|
Uses Lua: |
Usage
[deasaich]No parameters
[deasaich]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
[deasaich]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). = 31468 "LepIndex" Check
|url=
value (help). The Global Lepidoptera Names Index. Natural History Museum.
- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). = 31468 "LepIndex" Check
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). = 31468 "Dasysphinx rubrilatera" Check
|url=
value (help). The Global Lepidoptera Names Index. Natural History Museum.
- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). = 31468 "Dasysphinx rubrilatera" Check
- 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). = 36289 "Asura mimetica" Check
|url=
value (help). The Global Lepidoptera Names Index. Natural History Museum. Retrieved April 26, 2018.
- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). = 36289 "Asura mimetica" Check
Tracking categories
[deasaich]- Roinn-seòrsa:LepIndex ID not in Wikidata (0)
- Roinn-seòrsa:LepIndex ID different from Wikidata (0)
- Roinn-seòrsa:LepIndex ID same as Wikidata (0)
- Roinn-seòrsa:LepIndex template with no id set (exists in template, not created)
TemplateData
[deasaich]This is the WP:TemplateData documentation for this template used by WP:VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for LepIndex
Taxonid as given on the LepIndex website url
Paramadair | Tuairisgeul | Seòrsa | Staid | |
---|---|---|---|---|
id | id | The taxonid according to the LepIndex website | Chan eil fhios | roghainneil |
name | name | The scientific name to display | Chan eil fhios | roghainneil |
downloaded | downloaded | gun tuairisgeul | Chan eil fhios | roghainneil |
accessdate | accessdate | Date on which the website was consulted
| Ceann-là | roghainneil |
access-date | access-date | Date on which the website was consulted
| Ceann-là | roghainneil |
archiveurl | archiveurl | gun tuairisgeul | Chan eil fhios | roghainneil |
archive-url | archive-url | gun tuairisgeul | Chan eil fhios | roghainneil |
archivedate | archivedate | gun tuairisgeul | Chan eil fhios | roghainneil |
archive-date | archive-date | gun tuairisgeul | Chan eil fhios | roghainneil |
mode | mode | gun tuairisgeul | Chan eil fhios | roghainneil |
ref | ref | gun tuairisgeul | Chan eil fhios | roghainneil |
The above documentation is transcluded from Teamplaid:LepIndex/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |
Roinnean-seòrsa:
- Templates that wrap Cite web
- Templates using data from Wikidata
- Templates tracking Wikidata
- Lua-based templates
- Pages with URL errors
- Templates using TemplateData
- Biology external link templates
- Biology source templates
- External link templates using Wikidata
- Iomraidhean
- Specific-source templates
- Teamplaidean sa Bheurla
- Templates that add a tracking category