Template:LFP/doc

From MOASSpedia
Jump to navigation Jump to search

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 }}

Using Wikidata property P3683

{{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:

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:

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:

  • Njanka – French league stats at LFP (archived 2015-02-26) – also available in French (archived 2014-03-23)

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:

  • LFP/doc – French league stats at LFP – also available in FrenchLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

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):