Jump to content

Template:Systema Dipterorum Nomenclator/doc

From Wikispecies

Usage

[edit]

Standard usage:

{{Systema Dipterorum Nomenclator|45611|46640|2025-03-30|taxon=''Eristalis stipator''|author=Osten Sacken|year=1877|page=336}}


Anonymous arguments:

  1. Record ID. ID of the record/page, as given in the URL. For example, the record ID for the Eristalis stipator record, .../Nomenclator/Details/45611, is 45611.
  2. Record number. "Record #" as given on the page at the bottom. For example, the record number for the Eristalis stipator record is 46640.
  3. Access date. May be provided in any form understood by {{#time}}. It's best to provide the date in yyyy-mm-dd format, e.g. 2025-03-30 (ISO 8601).

This template now fetches information from the Systema Dipterorum (Q133827950) Wikidata item, filling in the appropriate version and "last updated" date based on the provided access date. This may cause a slight issue if the access date is the same as the "last updated" date for some version (that is, it shows the previous version, not the current version you might expect); if you come across this, manually provide the version and "last updated" date as arguments, detailed below.

If the version number is for a version that is not the current release of Systema Dipterorum (according to Wikidata), the "Record ID" will be ignored and it will link to a search based on the parameters such as the taxon name, author, and year, instead of linking directly to the record (as such a link for an outdated version would not necessarily lead to the same record in the current version).

Variants

[edit]

Recombination


No access date


No taxon author, year, or page


No taxon provided—use page name (also means taxon author, year, and page cannot be used)


Override version and date updated for Systema Dipterorum


No access date and no record number


Demonstration of fetching version information from Wikidata


Minor edge case with fetching version information... (should be version 6.0, last updated 3 January 2025)


Fix for the above


TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Systema Dipterorum Nomenclator in articles based on its TemplateData.

TemplateData for Systema Dipterorum Nomenclator

Generates a citation for a Nomenclator Detail Record from Systema Dipterorum, http://www.diptera.org/.

Template parameters

ParameterDescriptionTypeStatus
record ID1

ID of the record/page, given in the URL (after /Details/)

Example
45611
Numberrequired
record #2

The record number, as given at the bottom of the Nomenclator Detail Record page for the given record. Different from the record ID in the URL.

Example
46640
Numbersuggested
access date3

Date that Systema Dipterorum was accessed. (The current date.)

Example
2025-03-30
Datesuggested
taxon nametaxon

Name of the taxon the record is for. If the record is for a genus or species name, etc., please italicize the name when passing it to this template.

Default
{{BASEPAGENAME}}
Example
''Eristalis stipator''
Contentsuggested
authorauthor

The last name of the author. Should not be pre-formatted; that will be handled by this template. If the taxon parameter is not provided, then it will not display the author, year, and page number!

Example
Osten Sacken
Stringsuggested
yearyear

The year the name was described in. Will be displayed after author

Example
1877
Numbersuggested
page numberpage

The page number this name was described on. If Systema Dipterorum lists multiple page numbers, just provide them separated by a comma.

Example
336
Contentsuggested
Systema Dipterorum versionversion

Version of Systema Dipterorum. Given in top right-hand corner of page

Default
Most recent (relative to the given access date) S.D. release version number according to Wikidata
Example
6.0
Numberoptional
Systema Dipterorum last updated datedate-updated

Most recent date (before the access date) that Systema Dipterorum was updated. Given in the top right-hand corner of the page.

Default
Most recent (relative to the given access date) S.D. release date according to Wikidata
Example
2025-02-03
Dateoptional
recombinationrecomb

If the given name is a recombination and the taxon authority, year, and page should be shown in parentheses.

Default
false
Example
true
Booleanoptional