Template:LFP Ligue 2
{{{name}}} – French league stats at Ligue 2 (in French) – English translation
This template uses Lua: |
Template:LFP Ligue 2 displays an external link to an association football (soccer) player's LFP Ligue 2 profile at Ligue2.fr (in French). Since Ligue 2 does not have an English language website, a translation link is included. This template is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{LFP Ligue 2 | ID }}
{{LFP Ligue 2 | ID | NAME }}
- Named parameters
{{LFP Ligue 2 | id= ID }}
{{LFP Ligue 2 | id= ID | name= NAME }}
- Using Wikidata property Ligue 2 player ID (P10508)
{{LFP Ligue 2}}
{{LFP Ligue 2 | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage in the article Cheick Traoré
* {{LFP Ligue 2 | cheick-omar-traore }}
* {{LFP Ligue 2 | cheick-omar-traore | Cheick Omar Traoré }}
- Output
-
- Cheick Traoré – French league stats at Ligue 2 (in French) – English translation
- Cheick Omar Traoré – French league stats at Ligue 2 (in French) – English translation
- URLs
- https://www.ligue2.fr/joueur?id=cheick-omar-traore (in French)
- https://translate.google.com/translate?sl=fr&tl=en&u=https://www.ligue2.fr/joueur?id=cheick-omar-traore
Named parameters
[edit]- Usage in the article Clévid Dikamona
* {{LFP Ligue 2 | clevid-dikamona }}
* {{LFP Ligue 2 | clevid-dikamona | Clévid Florian Dikamona }}
- Output
-
- Clévid Dikamona – French league stats at Ligue 2 (in French) – English translation
- Clévid Florian Dikamona – French league stats at Ligue 2 (in French) – English translation
- URLs
- https://www.ligue2.fr/joueur?id=clevid-dikamona (in French)
- https://translate.google.com/translate?sl=fr&tl=en&u=https://www.ligue2.fr/joueur?id=clevid-dikamona
No ID in template
[edit]Usage:
* {{LFP Ligue 2}}
Output:
- {{LFP Ligue 2}} template missing ID.
TemplateData
[edit]TemplateData for LFP Ligue 2
This template displays an external link to an association football (soccer) player's LFP Ligue 2 profile at Ligue2.fr (in French). Since Ligue 2 does not have an English language website, a translation link is included. This template 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. Example: cheick-omar-traore is the ID portion of https://www.ligue2.fr/joueur?id=cheick-omar-traore. | String | required |
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 |
See also
[edit]- {{LFP Ligue 1}} for a player's LFP Ligue 2 profile at Ligue1.com (in English) and Ligue1.fr (in French)
- {{LFP}} for former links using a different ID which may or may not redirect to the current page
External links
[edit]- Ligue2.fr player search page (in French)