Difference between revisions of "Template:FIDE"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(category tracking)
imported>JJMC89
(done with tracking)
Line 1: Line 1:
[http://ratings.fide.com/card.phtml?event={{Trim|{{{id|{{{1|{{#property:P1440}}}}}}}}}} {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}] rating card at [[FIDE]]<includeonly>{{main other|<!--
+
[http://ratings.fide.com/card.phtml?event={{Trim|{{{id|{{{1|{{#property:P1440}}}}}}}}}} {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}] rating card at [[FIDE]]<includeonly>{{main other|{{#if:{{{id|}}}{{{1|}}}||{{#if:{{#property:P1440}}||[[Category:Fide template with no ID set]]}}}}}}</includeonly><noinclude>
-->{{#if:{{{id|}}}{{{1|}}}||{{#if:{{#property:P1440}}||[[Category:Fide template with no ID set]]}}}}<!--
 
-->{{#if:{{#property:P1440}}
 
|{{#if:{{{id|}}}{{{1|}}}
 
|{{#ifeq:{{#property:P1440}}|{{{id|{{{1|}}}}}}
 
|[[Category:Fide template with local ID same as on Wikidata]]<!-- Match -->
 
|[[Category:Fide template with local ID different than on Wikidata]]<!-- Conflict -->
 
}}
 
|<!-- Migration complete (property but no id) -->
 
}}
 
|[[Category:Fide template without an ID on Wikidata]]<!-- Need importing -->
 
}}<!--
 
-->}}</includeonly><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 02:02, 1 August 2016

Template:PAGENAMEBASE rating card at FIDE

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

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:

  1. {{FIDE | 2020009 }}
    Template:PAGENAMEBASE rating card at FIDE
  2. {{FIDE | id= 2020009 }}
    Template:PAGENAMEBASE rating card at FIDE

Two parameters:

  1. {{FIDE | 2020009 | Fabiano Caruana }}
    Fabiano Caruana rating card at FIDE
  2. {{FIDE | id= 2020009 | name= Fabiano Caruana }}
    Fabiano Caruana rating card at FIDE

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID number used in the URL.

Numberoptional
Namename 2

Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

Tracking categories