Template:LFP Ligue 1/doc
![]() | This is a documentation subpage for Template:LFP Ligue 1. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | 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
[edit]- Unnamed parameters
{{LFP Ligue 1 | ID }}
{{LFP Ligue 1 | ID | NAME }}
- Named parameters
{{LFP Ligue 1 | id= ID }}
{{LFP Ligue 1 | id= ID | name= NAME }}
- Using Wikidata property Ligue 1 player ID (P9266)
{{LFP Ligue 1}}
{{LFP Ligue 1 | name= NAME }}
Examples
[edit]ID in template
[edit]- Usage in the article Cheick Traoré, with article name as link text
* {{LFP Ligue 1 | cheick-omar-traore }}
* {{LFP Ligue 1 | id= cheick-omar-traore }}
- Usage with name parameter as link text
* {{LFP Ligue 1 | cheick-omar-traore | Cheick Omar Traoré }}
* {{LFP Ligue 1 | id= cheick-omar-traore | name= Cheick Omar Traoré }}
- Output
-
- Cheick Traoré – French league stats at Ligue 1 – also available in French
- Cheick Omar Traoré – French league stats at Ligue 1 – also available in French
- URLs
- https://www.ligue1.com/player?id=cheick-omar-traore (in English)
- https://www.ligue1.fr/joueur?id=cheick-omar-traore (in French)
ID in Wikidata
[edit]- Usage in the article Clévid Dikamona
* {{LFP Ligue 1}}
* {{LFP Ligue 1 | name= Clévid Florian Dikamona }}
- Output
-
- Clévid Dikamona – French league stats at Ligue 1 – also available in French
- Clévid Florian Dikamona – French league stats at Ligue 1 – also available in French
- Clévid Dikamona – French league stats at Ligue 1 – also available in French
- URLs
- https://www.ligue1.com/player?id=clevid-dikamona (in English)
- https://www.ligue1.fr/joueur?id=clevid-dikamona (in French)
No ID in template or Wikidata
[edit]- Usage
* {{LFP Ligue 1}}
- Output
-
- {{LFP Ligue 1}} template missing ID and not present in Wikidata.
TemplateData
[edit]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 | |
---|---|---|---|---|
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.ligue1.com/player?id=cheick-omar-traore or https://www.ligue1.fr/joueur?id=cheick-omar-traore. This parameter is optional if Wikidata property P9266 exists, but required if not.
| Number | 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 |
See also
[edit]- {{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
[edit]