Template:DZFoot/doc
This is a documentation subpage for Template:DZFoot. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
-
- Oussama Mesfar at DZFoot.com (in French)
- 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
-
- Mohamed Benhamou at DZFoot.com (in French)
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |
Tracking categories
[edit]- template with ID
- template missing ID