ਫਰਮਾ:Chessgames player
ਦਿੱਖ
{{{name}}}, ਚੈੱਸਗੇਮਜ਼.ਕਾਮ 'ਤੇ ਖਿਡਾਰੀ ਪ੍ਰੋਫਾਈਲ ਅਤੇ ਗੇਮਾਂ
ਇਹ ਫਰਮਾ ਵਿਕੀਡਾਟਾ ਪ੍ਰੌਪਰਟੀ:
ਦੀ ਵਰਤੋਂ ਕਰਦਾ ਹੈ।
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
ਫਰਮਾ: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.
Usage
[ਸੋਧੋ]- Unnamed parameters
{{Chessgames player | ID }}
{{Chessgames player | ID | NAME }}
- Named parameters
{{Chessgames player | id= ID }}
{{Chessgames player | id= ID | 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
-
- Fabiano Caruana, ਚੈੱਸਗੇਮਜ਼.ਕਾਮ 'ਤੇ ਖਿਡਾਰੀ ਪ੍ਰੋਫਾਈਲ ਅਤੇ ਗੇਮਾਂ
- 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
-
- Irina Krush, ਚੈੱਸਗੇਮਜ਼.ਕਾਮ 'ਤੇ ਖਿਡਾਰੀ ਪ੍ਰੋਫਾਈਲ ਅਤੇ ਗੇਮਾਂ
- 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
-
- {{Chessgames player}} template missing ID and not present in Wikidata.
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 Template:Chessgames player based on its 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.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
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
[ਸੋਧੋ]- template with ID
- Category:Chessgames player template with ID different from Wikidata (0)
- Category:Chessgames player template with ID not in Wikidata (0)
- template missing ID