Difference between revisions of "Template:ForaDeJogo manager/doc"
imported>Zyxw (update documentation and examples, add TemplateData, note use of Wikidata property P3661 if no "id".) |
imported>Zyxw (misc updates + see also) |
||
| Line 4: | Line 4: | ||
{{Lua|Module:EditAtWikidata}} | {{Lua|Module:EditAtWikidata}} | ||
| − | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ( | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] (soccer) coach or manager's page at [https://www.foradejogo.net/ ForaDeJogo.net]. |
== Usage == | == Usage == | ||
| Line 49: | Line 49: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "This template displays an external link to an association football (soccer) coach or manager's | + | "description": "This template displays an external link to an association football (soccer) coach or manager's page at ForaDeJogo.net.", |
"params": { | "params": { | ||
"id": { | "id": { | ||
"label": "id", | "label": "id", | ||
"aliases": ["1"], | "aliases": ["1"], | ||
| − | "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 10439 is the ID portion of https://www.foradejogo.net/manager.php?manager=10439&language=2. | + | "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 10439 is the ID portion of https://www.foradejogo.net/manager.php?manager=10439&language=2. This parameter is optional if Wikidata property P3661 exists, but required if not.", |
"type": "number", | "type": "number", | ||
"required": false, | "required": false, | ||
| Line 62: | Line 62: | ||
"label": "name", | "label": "name", | ||
"aliases": ["2"], | "aliases": ["2"], | ||
| − | "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify the link text, which should be the name of the | + | "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify the link text, which should be the name of the coach or manager. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\" or \"(soccer)\".", |
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| Line 68: | Line 68: | ||
}, | }, | ||
"accessdate": { | "accessdate": { | ||
| − | "label": " | + | "label": "access date", |
"aliases": ["access-date"], | "aliases": ["access-date"], | ||
"description": "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.", | "description": "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.", | ||
| Line 85: | Line 85: | ||
==See also== | ==See also== | ||
* [[Template:ForaDeJogo]] | * [[Template:ForaDeJogo]] | ||
| + | ; Other coach/manager templates: | ||
| + | * [[Template:BDFutbol manager]] | ||
| + | * [[Template:TheFinalBall manager]] | ||
| + | * [[Template:Soccerbase manager]] | ||
| + | * [[Template:Soccerway coach]] | ||
| + | * [[Template:TFF coach]] | ||
| + | * [[Template:UEFA coach]] | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 19:32, 29 May 2017
| 40px | This is a documentation subpage for Template:ForaDeJogo manager. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:ForaDeJogo manager displays an external link to an association football (soccer) coach or manager's page at ForaDeJogo.net.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P3661:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Toni manager stats at ForaDeJogoScript error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
Output:
- Daniel Kenedy manager stats at ForaDeJogo. Retrieved 20 August 2026.Script error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE manager stats at ForaDeJogoScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for ForaDeJogo manager
This template displays an external link to an association football (soccer) coach or manager's page 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: 10439 is the ID portion of https://www.foradejogo.net/manager.php?manager=10439&language=2. This parameter is optional if Wikidata property P3661 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 coach or manager. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
| access date | 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 |
See also
- Other coach/manager templates
- Template:BDFutbol manager
- Template:TheFinalBall manager
- Template:Soccerbase manager
- Template:Soccerway coach
- Template:TFF coach
- Template:UEFA coach