Jump to content

Template:DOSB profile/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m add links
m See also: add link
Line 111: Line 111:
* {{tl|MOB profile}} for links to profiles from the [[Hungarian Olympic Committee|''Magyar Olimpiai Bizottság'']]
* {{tl|MOB profile}} for links to profiles from the [[Hungarian Olympic Committee|''Magyar Olimpiai Bizottság'']]
* {{tl|NZOC profile}} for links to profiles from the [[New Zealand Olympic Committee]]
* {{tl|NZOC profile}} for links to profiles from the [[New Zealand Olympic Committee]]
* {{tl|SNOC profile}} for links to profiles from the [[Singapore National Olympic Council]]
* {{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|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]])

Revision as of 06:48, 2 May 2020

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-870 | Szaundra Diedrich }}
Output
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-2008 | name= Julian Weber }}
Output
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

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the 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 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