Template:Lfpfr/doc
此頁面是Template:Lfpfr的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
本模板使用维基数据資源:
此模板使用Lua语言: |
Template:Lfpfr displays an archived external link to an association football (soccer) player's profile at Ligue de Football Professionnel (LFP), using the website's former ID with surname at beginning (e.g. evra-patrice). It is intended for use in the external links section of an article. For links using the website's current ID with surname at end (e.g. patrice-evra), use Template:LFP Ligue 1 or Template:LFP Ligue 2.
Usage
- Unnamed parameters
{{Lfpfr | ID }}
{{Lfpfr | ID | NAME }}
{{Lfpfr | ID | NAME | archive= NUMBER }}
- Named parameters
{{Lfpfr | id= ID }}
{{Lfpfr | id= ID | name= NAME }}
{{Lfpfr | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property 無本頁之數據
{{Lfpfr}}
{{Lfpfr | name= NAME }}
{{Lfpfr | name= NAME | archive= NUMBER }}
Examples
ID in template
- Usage in the article Cheick Traoré, with article name as link text
* {{Lfpfr | traore-cheick-omar-1 }}
* {{Lfpfr | id= traore-cheick-omar-1 }}
- Usage with name parameter as link text
* {{Lfpfr | traore-cheick-omar-1 | Cheick Omar Traoré }}
* {{Lfpfr | id= traore-cheick-omar-1 | name= Cheick Omar Traoré }}
- Output
-
- Cheick Traoré – 法國職業足球聯賽数据 – 支持法语(已存档)
- Cheick Omar Traoré – 法國職業足球聯賽数据 – 支持法语(已存档)
- URLs
- https://web.archive.org/web/1/https://www.ligue1.com/joueur/traore-cheick-omar-1
- https://web.archive.org/web/1/https://www.lfp.fr/joueur/traore-cheick-omar-1
ID in Wikidata
- Usage in the article Patrice Evra
* {{Lfpfr}}
* {{Lfpfr | name= Patrice Latyr Evra }}
- Output
-
- Patrice Evra – 法國職業足球聯賽数据 – 支持法语(已存档)
- Patrice Latyr Evra – 法國職業足球聯賽数据 – 支持法语(已存档)
- URLs
- https://web.archive.org/web/1/https://www.ligue1.com/joueur/evra-patrice
- https://web.archive.org/web/1/https://www.lfp.fr/joueur/evra-patrice
archive
- Usage
* {{Lfpfr | njanka-beaka-pierre | Njanka | archive= 20150226052736 }}
* {{Lfpfr | id= njanka-beaka-pierre | name= Njanka | archive= 20150226052736 }}
- URLs
- https://web.archive.org/web/20150226052736/https://www.ligue1.com/joueur/njanka-beaka-pierre
- https://web.archive.org/web/1/https://www.lfp.fr/joueur/njanka-beaka-pierre
archive2
- Usage
* {{Lfpfr | njanka-beaka-pierre | Njanka | archive2= 20140323180808 }}
* {{Lfpfr | id= njanka-beaka-pierre | name= Njanka | archive2= 20140323180808 }}
- URLs
- https://web.archive.org/web/1/https://www.ligue1.com/joueur/njanka-beaka-pierre
- https://web.archive.org/web/20140323180808/https://www.lfp.fr/joueur/njanka-beaka-pierre
archive and archive2
- Usage
* {{Lfpfr | njanka-beaka-pierre | Njanka | archive= 20150226052736 | archive2= 20140323180808 }}
* {{Lfpfr | id= njanka-beaka-pierre | name= Njanka | archive= 20150226052736 | archive2= 20140323180808 }}
- URLs
- https://web.archive.org/web/20150226052736/https://www.ligue1.com/joueur/njanka-beaka-pierre
- https://web.archive.org/web/20140323180808/https://www.lfp.fr/joueur/njanka-beaka-pierre
No ID in template or Wikidata
- Usage
* {{Lfpfr}}
- Output
-
- {{LFP}} template missing ID and not present in Wikidata.
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 無本頁之數據
- {{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