Jump to content

Template:Fussballdaten/doc

From Wikipedia, the free encyclopedia

Template:Fussballdaten displays an external link to an association football (soccer) player's profile at Fussballdaten.de. It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{Fussballdaten | ID }}
{{Fussballdaten | ID | NAME }}

Named parameters:

{{Fussballdaten | id= ID }}
{{Fussballdaten | id= ID | name= NAME }}

Using Wikidata property P3538:

{{Fussballdaten}}
{{Fussballdaten | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URLs:

https://www.fussballdaten.de/person/christian-mueller-10319/
https://www.fussballdaten.de/spieler/muellerchristian83/

Usage:

{{Fussballdaten | christian-mueller-10319 | Christian Müller }}
{{Fussballdaten | muellerchristian83 | Christian Müller }}

Output:

Christian Müller at fussballdaten.de (in German)
Christian Müller at fussballdaten.de (in German)

Named parameters

[edit]

URLs:

https://www.fussballdaten.de/person/frauen/viktoria-schnaderbeck/
https://www.fussballdaten.de/spieler/frauen/schnaderbeckviktoria/

Usage:

{{Fussballdaten | id= frauen/viktoria-schnaderbeck | name= Viktoria Schnaderbeck }}
{{Fussballdaten | id= frauen/schnaderbeckviktoria | name= Viktoria Schnaderbeck }}

Output:

Viktoria Schnaderbeck at fussballdaten.de (in German)
Viktoria Schnaderbeck at fussballdaten.de (in German)

No parameters and Wikidata property not defined

[edit]

Usage:

{{Fussballdaten}}

Output:

{{Fussballdaten}} template missing ID and not present in Wikidata.

Instructions

[edit]
  1. Go to Fussballdaten.de and search for the person you want, using the search box which is labelled "Suche".
  2. Limit the search to pages about people by clicking the "Personen" link located about the search results.
  3. Click on the correct link to go to the person's page. Be sure you're getting the right person (check birth date).
  4. The page URL should look like https://www.fussballdaten.de/player/id/, where "id" is the portion indicating a specific player. For male players the format is usually "firstname-lastname" or "firstname-lastname-number". For female players the format is "frauen/firstname-lastname".
  5. Add one of the following to the external links section of the player's Wikipedia article:
    * {{Fussballdaten|id}}
    * {{Fussballdaten|id|name}}
    where "id" is the player ID portion of the URL
    and "name" is the person's name. If the name is not specified, the template will display the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fussballdaten in articles based on its TemplateData.

TemplateData for Fussballdaten

This template displays an external link to an association football (soccer) player's profile at Fussballdaten.de. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter should contain the ID portion of player's URL. Examples: "christian-mueller-10319" is the ID portion of https://www.fussballdaten.de/person/christian-mueller-10319/ and "frauen/viktoria-schnaderbeck" is the ID portion of https://www.fussballdaten.de/person/frauen/viktoria-schnaderbeck/. This parameter is optional if Wikidata property P3538 exists, but required if not.

Default
Wikidata property P3538
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional