Difference between revisions of "Template:CFF player/doc"
imported>Zyxw (update URLs) |
imported>Zyxw (add link) |
||
| Line 4: | Line 4: | ||
{{Lua|Module:EditAtWikidata}} | {{Lua|Module:EditAtWikidata}} | ||
| − | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's page at the [[Croatian Football Federation]] website ([http://hns-cff.hr/ hns-cff.hr]). 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 page at the [[Croatian Football Federation]] website ([http://hns-cff.hr/en/ hns-cff.hr]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article. |
== Usage == | == Usage == | ||
| Line 49: | Line 49: | ||
''Output:'' | ''Output:'' | ||
: {{{{BASEPAGENAME}}<!-- -->}} | : {{{{BASEPAGENAME}}<!-- -->}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== TemplateData == | == TemplateData == | ||
| Line 84: | Line 79: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{clc|CFF player ID not in Wikidata}} | ||
| + | * {{clc|CFF player ID different from Wikidata}} | ||
| + | * {{clc|CFF player ID same as Wikidata}} | ||
| + | |||
| + | == See also == | ||
| + | * [[Template:Hrnogomet]] for links to [[Croatian First Football League]] players at Hrnogomet.com | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 05:59, 21 June 2018
| 40px | This is a documentation subpage for Template:CFF player. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:CFF player displays an external link to an association football (soccer) player's page at the Croatian Football Federation website (hns-cff.hr). It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P3577:
Examples
Unnamed parameters
URLs:
Usage:
Output:
- Vedran Ćorluka at the Croatian Football FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
URLs:
- http://hns-cff.hr/en/players/136326/jorge-sammir-cruz-campos/
- http://hns-cff.hr/players/136326/jorge-sammir-cruz-campos/
Usage:
Output:
- Jorge Sammir Cruz Campos at the Croatian Football FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at the Croatian Football FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for CFF player
This template displays an external link to an association football (soccer) player's page at the Croatian Football Federation website (hns-cff.hr). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 14831/vedran-corluka is the ID portion of http://hns-cff.hr/en/players/14831/vedran-corluka/. This parameter is optional if Wikidata property P3577 exists, but required if not.
| String | 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:CFF player ID not in Wikidata (0)
- Category:CFF player ID different from Wikidata (0)
- Category:CFF player ID same as Wikidata (0)
See also
- Template:Hrnogomet for links to Croatian First Football League players at Hrnogomet.com