Difference between revisions of "Template:FIDE/doc"
Jump to navigation
Jump to search
imported>John of Reading |
imported>Zyxw m (module note) |
||
| Line 3: | Line 3: | ||
{{Uses Wikidata|P1440}} | {{Uses Wikidata|P1440}} | ||
{{Tracks Wikidata|P1440}} | {{Tracks Wikidata|P1440}} | ||
| + | {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | ||
This template generates an external link to a chess player's page at [[FIDE]]. | This template generates an external link to a chess player's page at [[FIDE]]. | ||
| Line 68: | Line 69: | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
[[Category:Sports governing body external link templates]] | [[Category:Sports governing body external link templates]] | ||
| + | [[Category:External link templates using Wikidata]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
| − | |||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 04:32, 10 May 2019
| This is a documentation subpage for Template:FIDE. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
| This template uses Lua: |
This template generates an external link to a chess player's page at FIDE.
Usage
- No parameters (uses ID from Wikidata and page name)
{{FIDE}}
- One parameter
{{FIDE | ID }}{{FIDE | id= ID }}
- Two parameters
{{FIDE | ID | NAME }}{{FIDE | id= ID | name= NAME }}
Examples
http://ratings.fide.com/card.phtml?event=2020009
One parameter:
{{FIDE | 2020009 }}- Template:PAGENAMEBASE rating card at FIDEScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{FIDE | id= 2020009 }}- Template:PAGENAMEBASE rating card at FIDEScript error: No such module "EditAtWikidata".Template:WikidataCheck
Two parameters:
{{FIDE | 2020009 | Fabiano Caruana }}- Fabiano Caruana rating card at FIDEScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{FIDE | id= 2020009 | name= Fabiano Caruana }}- Fabiano Caruana rating card at FIDEScript error: No such module "EditAtWikidata".Template:WikidataCheck
Template data
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 FIDE
This template generates an external link to a chess player's page at FIDE.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID number used in the URL. | Number | optional |
| Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
Tracking categories
- Category:FIDE ID not in Wikidata (0)
- Category:FIDE ID different from Wikidata (0)
- Category:FIDE ID same as Wikidata (0)
- Category:Fide template with no ID set (exists in template, not created)