ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Chessgames player/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

ਫਰਮਾ:Chessgames player displays an external link to a chess player's page at Chessgames.com. It is intended for use in the external links section of an article.

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

Examples

[ਸੋਧੋ]

ID in template

[ਸੋਧੋ]
Usage in the article Fabiano Caruana, with article name as link text
* {{Chessgames player | 76172 }}
* {{Chessgames player | id= 76172 }}
Usage with name parameter as link text
* {{Chessgames player | 76172 | Fabiano Caruana }}
* {{Chessgames player | id= 76172 | name= Fabiano Caruana }}
Output
URL using numeric ID
https://www.chessgames.com/perl/chessplayer?pid=76172
Other URL for same page
https://www.chessgames.com/player/fabiano_caruana.html

ID in Wikidata

[ਸੋਧੋ]
Usage in the article Irina Krush
* {{Chessgames player}}
* {{Chessgames player | name= Irina Krush }}
Output
URL using numeric ID
https://www.chessgames.com/perl/chessplayer?pid=49592
Other URL for same page
https://www.chessgames.com/player/irina_krush.html

No ID in template or Wikidata

[ਸੋਧੋ]
Usage
  • {{Chessgames player}}
Output

TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Chessgames player

This template displays an external link to a chess player's page at Chessgames.com. It is intended for use in the external links section of an article.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
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

[ਸੋਧੋ]
template with ID
template missing ID

See also

[ਸੋਧੋ]