Template:LFP Ligue 1
This template uses Lua: |
Template:LFP Ligue 1 displays an external link to an association football (soccer) player's LFP Ligue 1 profile at Ligue1.com (in English) and Ligue1.fr (in French). It is intended for use in the external links section of an article.
Usage
Omit the ID to use the Wikidata property.
- Article name as link text
{{LFP Ligue 1 | new_id= ID }}
{{LFP Ligue 1 | ID }}
{{LFP Ligue 1 | id= ID }}
{{LFP Ligue 1}}
- Parameter as link text
{{LFP Ligue 1 | new_id= ID | name= NAME }}
{{LFP Ligue 1 | ID | NAME }}
{{LFP Ligue 1 | id= ID | name= NAME }}
{{LFP Ligue 1 | name= NAME }}
Examples
ID in template or Wikidata
- Usage in the article Gianluigi Donnarumma, with article name as link text
* {{LFP Ligue 1 | new_id= 13_93848 }}
* {{LFP Ligue 1 | gianluigi-donnarumma }}
* {{LFP Ligue 1}}
- Output
-
Gianluigi Donnarumma – French league stats at Ligue 1
Gianluigi Donnarumma – French league stats at Ligue 1 – also available in French (archived)
Gianluigi Donnarumma – French league stats at Ligue 1 – also available in French (archived)
- Current URLs
- https://ligue1.com/player-sheet/l1_championship_player_2024_13_93848?tab=profile (in English)
- https://ligue1.com/fr/player-sheet/l1_championship_player_2024_13_93848?tab=profile (in French)
- Former URLs
- https://www.ligue1.com/player?id=gianluigi-donnarumma (in English, archive 2022-12-10)
- https://www.ligue1.fr/joueur?id=gianluigi-donnarumma (in French, archive 2024-06-21)
No ID in template or Wikidata
- Usage
* {{LFP Ligue 1}}
- Output
-
{{LFP Ligue 1}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for LFP Ligue 1
This template displays an external link to an association football (soccer) player's LFP Ligue 1 profile at Ligue1.com (in English) and Ligue1.fr (in French). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_id | The ID portion of the current URL, such as 13_93848 in https://ligue1.com/player-sheet/l1_championship_player_2024_13_93848?tab=profile or https://www.ligue1.fr/joueur?id=cheick-omar-traore. This parameter is optional if the "id" parameter is used or Wikidata property P9266 exists, but required if not. | Number | optional |
Old ID | id 1 | The ID portion of the former URL, such as gianluigi-donnarumma in https://www.ligue1.com/player?id=gianluigi-donnarumma or https://www.ligue1.fr/joueur?id=gianluigi-donnarumma. This parameter generates an archived link. It is optional if the "new_id" parameter is used or Wikidata property P9266 exists, but required if not.
| Number | optional |
Name | name 2 | 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 |
See also
- {{LFP Ligue 2}} for a player's LFP Ligue 2 profile at Ligue2.fr (in French), with a link for English translation
- {{LFP}} for former links using a different ID which may or may not redirect to the current page
External links
- Ligue1.com squads overview
- Ligue1.com player search page at the Wayback Machine (archived 2024-06-22)
- List of squads by club at Ligue1.com: