Template:DOSB profile/doc

From blackwiki
< Template:DOSB profile
Revision as of 13:49, 31 July 2020 by imported>Zyxw (→‎External links: update link)
Jump to navigation Jump to search

Template:Template redirect

Template:Uses Wikidata Template:Tracks Wikidata

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

Using Wikidata property Template:Property
{{DOSB profile}}
{{DOSB profile | name= NAME }}
New ID
{{DOSB profile | new_id= ID }}
{{DOSB profile | new_id= ID | name= NAME }}
Former ID
{{DOSB profile | ID }}
{{DOSB profile | id= ID }}
{{DOSB profile | ID | NAME }}
{{DOSB profile | id= ID | name= NAME }}

Examples

New ID

Usage
* {{DOSB profile | new_id= szaundra-diedrich | name= Szaundra Diedrich }}
* {{DOSB profile | new_id= julian-weber | name= Julian Weber }}
Output
URLs
https://www.teamdeutschland.de/athleten/details/szaundra-diedrich
https://www.teamdeutschland.de/athleten/details/julian-weber

Former ID

Usage
* {{DOSB profile | id= szaundra-diedrich-870 | name= Szaundra Diedrich }}
* {{DOSB profile | id= julian-weber-2008 | name= Julian Weber }}
Output
URLs
https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/szaundra-diedrich-870.html
https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/julian-weber-2008.html
URLs (deutsche-olympiamannschaft.de)
http://www.deutsche-olympiamannschaft.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/julian-weber-2008.html

No parameters and Wikidata property not defined

Usage
* {{DOSB profile}}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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
new_idnew_id

The "new_id" parameter should contain the ID portion of the new 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
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the former URL. Example: szaundra-diedrich-870 is the ID portion of https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/szaundra-diedrich-870.html or http://www.deutsche-olympiamannschaft.de/de/athleten/detail/a_action/show/a_athletes/szaundra-diedrich-870.html. This parameter is optional if the "new_id" parameter is used or Wikidata property P4053 exists, but required if not.

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

External links