Template:Lequipe/doc

< Template:Lequipe

Template:Lequipe displays an external link to an association football (soccer) player's statistics at the L'Équipe Football website (www.lequipe.fr/Football/). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{Lequipe | ID }}
{{Lequipe | ID | NAME }}

Named parameters:

{{Lequipe | id= ID }}
{{Lequipe | id= ID | name= NAME }}

Using Wikidata property P3665:

{{Lequipe}}
{{Lequipe | name= NAME }}

Examples

Unnamed parameters

URL:

https://www.lequipe.fr/Football/FootballFicheJoueur16591.html

Usage:

{{Lequipe | 16591 | Gaël Clichy }}

Output:

Gaël Clichy at L'Équipe Football (in French)

Named parameters

URL:

https://www.lequipe.fr/Football/FootballFicheJoueur20042.html

Usage:

{{Lequipe | id= 20042 | name= Mathieu Debuchy }}

Output:

Mathieu Debuchy at L'Équipe Football (in French)

No parameters and Wikidata property not defined

Usage:

{{Lequipe}}

Output:

Lequipe/doc at L'Équipe Football (in French)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Lequipe

<templatedata> {

 "description": "This template displays an external link to an association football (soccer) player's statistics at the L'Équipe Football website (www.lequipe.fr/Football/). It is intended for use in the external links section of an article.",
 "params": {
   "id": {
     "label": "id",
     "aliases": ["1"], 
     "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 16591 is the ID portion of https://www.lequipe.fr/Football/FootballFicheJoueur16591.html. This parameter is optional if Wikidata property P3665 exists, but required if not.",
     "type": "number",
     "required": false,
     "default": "Wikidata property P3665"
   },
   "name": {
     "label": "name",
     "aliases": ["2"], 
     "description": "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)\".",
     "type": "string",
     "required": false,
     "default": "Lequipe/doc"
    }
 },
 "paramOrder": [
   "id",
   "name"
 ]

} </templatedata>

Tracking categories

ID parameter exists
ID parameter does not exist