Difference between revisions of "Template:DZFoot/doc"
imported>Zyxw (add template and category for tracking, note module used) |
imported>Zyxw m (update list, misc formatting) |
||
Line 16: | Line 16: | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} | ||
− | Using [[Wikidata]] property | + | Using [[Wikidata]] property {{Property|3658}}: |
: {{tlcw|{{BASEPAGENAME}}}} | : {{tlcw|{{BASEPAGENAME}}}} | ||
: {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | : {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | ||
Line 23: | Line 23: | ||
=== Unnamed parameters === | === Unnamed parameters === | ||
+ | ''Usage:'' | ||
+ | : {{tlcw|a=1|{{BASEPAGENAME}} | 1889 | Oussama Mesfar }} | ||
+ | |||
+ | ''Output:'' | ||
+ | :* {{{{BASEPAGENAME}} | 1889 | Oussama Mesfar }} | ||
+ | |||
''URL:'' | ''URL:'' | ||
: <kbd>[http://www.dzfoot.com/fiche-joueur?id=1889 http://www.dzfoot.com/fiche-joueur?id={{Hilite|1889}}]</kbd> | : <kbd>[http://www.dzfoot.com/fiche-joueur?id=1889 http://www.dzfoot.com/fiche-joueur?id={{Hilite|1889}}]</kbd> | ||
+ | |||
+ | === Named parameters === | ||
''Usage:'' | ''Usage:'' | ||
− | : {{tlcw|{{BASEPAGENAME}} | | + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 620 | name{{=}} Mohamed Benhamou }} |
+ | |||
''Output:'' | ''Output:'' | ||
− | : {{{{BASEPAGENAME}} | | + | :* {{{{BASEPAGENAME}} | id= 620 | name= Mohamed Benhamou }} |
− | |||
''URL:'' | ''URL:'' | ||
: <kbd>[http://www.dzfoot.com/fiche-joueur?id=620 http://www.dzfoot.com/fiche-joueur?id={{Hilite|620}}]</kbd> | : <kbd>[http://www.dzfoot.com/fiche-joueur?id=620 http://www.dzfoot.com/fiche-joueur?id={{Hilite|620}}]</kbd> | ||
− | |||
− | |||
− | |||
− | |||
=== No parameters and Wikidata property not defined === | === No parameters and Wikidata property not defined === | ||
''Usage:'' | ''Usage:'' | ||
− | : {{tlcw|{{BASEPAGENAME}}}} | + | : {{tlcw|a=1|{{BASEPAGENAME}}}} |
+ | |||
''Output:'' | ''Output:'' | ||
− | : {{{{BASEPAGENAME}}<!-- -->}} | + | :* {{{{BASEPAGENAME}}<!-- -->}} |
== TemplateData == | == TemplateData == | ||
Line 75: | Line 80: | ||
== Tracking categories == | == Tracking categories == | ||
− | + | ; template with ID | |
* {{clc|DZFoot ID different from Wikidata}} | * {{clc|DZFoot ID different from Wikidata}} | ||
* {{clc|DZFoot ID not in Wikidata}} | * {{clc|DZFoot ID not in Wikidata}} | ||
+ | ; template missing ID | ||
+ | * {{clc|DZFoot template missing ID and not in Wikidata}} | ||
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Association football external link templates]] | [[Category:Association football external link templates]] |
Latest revision as of 00:09, 10 May 2019
![]() | This is a documentation subpage for Template:DZFoot. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
![]() | 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.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
Unnamed parameters
Usage:
Output:
- Oussama Mesfar at DZFoot.com (in French)Script error: No such module "EditAtWikidata".Template:WikidataCheck
URL:
Named parameters
Usage:
Output:
- Mohamed Benhamou at DZFoot.com (in French)Script error: No such module "EditAtWikidata".Template:WikidataCheck
URL:
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at DZFoot.com (in French)Script error: No such module "EditAtWikidata".Template:WikidataCheck
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.
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
- template with ID
- template missing ID