Template:ForaDeJogo/doc
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: |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
Template:ForaDeJogo displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.
Usage
Unnamed parameters:
{{ForaDeJogo | ID }}
{{ForaDeJogo | ID | NAME }}
Named parameters:
{{ForaDeJogo | id= ID }}
{{ForaDeJogo | id= ID | name= NAME }}
{{ForaDeJogo | id= ID | name= NAME | accessdate= ACCESS DATE }}
Using Wikidata property P3046:
{{ForaDeJogo}}
{{ForaDeJogo | name= NAME }}
{{ForaDeJogo | name= NAME | accessdate= ACCESS DATE }}
Examples
Unnamed parameters
URL:
Usage:
{{ForaDeJogo | 194201250001 | Eusébio da Silva Ferreira }}
Output:
- Eusébio da Silva Ferreira at ForaDeJogo
Named parameters
URL:
Usage:
{{ForaDeJogo | id= 197203290003 | name= Rui Costa | accessdate= 23 December 2024 }}
Output:
- Rui Costa at ForaDeJogo. Retrieved 23 December 2024.
No parameters and Wikidata property not defined
Usage:
{{ForaDeJogo}}
Output:
- ForaDeJogo/doc at ForaDeJogo
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for ForaDeJogo
<templatedata> {
"description": "This template displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "default": "Wikidata property P3046", "required": false }, "name": { "label": "name", "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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\".", "type": "string", "default": "ForaDeJogo/doc", "required": false }, "accessdate": { "label": "accessdate", "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.", "type": "date", "required": false } }, "paramOrder": [ "id", "name", "accessdate" ]
} </templatedata>
Tracking categories
- ID parameter exists
- Category:ForaDeJogo player ID different from Wikidata (0)
- Category:ForaDeJogo player ID not in Wikidata (7)
- ID parameter does not exist
Related pages