Template:DOSB profile/doc: Difference between revisions
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}} |
||
{{ |
{{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 |
'''{{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}} | |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> }}</code> |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}</code> |
||
; Named parameters |
; Named parameters |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> }}</code> |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> | name= <var>NAME</var> }}</code> |
||
; Using |
; Using Wikidata property |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= <var>NAME</var> }}</code> |
||
== Examples == |
== Examples == |
||
=== Unnamed parameters === |
=== Unnamed parameters === |
||
; URLs |
|||
⚫ | |||
⚫ | |||
; Usage |
; Usage |
||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich |
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }}</code> |
||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 870 | Szaundra Diedrich }}</code> |
|||
; Output |
; Output |
||
:* {{{{BASEPAGENAME}} | szaundra-diedrich |
:* {{{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }} |
||
:* {{{{BASEPAGENAME}} | 870 | Szaundra Diedrich }} |
|||
; Current URL |
|||
⚫ | |||
⚫ | |||
; URLs |
|||
⚫ | |||
⚫ | |||
; 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 |
|||
⚫ | |||
⚫ | |||
; Usage |
; Usage |
||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= julian-weber |
: <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 |
:* {{{{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}} |
|||
⚫ | |||
⚫ | |||
=== 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 |
"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 |
"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 |
"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| |
* {{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/ |
* [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: |
[[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
This is a documentation subpage for Template:DOSB profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
-
- Szaundra Diedrich at Team Deutschland (in German)
- 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
-
- Julian Weber at Team Deutschland (in German)
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| String | optional |
name | name 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)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:DOSB profile ID different from Wikidata (0)
- Category:DOSB profile ID not in Wikidata (0)
- Category:DOSB profile template missing ID and not in Wikidata (0)
- Category:DOSB profile template using Wikidata (170)
- Category:Pages using DOSB profile template with unknown parameters (0)
Templates and modules used
[edit]- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
[edit]- {{TDP profile}} for links to profiles from the Team Deutschland Paralympics website
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) |
External links
[edit]- Search page at Team Deutschland (in German)