Jump to content

Template:DLV profile/doc

From Wikipedia, the free encyclopedia

Template:DLV profile displays an external link to an athlete's profile at the official website of the German Athletics Association, known in German as Deutscher Leichtathletik-Verband. DLV is the national governing body for the sport of athletics in Germany. The template is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{DLV profile | ID }}
{{DLV profile | ID | NAME }}

Named parameters:

{{DLV profile | id= ID }}
{{DLV profile | id= ID | name= NAME }}

Using Wikidata property DLV athlete ID (P3843):

{{DLV profile}}
{{DLV profile | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

Usage:

* {{DLV profile | nadine-mueller | Nadine Müller }}

Output:

Current URL:

https://www.leichtathletik.de/nationalmannschaft/athletenportraet/detail/nadine-mueller

Former URL:

https://www.leichtathletik.de/nationalmannschaft/athletenportraet/athlet/detail/nadine-mueller/ (archive)

Named parameters

[edit]

Usage:

* {{DLV profile |id= thomas-roehler |name= Thomas Röhler }}

Output:

Current URL:

https://www.leichtathletik.de/nationalmannschaft/athletenportraet/detail/thomas-roehler

Former URL:

https://www.leichtathletik.de/nationalmannschaft/athletenportraet/athlet/detail/thomas-roehler/ (archive)

No parameters and Wikidata property not defined

[edit]

Usage:

{{DLV profile}}

Output:

{{DLV profile}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for DLV profile

This template displays an external link to an athlete's profile at the official website of the German Athletics Association, known in German as Deutscher Leichtathletik-Verband. DLV is the national governing body for the sport of athletics in Germany. The template is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: nadine-mueller is the ID portion of https://www.leichtathletik.de/nationalmannschaft/athletenportraet/detail/nadine-mueller. This parameter is optional if Wikidata property P3843 exists, but required if not.

Default
Wikidata property P3843
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]
[edit]