Jump to content

Template:LFP player/doc

From Wikipedia, the free encyclopedia

Template:LFP player 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 more recent ID with surname at end (e.g. patrice-evra), use Template:LFP Ligue 1 or Template:LFP Ligue 2.

Usage

[edit]

Omit the ID to use the Wikidata property.

Article name as link text
{{LFP player | ID }}
{{LFP player | ID | en_archive= NUMBER }}
{{LFP player | ID | fr_archive= NUMBER }}
{{LFP player | id= ID }}
{{LFP player | id= ID | en_archive= NUMBER }}
{{LFP player | id= ID | fr_archive= NUMBER }}
Parameter as link text
{{LFP player | ID | NAME }}
{{LFP player | ID | NAME | en_archive= NUMBER }}
{{LFP player | ID | NAME | fr_archive= NUMBER }}
{{LFP player | id= ID | name= NAME }}
{{LFP player | id= ID | name= NAME | en_archive= NUMBER }}
{{LFP player | id= ID | name= NAME | fr_archive= NUMBER }}

Examples

[edit]

ID in template or Wikidata

[edit]
Usage in the article Cheick Traoré, with article name as link text
* {{LFP player | traore-cheick-omar-1 }}
* {{LFP player}}
Output
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 with archive parameters

[edit]
Usage in the article Patrice Evra
* {{LFP player | evra-patrice | en_archive= 20190620213203 }}
* {{LFP player | evra-patrice | fr_archive= 20191115180127 }}
* {{LFP player | evra-patrice | en_archive= 20190620213203 | fr_archive= 20191115180127 }}
Output
URLs
https://web.archive.org/web/20190620213203/https://www.ligue1.com/joueur/evra-patrice
https://web.archive.org/web/20191115180127/https://www.lfp.fr/joueur/evra-patrice

No ID in template or Wikidata

[edit]
Usage
* {{LFP player}}
Output
  • {{LFP}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:LFP player in articles based on its TemplateData.

TemplateData for LFP player

This template 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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as evra-patrice in https://www.ligue1.com/joueur/evra-patrice or https://www.lfp.fr/joueur/evra-patrice. This parameter is optional if Wikidata property P3683 exists, but required if not.

Default
Wikidata property P3683
Example
evra-patrice
Stringoptional
Namename 2

The name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Example
Patrice Evra
Stringoptional
Archive number for English URLen_archive archive

A number representing the date/time in an Internet Archive URL for the English page, such as 20190620213203 in https://web.archive.org/web/20190620213203/https://www.ligue1.com/joueur/evra-patrice. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.

Default
1
Example
20190620213203
Numberoptional
Archive number for French URLfr_archive archive2

A number representing the date/time in an Internet Archive URL for the French page, such as 20191115180127 in https://web.archive.org/web/20191115180127/https://www.lfp.fr/joueur/evra-patrice. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.

Default
1
Example
20191115180127
Numberoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]

Templates supporting new ID with surname at end (e.g. patrice-evra):

[edit]

To find old ID with surname at beginning (e.g. evra-patrice):