This is a documentation subpage for Template:LFP. It contains usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Template:LFP displays an external link to an association football (soccer) player's profile at the Ligue de Football Professionnel (LFP) website. It is intended for use in the external links section of an article.
Usage
Unnamed parameters
{{LFP | ID }}
{{LFP | ID | NAME }}
{{LFP | ID | NAME | archive= NUMBER }}
Named parameters
{{LFP | id= ID }}
{{LFP | id= ID | name= NAME }}
{{LFP | id= ID | name= NAME | archive= NUMBER }}
{{LFP}}
{{LFP | name= NAME }}
{{LFP | name= NAME | archive= NUMBER }}
Examples
ID in template
Usage in the article Cheick Traoré, with article name as link text:
* {{LFP | traore-cheick-omar-1 }}
* {{LFP | id= traore-cheick-omar-1 }}
Usage with name parameter as link text:
* {{LFP | traore-cheick-omar-1 | Cheick Omar Traoré }}
* {{LFP | id= traore-cheick-omar-1 | name= Cheick Omar Traoré }}
Output:
- Cheick Traoré – French league stats at LFP – also available in French
- Cheick Omar Traoré – French league stats at LFP – also available in French
URLs (English):
- https://www.ligue1.com/joueur/traore-cheick-omar-1 (redirects to URL below)
- https://www.ligue1.com/player?id=cheick-omar-traore (different ID)
URLs (French):
- https://www.lfp.fr/joueur/traore-cheick-omar-1 (redirects to URL below)
- https://www.ligue1.fr/joueur?id=cheick-omar-traore (different ID)
ID in Wikidata
Usage in the article Patrice Evra:
* {{LFP}}
* {{LFP | name= Patrice Latyr Evra }}
Output:
- Patrice Evra – French league stats at LFP – also available in French
- Patrice Latyr Evra – French league stats at LFP – also available in French
URLs (English):
- https://www.ligue1.com/joueur/evra-patrice (redirects to URL below)
- https://www.ligue1.com/player?id=patrice-evra (different ID)
URLs (French):
- https://www.lfp.fr/joueur/evra-patrice (redirects to URL below)
- https://www.ligue1.fr/joueur?id=patrice-evra (different ID)
archive
Usage:
* {{LFP | njanka-beaka-pierre | Njanka | archive= 20150226052736 }}
* {{LFP | id= njanka-beaka-pierre | name= Njanka | archive= 20150226052736 }}
Output:
URL (English):
- https://web.archive.org/web/20150226052736/https://www.ligue1.com/joueur/njanka-beaka-pierre
URL (French):
- https://www.lfp.fr/joueur/njanka-beaka-pierre
archive2
Usage:
* {{LFP | njanka-beaka-pierre | Njanka | archive2= 20140323180808 }}
* {{LFP | id= njanka-beaka-pierre | name= Njanka | archive2= 20140323180808 }}
Output:
URL (English):
- https://www.ligue1.com/joueur/njanka-beaka-pierre
URL (French):
- https://web.archive.org/web/20140323180808/https://www.lfp.fr/joueur/njanka-beaka-pierre
archive and archive2
Usage:
* {{LFP | njanka-beaka-pierre | Njanka | archive= 20150226052736 | archive2= 20140323180808 }}
* {{LFP | id= njanka-beaka-pierre | name= Njanka | archive= 20150226052736 | archive2= 20140323180808 }}
Output:
URL (English):
- https://web.archive.org/web/20150226052736/https://www.ligue1.com/joueur/njanka-beaka-pierre
URL (French):
- https://web.archive.org/web/20140323180808/https://www.lfp.fr/joueur/njanka-beaka-pierre
No ID in template or Wikidata
Usage:
* {{LFP}}
Output:
Tracking categories
- template with ID
- template missing ID
See also
Templates supporting new ID with surname at end (e.g. patrice-evra):
- {{LFP Ligue 1}} – profile at Ligue1.com (in English) and Ligue1.fr (in French) – uses (P9266)
- {{LFP Ligue 2}} – profile at Ligue2.fr (in French), with a link for English translation – no Wikidata property (yet)
External links
To find old ID with surname at beginning (e.g. evra-patrice):
- LFP.fr player archived pages at the Internet Archive
- Ligue1.com player archived pages at the Internet Archive