Difference between revisions of "Template:DOSB profile/doc"
imported>Zyxw m (→See also: add link) |
imported>Zyxw m (→See also: update) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
=== Unnamed parameters === | === Unnamed parameters === | ||
; Usage | ; Usage | ||
| − | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }}</code> |
; Output | ; Output | ||
| − | :* {{{{BASEPAGENAME}} | szaundra-diedrich | + | :* {{{{BASEPAGENAME}} | szaundra-diedrich | Szaundra Diedrich }} |
| − | ; URLs | + | ; Current URL |
| + | : <kbd>[https://www.teamdeutschland.de/athleten/details/szaundra-diedrich https://www.teamdeutschland.de/athleten/details/{{Hilite|szaundra-diedrich}}]</kbd> | ||
| + | |||
| + | ; Former 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>[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> | : <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> | ||
| Line 37: | Line 40: | ||
=== Named parameters === | === Named parameters === | ||
; Usage | ; Usage | ||
| − | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= julian-weber | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= julian-weber | name= Julian Weber }}</code> |
; Output | ; Output | ||
| − | :* {{{{BASEPAGENAME}} | id= julian-weber | + | :* {{{{BASEPAGENAME}} | id= julian-weber | name= Julian Weber }} |
| + | |||
| + | ; Current URL | ||
| + | : <kbd>[https://www.teamdeutschland.de/athleten/details/julian-weber https://www.teamdeutschland.de/athleten/details/{{Hilite|julian-weber}}]</kbd> | ||
| − | ; URLs | + | ; Former 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>[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> | : <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> | ||
| Line 61: | Line 67: | ||
"id": { | "id": { | ||
"label": "id", | "label": "id", | ||
| − | "aliases": ["1"], | + | "aliases": ["1","new_id"], |
| − | "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: szaundra-diedrich | + | "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.", |
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| Line 87: | Line 93: | ||
* {{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 | ; 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}} | ||
| Line 112: | Line 117: | ||
* {{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|OKS profile}} for links to profiles from the [[Olympic Committee of Serbia|''Olimpijski Komitet Srbije'']] | ||
| + | * {{[[Template:PKOl profile|<span style="font-family: 'Times New Roman', Times, serif; font-size:105%;">PKOl</span> profile]]}} 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|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é'']] | ||
| Line 118: | Line 125: | ||
== External links == | == External links == | ||
| − | * [https://www.teamdeutschland. | + | * [https://www.teamdeutschland.de/athleten Athlete search at TeamDeutschland.de] {{in lang|de}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Latest revision as of 16:52, 30 September 2020
| 40px | This is a documentation subpage for Template:DOSB profile. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
| 30px | This template uses Lua: |
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.
Contents
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 Template:Property
{{DOSB profile}}{{DOSB profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{DOSB profile | szaundra-diedrich | Szaundra Diedrich }}
- Output
-
- Szaundra Diedrich at the Deutscher Olympischer Sportbund (in German)Script error: No such module "EditAtWikidata".Template:WikidataCheck
- 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
-
- Julian Weber at the Deutscher Olympischer Sportbund (in German)Script error: No such module "EditAtWikidata".Template:WikidataCheck
- 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
-
- Template:PAGENAMEBASE at the Deutscher Olympischer Sportbund (in German)Script error: No such module "EditAtWikidata".Template:WikidataCheck
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 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.
| String | optional |
| name | name 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)".
| String | optional |
Tracking categories
- ID parameter exists
- ID parameter does not exist
- Category:DOSB profile template missing ID and not in Wikidata (0)
- Category:DOSB profile template using Wikidata (0)
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{Chinese Olympic Committee profile}} for links to profiles from the Chinese Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{OKS profile}} for links to profiles from the Olimpijski Komitet Srbije
- {{PKOl profile}} for links to profiles from the Polski Komitet Olimpijski
- {{SNOC profile}} for links to profiles from the Singapore National Olympic Council
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOPC profile}} for links to profiles from the United States Olympic & Paralympic Committee
External links
- Athlete search at TeamDeutschland.de (in German)