Difference between revisions of "Template:DZFoot/doc"
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
imported>Zyxw (add template and category for tracking, note module used) |
||
| Line 2: | Line 2: | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{Uses Wikidata|P3658}} | {{Uses Wikidata|P3658}} | ||
| − | {{Lua|Module:EditAtWikidata}} | + | {{Tracks Wikidata|P3658}} |
| + | {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | ||
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [http://www.dzfoot.com/ DZfoot.com], a website for [[football in Algeria]]. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [http://www.dzfoot.com/ DZfoot.com], a website for [[football in Algeria]]. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. | ||
| Line 42: | Line 43: | ||
''Output:'' | ''Output:'' | ||
: {{{{BASEPAGENAME}}<!-- -->}} | : {{{{BASEPAGENAME}}<!-- -->}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== TemplateData == | == TemplateData == | ||
| Line 77: | Line 73: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{clc|DZFoot ID same as Wikidata}} | ||
| + | * {{clc|DZFoot ID different from Wikidata}} | ||
| + | * {{clc|DZFoot ID not in Wikidata}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
| Line 83: | Line 84: | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
[[Category:External link templates using Wikidata]] | [[Category:External link templates using Wikidata]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 14:29, 30 September 2018
| 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 P3658:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Oussama Mesfar at DZFoot.com (in French)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
URL:
Usage:
Output:
- Mohamed Benhamou at DZFoot.com (in French)Script error: No such module "EditAtWikidata".Template:WikidataCheck
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
- Category:DZFoot ID same as Wikidata (0)
- Category:DZFoot ID different from Wikidata (0)
- Category:DZFoot ID not in Wikidata (0)