Jump to content

Template:DOSB profile/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update URLs
See also: update
 
(29 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{{Template redirect|Team Deutschland}}
{{Template redirect|Team Deutschland}}
{{Template shortcut|DOSB}}
{{Template shortcut|DOSB}}
{{Uses Wikidata|P4053}}
{{Tracks and uses Wikidata|P4053}}
{{Lua|Module:EditAtWikidata}}
{{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 ==


=== Unnamed parameters ===
=== Unnamed parameters ===
; URLs
: <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>
: <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>

; Usage
; Usage
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich-870 | Szaundra Diedrich }}</code>
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }}</code>
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 870 | Szaundra Diedrich }}</code>
; Output
; Output
:* {{{{BASEPAGENAME}} | szaundra-diedrich-870 | Szaundra Diedrich }}
:* {{{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }}
:* {{{{BASEPAGENAME}} | 870 | Szaundra Diedrich }}


; Current URL
=== Named parameters ===
: [https://www.teamdeutschland.de/team/details/szaundra-diedrich https://www.teamdeutschland.de/team/details/{{Highlight|szaundra-diedrich}}]
; URLs
: <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>
: <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>


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

=== Named parameters ===
; Usage
; Usage
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= julian-weber-2008 | name= Julian Weber }}</code>
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= julian-weber | name= Julian Weber }}</code>
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= 2008 | name= Julian Weber }}</code>


; Output
; Output
:* {{{{BASEPAGENAME}} | id= julian-weber-2008 | name= Julian Weber }}
:* {{{{BASEPAGENAME}} | id= julian-weber | name= Julian Weber }}

:* {{{{BASEPAGENAME}} | id= 2008 | name= Julian Weber }}
; Current URL
: [https://www.teamdeutschland.de/team/details/julian-weber https://www.teamdeutschland.de/team/details/{{Highlight|julian-weber}}]

; Former URLs (all previously redirected to current URL)
: 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
: 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 60: 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"],
"aliases": ["1"],
"description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: szaundra-diedrich-870 or 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.",
"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 73: 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 85: Line 89:
}
}
</templatedata>
</templatedata>

== Tracking categories ==
; ID parameter exists
* {{clc|DOSB profile ID different from Wikidata}}
* {{clc|DOSB profile ID not in Wikidata}}
* {{clc|DOSB profile template missing ID and not in Wikidata}}
* {{clc|DOSB profile template using Wikidata}}
* {{clc|Pages using DOSB profile template with unknown parameters}}

== Templates and modules used ==
* [[Template:First word]], implemented with [[Module:String]]
* [[Module:EditAtWikidata]]
* [[Module:WikidataCheck]]


== See also ==
== See also ==
* {{tl|IOC 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|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|LOK profile}} for links to profiles from the [[Latvian Olympic Committee|''Latvijas Olimpiskā Komiteja'']]
* {{tl|NZOC profile}} for links to profiles from the [[New Zealand Olympic Committee]]
* {{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|USOC profile}} for links to profiles from the [[United States Olympic Committee]]


== External links ==
== External links ==
* [https://www.teamdeutschland.de/de/athleten/archiv.html Athlete search at TeamDeutschland.de] {{de icon}}
* [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]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
}}</includeonly>

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]