Jump to content

Template:DOSB profile/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 13:53, 1 June 2022 (See also: update). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:DOSB profile displays an external link to an athlete's profile at TeamDeutschland.de, an official website of the German Olympic Sports Confederation (DOSB: Deutscher Olympischer Sportbund). It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{DOSB profile | ID }}
{{DOSB profile | ID | NAME }}
Named parameters
{{DOSB profile | id= ID }}
{{DOSB profile | id= ID | name= NAME }}
Using Wikidata property P4053
{{DOSB profile}}
{{DOSB profile | name= NAME }}

Examples

Unnamed parameters

Usage
* {{DOSB profile | szaundra-diedrich | Szaundra Diedrich }}
Output
Current URL
https://www.teamdeutschland.de/athleten/details/szaundra-diedrich
Former URLs
https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/szaundra-diedrich-870.html
http://www.deutsche-olympiamannschaft.de/de/athleten/detail/a_action/show/a_athletes/szaundra-diedrich-870.html

Named parameters

Usage
* {{DOSB profile | id= julian-weber | name= Julian Weber }}
Output
Current URL
https://www.teamdeutschland.de/athleten/details/julian-weber
Former URLs
https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/julian-weber-2008.html
http://www.deutsche-olympiamannschaft.de/de/athleten/detail/a_action/show/a_athletes/julian-weber-2008.html

No parameters and Wikidata property not defined

Usage
* {{DOSB profile}}
Output
  • {{DOSB profile}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for DOSB profile

This template displays an external link to an athlete's profile at TeamDeutschland.de, an official website of the German Olympic Sports Confederation (DOSB: Deutscher Olympischer Sportbund). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1 new_id

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the current URL. Example: szaundra-diedrich is the ID portion of https://www.teamdeutschland.de/athleten/details/szaundra-diedrich. This parameter is optional if Wikidata property P4053 exists, but required if not.

Default
Wikidata property P4053
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

Tracking categories

ID parameter exists
ID parameter does not exist

Templates and modules used

See also