Template:DFB/doc

It is intended for use in the external links section of an article.

Usage
Article name as link text:

Parameter as link text:

Using Wikidata property :

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.

Player
Usage:

Output:

URLs (English-language website):
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/data-center/people//player
 * https://datencenter.dfb.de/en/data-center/people//player
 * https://www.dfb.de/en/data-center/people//player
 * https://www.dfb.de/en/data-center/people//player

URLs (German-language website):
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/datencenter/personen//spielerin
 * https://datencenter.dfb.de/datencenter/personen//spielerin
 * https://www.dfb.de/datencenter/personen//spielerin
 * https://www.dfb.de/datencenter/personen//spielerin

Note: URLs for the German-language website use spieler for male players and spielerin for female players.

Coach
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:

Output:

URLs (English-language website):
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/data-center/people//coach
 * https://datencenter.dfb.de/en/data-center/people//coach
 * https://www.dfb.de/en/data-center/people//coach
 * https://www.dfb.de/en/data-center/people//coach

URLs (German-language website):
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/datencenter/personen//trainer
 * https://datencenter.dfb.de/datencenter/personen//trainer
 * https://www.dfb.de/datencenter/personen//trainer
 * https://www.dfb.de/datencenter/personen//trainer

Note: URLs for the German-language website use trainer for male coaches and trainerin for female coaches.

Referee
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:

Output:

URLs (English-language website):
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/profile/
 * https://datencenter.dfb.de/en/data-center/people//referee
 * https://datencenter.dfb.de/en/data-center/people//referee
 * https://www.dfb.de/en/data-center/people//referee
 * https://www.dfb.de/en/data-center/people//referee

URLs (German-language website):
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/profil/
 * https://datencenter.dfb.de/datencenter/personen//schiedsrichterin
 * https://datencenter.dfb.de/datencenter/personen//schiedsrichterin
 * https://www.dfb.de/datencenter/personen//schiedsrichterin
 * https://www.dfb.de/datencenter/personen//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
Usage:

Output:

TemplateData
{ "description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "string", "required": false, "default": "Wikidata property P4023" },   "name": { "label": "name", "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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\" or \"(soccer)\".", "type": "string", "required": false, "default": "" },   "type": { "label": "type", "description": "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\".", "type": "string", "required": false } },  "paramOrder": [ "id", "name", "type" ] }