Template:Fussballdaten/doc
This is a documentation subpage for Template:Fussballdaten. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
changeUnnamed 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
changeUnnamed parameters
changeURLs:
- 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
changeURLs:
- 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
changeUsage:
{{Fussballdaten}}
Output:
- {{Fussballdaten}} template missing ID and not present in Wikidata.
Instructions
change- Go to Fussballdaten.de and search for the person you want, using the search box which is labelled "Suche".
- Limit the search to pages about people by clicking the "Personen" link located about the search results.
- Click on the correct link to go to the person's page. Be sure you're getting the right person (check birth date).
- 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". - 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
changeTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| 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 |