Jump to content

Template:USCF/doc

From Wikipedia, the free encyclopedia

Template:USCF displays an external link to a chess player's page at the official website of the United States Chess Federation (USCF). It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters
{{USCF | ID }}
{{USCF | ID | NAME }}
Named parameters
{{USCF | id= ID }}
{{USCF | id= ID | name= NAME }}
Using Wikidata property USCF player ID (P3558)
{{USCF}}
{{USCF | name= NAME }}

Examples[edit]

ID in template[edit]

Usage in the article Fabiano Caruana, with article name as link text
* {{USCF | 12743305 }}
* {{USCF | id= 12743305 }}
Usage with name parameter as link text
* {{USCF | 12743305 | Fabiano Caruana }}
* {{USCF | id= 12743305 | name= Fabiano Caruana }}
Output
URLs
https://www.uschess.org/msa/MbrDtlMain.php?12743305
https://www.uschess.org/assets/msa_joomla/MbrDtlMain.php?12743305

ID in Wikidata[edit]

Usage in the article Irina Krush
* {{USCF}}
* {{USCF | name= Irina Krush }}
Output
URLs
https://www.uschess.org/msa/MbrDtlMain.php?12543137
https://www.uschess.org/assets/msa_joomla/MbrDtlMain.php?12543137

No ID in template or Wikidata[edit]

Usage
  • {{USCF}}
Output
  • {{USCF}} template missing ID and not present in Wikidata.

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:USCF in articles based on its TemplateData.

TemplateData for USCF

This template displays an external link to a chess player's page at the official website of the United States Chess Federation (USCF). It is intended for use in the external links section of an article.

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

External links[edit]