Jump to content

Template:DZFoot/doc

From Wikipedia, the free encyclopedia

Template:DZFoot displays an external link to an association football (soccer) player's profile at DZfoot.com, a website for football in Algeria. It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{DZFoot | ID }}
{{DZFoot | ID | NAME }}

Named parameters:

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

Using Wikidata property DZFoot.com player ID (P3658):

{{DZFoot}}
{{DZFoot | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{DZFoot | 1889 | Oussama Mesfar }}
Output
URL
http://www.dzfoot.com/fiche-joueur?id=1889
Former URL
http://www.dzfoot.com/joueur.php?joueur_id=1889&saison_id=16 (archived 2012-09-17)

Named parameters

[edit]
Usage
* {{DZFoot | id= 620 | name= Mohamed Benhamou }}
Output
URL
http://www.dzfoot.com/fiche-joueur?id=620
Former URL
http://www.dzfoot.com/joueur.php?joueur_id=620&saison_id=15 (archived 2010-08-14)

No parameters and Wikidata property not defined

[edit]
Usage
* {{DZFoot}}
Output
  • {{DZFoot}} 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:DZFoot in articles based on its TemplateData.

TemplateData for DZFoot

This template displays an external link to an association football (soccer) player's profile at DZfoot.com, a website for football in Algeria. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter should contain the ID portion of player's URL. Examples: "1889" is the ID portion of http://www.dzfoot.com/fiche-joueur?id=1889. This parameter is optional if Wikidata property P3658 exists, but required if not.

Default
Wikidata property P3658
Numberoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
template missing ID