Template:DZFoot/doc
| icon | 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. |
| File:Lua-Logo.svg | 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 source]- Unnamed parameters
{{DZFoot | ID }}{{DZFoot | ID | NAME }}
- Named parameters
{{DZFoot | id= ID }}{{DZFoot | id= ID | name= NAME }}
- Using Wikidata property
{{DZFoot}}{{DZFoot | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- 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 source]- 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 source]- Usage
* {{DZFoot}}
- Output
-
- DZFoot/doc at DZFoot.com (in French)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]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 number in the player's URL, such as 1889 in 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 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 source]- template with ID
- template missing ID