• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.217.103
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:LepIndex

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
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 template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
Wikidata-logo-with-magnifying-glass-icon.svg This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
This template uses Lua:
  • Module:EditAtWikidata
  • Module:WikidataCheck

Contents

  • 1 Usage
    • 1.1 No parameters
    • 1.2 With parameters
  • 2 Tracking categories
  • 3 TemplateData

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 (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 for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for LepIndex

Taxonid as given on the LepIndex website url

Template parameters

ParameterDescriptionTypeStatus
idid

The taxonid according to the LepIndex website

Unknownoptional
namename

The scientific name to display

Unknownoptional
downloadeddownloaded

no description

Unknownoptional
accessdateaccessdate

Date on which the website was consulted

Example
25 April 2018 or April 25, 2018
Dateoptional
access-dateaccess-date

Date on which the website was consulted

Example
25 April 2018 or April 25, 2018
Dateoptional
archiveurlarchiveurl

no description

Unknownoptional
archive-urlarchive-url

no description

Unknownoptional
archivedatearchivedate

no description

Unknownoptional
archive-datearchive-date

no description

Unknownoptional
modemode

no description

Unknownoptional
refref

no description

Unknownoptional
The above documentation is transcluded from Template:LepIndex/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:LepIndex&oldid=22767"
Categories:
  • Pages with script errors
  • Templates that wrap Cite web
  • Templates using data from Wikidata
  • Templates tracking Wikidata
  • Lua-based templates
  • Templates using TemplateData
  • Biology external link templates
  • External link templates using Wikidata
  • Templates that add a tracking category
Last edited on 16 August 2019, at 01:26

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 16 August 2019, at 01:26.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop