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
 
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Template redirect|Team Deutschland}}
{{Template redirect|Team Deutschland}}
{{Template shortcut|DOSB|dosb}}
{{Template shortcut|DOSB}}
{{Uses Wikidata|P4053}}
{{Tracks and uses Wikidata|P4053}}
{{Tracks Wikidata|P4053}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}


'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an athlete's profile at [https://www.teamdeutschland.de TeamDeutschland.de], an official website of the [[German Olympic Sports Confederation]] (DOSB: ''Deutscher Olympischer Sportbund''). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an athlete's profile at [https://www.teamdeutschland.de Team Deutschland], an official website of the [[German Olympic Sports Confederation]] (DOSB: ''Deutscher Olympischer Sportbund''). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.


== Usage ==
== Usage ==
; Unnamed parameters
; Unnamed parameters
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}</code>


; Named parameters
; Named parameters
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> | name= <var>NAME</var> }}</code>


; Using [[Wikidata]] property {{Property|4053|id=only}}
; Using Wikidata property
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= ''NAME'' }}</code>
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= <var>NAME</var> }}</code>


== Examples ==
== Examples ==
Line 32: Line 31:


; Current URL
; Current URL
: <kbd>[https://www.teamdeutschland.de/athleten/details/szaundra-diedrich https://www.teamdeutschland.de/athleten/details/{{Hilite|szaundra-diedrich}}]</kbd>
: [https://www.teamdeutschland.de/team/details/szaundra-diedrich https://www.teamdeutschland.de/team/details/{{Highlight|szaundra-diedrich}}]


; Former URLs
; Former URLs (all previously redirected to current URL)
: <kbd>[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/{{Hilite|szaundra-diedrich-870}}.html]</kbd>
: https://<nowiki/>www.teamdeutschland.de/athleten/details/{{Highlight|szaundra-diedrich}}
: https://<nowiki/>www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/{{Highlight|szaundra-diedrich-870|pink}}.html
: <kbd>[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/{{Hilite|szaundra-diedrich-870}}.html]</kbd>
: http://<nowiki/>www.deutsche-olympiamannschaft.de/de/athleten/detail/a_action/show/a_athletes/{{Highlight|szaundra-diedrich-870|pink}}.html


=== Named parameters ===
=== Named parameters ===
Line 46: Line 46:


; Current URL
; Current URL
: <kbd>[https://www.teamdeutschland.de/athleten/details/julian-weber https://www.teamdeutschland.de/athleten/details/{{Hilite|julian-weber}}]</kbd>
: [https://www.teamdeutschland.de/team/details/julian-weber https://www.teamdeutschland.de/team/details/{{Highlight|julian-weber}}]


; Former URLs
; Former URLs (all previously redirected to current URL)
: <kbd>[https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/julian-weber-2008.html https://www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/{{Hilite|julian-weber-2008}}.html]</kbd>
: https://<nowiki/>www.teamdeutschland.de/athleten/details/{{Highlight|julian-weber}}
: https://<nowiki/>www.teamdeutschland.de/de/athleten/detail/a_action/show/a_athletes/{{Highlight|julian-weber-2008|pink}}.html
: <kbd>[http://www.deutsche-olympiamannschaft.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/{{Hilite|julian-weber-2008}}.html]</kbd>
: http://<nowiki/>www.deutsche-olympiamannschaft.de/de/athleten/detail/a_action/show/a_athletes/{{Highlight|julian-weber-2008|pink}}.html


=== No parameters and Wikidata property not defined ===
=== No parameters and Wikidata property not defined ===
Line 63: Line 64:
<templatedata>
<templatedata>
{
{
"description": "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.",
"description": "This template displays an external link to an athlete's profile at Team Deutschland, 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.",
"params": {
"params": {
"id": {
"id": {
"label": "id",
"label": "id",
"aliases": ["1","new_id"],
"aliases": ["1"],
"description": "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.",
"description": "The ID portion of the current URL, such as szaundra-diedrich in https://www.teamdeutschland.de/team/details/szaundra-diedrich. This parameter is optional if Wikidata property P4053 exists, but required if not.",
"type": "string",
"type": "string",
"required": false,
"required": false,
Line 76: Line 77:
"label": "name",
"label": "name",
"aliases": ["2"],
"aliases": ["2"],
"description": "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)\".",
"description": "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)\".",
"type": "string",
"type": "string",
"required": false,
"required": false,
Line 93: Line 94:
* {{clc|DOSB profile ID different from Wikidata}}
* {{clc|DOSB profile ID different from Wikidata}}
* {{clc|DOSB profile ID not in Wikidata}}
* {{clc|DOSB profile ID not in Wikidata}}
; ID parameter does not exist
* {{clc|DOSB profile template missing ID and not in Wikidata}}
* {{clc|DOSB profile template missing ID and not in Wikidata}}
* {{clc|DOSB profile template using Wikidata}}
* {{clc|DOSB profile template using Wikidata}}
* {{clc|Pages using DOSB profile template with unknown parameters}}


== Templates and modules used ==
== Templates and modules used ==
Line 103: Line 104:


== See also ==
== See also ==
* {{tl|Olympics.com profile}} for links to profiles from the [[International Olympic Committee]]
* {{tl|TDP profile}} for links to profiles from the [[National Paralympic Committee Germany|''Team Deutschland Paralympics'']] website
=== Olympic profile templates ===
* {{tl|AOC profile}} for links to profiles from the [[Australian Olympic Committee]]
{{Olympic profile templates}}
* {{tl|BOC profile}} for links to profiles from the [[Brazilian Olympic Committee]]
* {{tl|Chinese Olympic Committee profile}} for links to profiles from the [[Chinese Olympic Committee]]
* {{tl|CNOSF profile}} for links to profiles from the [[French National Olympic and Sports Committee|''Comité National Olympique et Sportif Français'']]
* {{tl|COA profile}} for links to profiles from the [[Argentine Olympic Committee|''Comité Olímpico Argentino'']]
* {{tl|COC profile}} for links to profiles from the [[Canadian Olympic Committee]]
* {{tl|COE profile}} for links to profiles from the [[Spanish Olympic Committee|''Comité Olímpico Español'']]
* {{tl|CONI profile}} for links to profiles from the [[Italian National Olympic Committee|''Comitato Olimpico Nazionale Italiano'']]
* {{tl|COSR profile}} for links to profiles from the [[Romanian Olympic and Sports Committee|''Comitetul Olimpic și Sportiv Român'']]
* {{tl|COV profile}} for links to profiles from the [[Czech Olympic Committee|''Český olympijský výbor'']]
* {{tl|HOO profile}} for links to profiles from the [[Croatian Olympic Committee|''Hrvatski olimpijski odbor'']]
* {{tl|LOK profile}} for links to profiles from the [[Latvian Olympic Committee|''Latvijas Olimpiskā Komiteja'']]
* {{tl|MOB profile}} for links to profiles from the [[Hungarian Olympic Committee|''Magyar Olimpiai Bizottság'']]
* {{tl|NOCNSF profile}} links to profiles of Dutch athletes at [[NOC*NSF|NOCNSF.nl]]
* {{tl|TeamNL profile}} links to profiles of Dutch athletes at [[TeamNL|TeamNL.org]]
* {{tl|NZOC profile}} for links to profiles from the [[New Zealand Olympic Committee]]
* {{tl|OFI profile}} for links to profiles from the [[Olympic Federation of Ireland]]
* {{tl|OKS profile}} for links to profiles from the [[Olympic Committee of Serbia|''Olimpijski Komitet Srbije'']]
* &#123;&#123;[[Template:PKOl profile|<span style="font-family: 'Times New Roman', Times, serif; font-size:105%;">PKOl</span> profile]]&#125;&#125; for links to profiles from the [[Polish Olympic Committee|''Polski Komitet Olimpijski'']]
* {{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|SOSV profile}} for links to profiles from the [[Slovak Olympic and Sports Committee|''Slovenský olympijský a športový výbor'']]
* {{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]]


== External links ==
== External links ==
* [https://www.teamdeutschland.de/athleten Athlete search at TeamDeutschland.de] {{in lang|de}}
* [https://www.teamdeutschland.de/team Search page at ''Team Deutschland''] {{in lang|de}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:People and person external link templates]]
[[Category:Germany sports templates]]
[[Category:Germany people and person external link templates]]
[[Category:Olympics external link templates]]
[[Category:Olympics external link templates]]
[[Category:External link templates using Wikidata]]
[[Category:External link templates using Wikidata]]

Latest revision as of 06:32, 24 September 2024

Template:DOSB profile displays an external link to an athlete's profile at Team Deutschland, 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

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

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{DOSB profile | szaundra-diedrich | Szaundra Diedrich }}
Output
Current URL
https://www.teamdeutschland.de/team/details/szaundra-diedrich
Former URLs (all previously redirected to current URL)
https://www.teamdeutschland.de/athleten/details/szaundra-diedrich
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

[edit]
Usage
* {{DOSB profile | id= julian-weber | name= Julian Weber }}
Output
Current URL
https://www.teamdeutschland.de/team/details/julian-weber
Former URLs (all previously redirected to current URL)
https://www.teamdeutschland.de/athleten/details/julian-weber
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

[edit]
Usage
* {{DOSB profile}}
Output
  • {{DOSB 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:DOSB profile in articles based on its TemplateData.

TemplateData for DOSB profile

This template displays an external link to an athlete's profile at Team Deutschland, 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 portion of the current URL, such as szaundra-diedrich in https://www.teamdeutschland.de/team/details/szaundra-diedrich. This parameter is optional if Wikidata property P4053 exists, but required if not.

Default
Wikidata property P4053
Stringoptional
namename 2

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

[edit]
ID parameter exists

Templates and modules used

[edit]

See also

[edit]

Olympic profile templates

[edit]
Country Template Wikidata property
{{Olympics.com profile}} P5815: Olympics.com athlete ID
Argentina {{COA profile}} P4065: Argentine Olympic Committee athlete ID
Australia {{AOC profile}} P3682: Australian Olympic Committee athlete ID
Azerbaijan {{Olympic.az profile}} P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID
Belarus {{NOC Belarus}}
Belgium {{Team Belgium}} P10963: Belgian Olympic and Interfederal Committee athlete ID
Brazil {{COB profile}} P4060: Brazilian Olympic Committee athlete ID
Canada {{Team Canada}} P4054: Team Canada athlete ID
China {{Chinese Olympic Committee profile}} P4068: Chinese Olympic Committee athlete ID (archived)
Croatia {{HOO profile}} P4541: Croatian Olympic Committee athlete ID (archived)
Czech Republic {{COV profile}} P4062: Czech Olympic Committee athlete ID
Estonia {{ESBL profile}} P4042: ESBL athlete ID
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}}
France {{CNOSF profile}} P4050: EspritBleu athlete ID (archived)
France {{Team France}} P11934: Team France athlete ID
Germany {{DOSB profile}} P4053: Team Deutschland athlete ID
Great Britain {{Team GB}} P4490: Team GB athlete ID
Greece {{HOC profile}} P4489: Hellenic Olympic Committee athlete ID (archived)
Hungary {{MOB profile}} P4066: Hungarian Olympic Committee athlete ID
Ireland {{OFI profile}} P10914: Olympic Federation of Ireland athlete ID
Israel {{OCI profile}} P9669: Olympic Committee of Israel athlete ID (archived)
Italy {{CONI profile}} P4069: Italian National Olympic Committee athlete ID
Japan {{JOC profile}}
Kazakhstan {{Olympic.kz profile}} P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID
Latvia {{LOK profile}} P2593: Latvian Olympic Committee athlete ID (archived)
Lithuania {{LTOK profile}} P4061: Lithuanian National Olympic Committee athlete ID
Luxembourg {{COSL profile}} P12372: Luxembourg Olympic and Sports Committee profile ID
Morocco {{CNOM profile}} P11019: Moroccan Olympic Committee athlete ID
Netherlands {{TeamNL profile}} P9822: TeamNL athlete ID number (archived)
Netherlands {{NOCNSF profile}} P10957: NOC*NSF athlete ID
New Zealand {{NZOC profile}} P4056: New Zealand Olympic Committee athlete ID
Norway {{Team Norway}}
Poland {{PKOl profile}} P6071: Polish Olympic Committee athlete ID (archived)
Qatar {{Team Qatar}}
Romania {{COSR profile}} P4067: Romanian Olympic and Sports Committee athlete ID
Serbia {{OKS profile}} P10978: Olympic Committee of Serbia athlete ID (new)
Singapore {{SNOC profile}} P10979: Singapore National Olympic Council athlete ID
Slovakia {{SOSV profile}} P10647: Slovak Olympic and Sports Committee athlete ID
Spain {{COE profile}} P8421: Spanish Olympic Committee athlete ID
Sweden {{SOK profile}} P2323: Swedish Olympic Committee athlete ID
Turkey {{TMOK profile}} P9973: Turkish National Olympic Committee athlete ID
Turkey {{Olimpedya}}
United States {{USOPC profile}} P4063: Team USA athlete former ID (archived)
[edit]