Difference between revisions of "Template:ForaDeJogo/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update documentation and examples, add TemplateData)
imported>Zyxw
(add category)
Line 99: Line 99:
 
[[Category:Association football external link templates]]
 
[[Category:Association football external link templates]]
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]
 +
[[Category:External link templates with accessdate parameter]]
 +
[[Category:External link templates using Wikidata]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
[[Category:External link templates using Wikidata]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 16:46, 14 August 2017

Template:Uses Wikidata Template:Tracks Wikidata

Template:ForaDeJogo displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Using Wikidata property P3046:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

https://www.foradejogo.net/player.php?player=194201250001&language=2

Usage:

Template:Tlcw

Output:

Eusébio da Silva Ferreira at ForaDeJogoScript error: No such module "EditAtWikidata".Template:WikidataCheck

Named parameters

URL:

https://www.foradejogo.net/player.php?player=197203290003&language=2

Usage:

Template:Tlcw

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:

Template:Tlcw

Output:

Template:PAGENAMEBASE at ForaDeJogoScript error: No such module "EditAtWikidata".Template:WikidataCheck

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

This template displays an external link to an association football (soccer) player's profile at ForaDeJogo.net.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P3046
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
accessdateaccessdate 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.

Dateoptional

Tracking categories

"id" parameter exists
"id" parameter does not exist

See also