Template:DFB/doc
This is a documentation subpage for Template:DFB. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:DFB displays an external link to a profile of an association football (soccer) player, coach, or referee at the official website of the German Football Association (Deutscher Fußball-Bund or DFB), the national sport governing body for association football in Germany. It is intended for use in the external links section of an article.
Usage
[edit]Article name as link text:
{{DFB | ID }}
{{DFB | id= ID }}
{{DFB | id= ID | type= TYPE }}
Parameter as link text:
{{DFB | ID | NAME }}
{{DFB | id= ID | name= NAME }}
{{DFB | id= ID | name= NAME | type= TYPE }}
Using Wikidata property German Football Association person ID (P4023):
{{DFB}}
{{DFB | name= NAME }}
{{DFB | name= NAME | type= TYPE }}
The |type=
parameter can be used to specify a specific profile (player, coach or referee) in the case that multiple exist for the same person.
Examples
[edit]Player
[edit]Usage:
* {{DFB | dzsenifer-marozsan | Dzsenifer Marozsán }}
* {{DFB | id= 106623 | name= Dzsenifer Marozsán }}
Output:
- Dzsenifer Marozsán at DFB (also available in German)
- Dzsenifer Marozsán at DFB (also available in German)
URLs (English-language website):
- https://datencenter.dfb.de/en/profile/dzsenifer-marozsan
- https://datencenter.dfb.de/en/profile/106623
- https://datencenter.dfb.de/en/data-center/people/dzsenifer-marozsan/player
- https://datencenter.dfb.de/en/data-center/people/106623/player
- https://www.dfb.de/en/data-center/people/dzsenifer-marozsan/player
- https://www.dfb.de/en/data-center/people/106623/player
URLs (German-language website):
- https://datencenter.dfb.de/profil/dzsenifer-marozsan
- https://datencenter.dfb.de/profil/106623
- https://datencenter.dfb.de/datencenter/personen/dzsenifer-marozsan/spielerin
- https://datencenter.dfb.de/datencenter/personen/106623/spielerin
- https://www.dfb.de/datencenter/personen/dzsenifer-marozsan/spielerin
- https://www.dfb.de/datencenter/personen/106623/spielerin
Note: URLs for the German-language website use spieler for male players and spielerin for female players.
Coach
[edit]This is an example of a person with two different alpha IDs: uwe-rosler (English website) and uwe-roesler (German website). The numeric ID works for either website.
Usage:
* {{DFB | uwe-rosler | Uwe Rösler }}
* {{DFB | id= 28733 | name= Uwe Rösler }}
Output:
- Uwe Rösler at DFB (also available in German)
- Uwe Rösler at DFB (also available in German)
URLs (English-language website):
- https://datencenter.dfb.de/en/profile/uwe-rosler
- https://datencenter.dfb.de/en/profile/28733
- https://datencenter.dfb.de/en/data-center/people/uwe-rosler/coach
- https://datencenter.dfb.de/en/data-center/people/28733/coach
- https://www.dfb.de/en/data-center/people/uwe-rosler/coach
- https://www.dfb.de/en/data-center/people/28733/coach
URLs (German-language website):
- https://datencenter.dfb.de/profil/uwe-roesler
- https://datencenter.dfb.de/profil/28733
- https://datencenter.dfb.de/datencenter/personen/uwe-roesler/trainer
- https://datencenter.dfb.de/datencenter/personen/28733/trainer
- https://www.dfb.de/datencenter/personen/uwe-roesler/trainer
- https://www.dfb.de/datencenter/personen/28733/trainer
Note: URLs for the German-language website use trainer for male coaches and trainerin for female coaches.
Referee
[edit]This is an example of a person with two different alpha IDs: bibiana-steinhaus-webb (current alpha ID) and bibiana-steinhaus (former alpha ID which no longer workls). The numeric ID remained the same after the name change.
Usage:
* {{DFB | bibiana-steinhaus-webb | Bibiana Steinhaus-Webb }}
* {{DFB | id= 48991 | name= Bibiana Steinhaus-Webb }}
Output:
- Bibiana Steinhaus-Webb at DFB (also available in German)
- Bibiana Steinhaus-Webb at DFB (also available in German)
URLs (English-language website):
- https://datencenter.dfb.de/en/profile/bibiana-steinhaus-webb
- https://datencenter.dfb.de/en/profile/48991
- https://datencenter.dfb.de/en/data-center/people/bibiana-steinhaus-webb/referee
- https://datencenter.dfb.de/en/data-center/people/48991/referee
- https://www.dfb.de/en/data-center/people/bibiana-steinhaus-webb/referee
- https://www.dfb.de/en/data-center/people/48991/referee
URLs (German-language website):
- https://datencenter.dfb.de/profil/bibiana-steinhaus-webb
- https://datencenter.dfb.de/profil/48991
- https://datencenter.dfb.de/datencenter/personen/bibiana-steinhaus-webb/schiedsrichterin
- https://datencenter.dfb.de/datencenter/personen/48991/schiedsrichterin
- https://www.dfb.de/datencenter/personen/bibiana-steinhaus-webb/schiedsrichterin
- https://www.dfb.de/datencenter/personen/48991/schiedsrichterin
Note: URLs for the German-language website use schiedsrichter for male referees and schiedsrichterin for female referees.
No parameters and Wikidata property not defined
[edit]Usage:
* {{DFB}}
Output:
- {{DFB}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for DFB
This template displays an external link to a profile of an association football (soccer) player, coach, or referee at the official website of the German Football Association (Deutscher Fußball-Bund or DFB), the national sport governing body for association football in Germany. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: 106623 in https://datencenter.dfb.de/en/profile/106623 or https://www.dfb.de/en/data-center/people/106623/player, dzsenifer-marozsan in https://datencenter.dfb.de/en/profile/dzsenifer-marozsan or https://www.dfb.de/en/data-center/people/dzsenifer-marozsan/player. This parameter is optional if Wikidata property P4023 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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
type | type | The "type" parameter may be used to specify the type of profile to display (if multiple apply to the same person): "player", "coach" or "referee". | String | optional |
External links
[edit]