Difference between revisions of "Template:ForaDeJogo/doc"
imported>Zyxw (add category) |
imported>Jonesey95 |
||
| (One intermediate revision by one other user not shown) | |||
| Line 26: | Line 26: | ||
=== Unnamed parameters === | === Unnamed parameters === | ||
''URL:'' | ''URL:'' | ||
| − | : < | + | : <code>[https://www.foradejogo.net/player.php?player=194201250001&language=2 https://www.foradejogo.net/player.php?player={{hilite|194201250001}}&language=2]</code> |
''Usage:'' | ''Usage:'' | ||
: {{tlcw|{{BASEPAGENAME}} | 194201250001 | Eusébio da Silva Ferreira }} | : {{tlcw|{{BASEPAGENAME}} | 194201250001 | Eusébio da Silva Ferreira }} | ||
| Line 34: | Line 34: | ||
=== Named parameters === | === Named parameters === | ||
''URL:'' | ''URL:'' | ||
| − | : < | + | : <code>[https://www.foradejogo.net/player.php?player=197203290003&language=2 https://www.foradejogo.net/player.php?player={{hilite|197203290003}}&language=2]</code> |
''Usage:'' | ''Usage:'' | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 197203290003 | name{{=}} Rui Costa | accessdate{{=}} {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} 197203290003 | name{{=}} Rui Costa | accessdate{{=}} {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | ||
| Line 85: | Line 85: | ||
==Tracking categories== | ==Tracking categories== | ||
| − | ; | + | ; ID parameter exists |
| + | * {{clc|ForaDeJogo player ID different from Wikidata}} | ||
* {{clc|ForaDeJogo player ID not in Wikidata}} | * {{clc|ForaDeJogo player ID not in Wikidata}} | ||
| − | + | ; ID parameter does not exist | |
| − | |||
| − | |||
* {{clc|ForaDeJogo template missing ID}} | * {{clc|ForaDeJogo template missing ID}} | ||
Latest revision as of 02:05, 3 June 2020
| This is a documentation subpage for Template:ForaDeJogo. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:Uses Wikidata Template:Tracks Wikidata
Template:ForaDeJogo displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P3046:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Eusébio da Silva Ferreira at ForaDeJogoScript error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
URL:
Usage:
Output:
- Rui Costa at ForaDeJogo. Retrieved 3 May 2026.Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at ForaDeJogoScript error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for ForaDeJogo
This template displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 194201250001 is the ID portion of https://www.foradejogo.net/player.php?player=194201250001&language=2. This parameter is optional if Wikidata property P3046 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)".
| String | optional |
| accessdate | accessdate access-date | The "accessdate" or "access-date" parameter may be used to specify the date when the ForaDeJogo profile was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional. | Date | optional |
Tracking categories
- ID parameter exists
- Category:ForaDeJogo player ID different from Wikidata (0)
- Category:ForaDeJogo player ID not in Wikidata (0)
- ID parameter does not exist
See also