Difference between revisions of "Template:DZFoot"
imported>Zyxw m (update template) |
imported>Monkbot |
||
Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3658}} | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3658}} | ||
− | | [http://www.dzfoot.com/fiche-joueur?id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P3658}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at DZFoot.com {{ | + | | [http://www.dzfoot.com/fiche-joueur?id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P3658}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at DZFoot.com {{in lang|fr}}<includeonly>{{EditAtWikidata|pid=P3658|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P3658|value={{{1|{{{id|}}}}}}|category=DZFoot ID|namespaces=0|nocatsame=1}} |
| <span class="error">{{[[Template:DZFoot|DZFoot]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:DZFoot template missing ID and not in Wikidata]]}} | | <span class="error">{{[[Template:DZFoot|DZFoot]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:DZFoot template missing ID and not in Wikidata]]}} |
Latest revision as of 23:31, 29 December 2019
{{{name}}} at DZFoot.com (in French)Template:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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
The above documentation is transcluded from Template:DZFoot/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |