Jump to content

Template:DOSB profile/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
See also: update
See also: update
Line 126: Line 126:
* {{tl|SOK profile}} for links to profiles from the [[Swedish Olympic Committee|''Sveriges Olympiska Kommitté'']]
* {{tl|SOK profile}} for links to profiles from the [[Swedish Olympic Committee|''Sveriges Olympiska Kommitté'']]
* {{tl|SOSV profile}} for links to profiles from the [[Slovak Olympic and Sports Committee|''Slovenský olympijský a športový výbor'']]
* {{tl|SOSV profile}} for links to profiles from the [[Slovak Olympic and Sports Committee|''Slovenský olympijský a športový výbor'']]
* {{tl|Team Belgium}} for links to profiles from [[Team Belgium]] (the [[Belgian Olympic and Interfederal Committee]])
* {{tl|Team GB}} for links to profiles from [[Team GB]] (the [[British Olympic Association]])
* {{tl|Team GB}} for links to profiles from [[Team GB]] (the [[British Olympic Association]])
* {{tl|USOPC profile}} for links to profiles from the [[United States Olympic & Paralympic Committee]]
* {{tl|USOPC profile}} for links to profiles from the [[United States Olympic & Paralympic Committee]]

Revision as of 11:12, 8 August 2022

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