قالب:Fed Cup player/doc
This is a documentation subpage for قالب:Fed Cup player. It may contain usage information, categories and other content that is not part of the original قالب page. |
This template uses Lua: |
قالب:Fed Cup player displays an external link to a tennis player's profile at FedCup.com, the official website of the Fed Cup. It is intended for use in the external links section of an article.
Usage
تعديلUnnamed parameters:
{{Fed Cup player | ID }}
{{Fed Cup player | ID | NAME }}
Named parameters:
{{Fed Cup player | id= ID }}
{{Fed Cup player | id= ID | name= NAME }}
Using ويكيداتا property P2642:
{{Fed Cup player}} template missing ID and not present in Wikidata.
{{Fed Cup player | name= NAME }}
Examples
تعديلID in template
تعديلUsage in the article ليندسى داڤينبورت, with article name as link text:
* {{Fed Cup player | 800182335 }}
* {{Fed Cup player | id= 800182335 }}
Usage with name parameter as link text:
* {{Fed Cup player | 800182335 | ليندسى داڤينبورت }}
* {{Fed Cup player | id= 800182335 | name= ليندسى داڤينبورت }}
Output:
URLs:
- https://www.fedcup.com/en/players/player.aspx?id=800182335
- http://www.fedcup.com/en/players/player/profile.aspx?playerid=20001736 (former ID, archived 2016-04-23)
ID in Wikidata
تعديلUsage in the article Zhang Shuai:
* {{Fed Cup player}} template missing ID and not present in Wikidata.
* {{Fed Cup player | name= Zhang Shuai }}
Output:
URL:
- https://www.fedcup.com/en/players/player.aspx?id=800242696
- http://www.fedcup.com/en/players/player/profile.aspx?playerid=100035555 (former ID, archived 2016-03-28)
No ID in template or Wikidata
تعديلUsage:
* {{Fed Cup player}} template missing ID and not present in Wikidata.
Output:
- {{{{BASEPAGENAME}}}}
TemplateData
تعديلTemplateData for Fed Cup player
This template displays an external link to a tennis player's profile at FedCup.com, the official website of the Fed Cup. It is intended for use in the external links section of an article.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 800182335 is the ID portion of https://www.fedcup.com/en/players/player.aspx?id=800182335. This parameter is optional if Wikidata property P2642 exists, but required if not.
| رقم | اختياري |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the tennis player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".
| نص | اختياري |
Tracking categories
تعديل- template with ID
- Category:Fed Cup player template with ID different from Wikidata (0)
- Category:Fed Cup player template with ID not in Wikidata (0)
- template missing ID
Templates and modules used
تعديل- قالب:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
تعديل- {{Davis Cup player}} – external link to player page at the Davis Cup (men's equivalent to Fed Cup)
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{WTA}} – external link to player page at the Women's Tennis Association