साँचा:Yahoo! Cricket
साँचा:Yahoo! Cricket displays an external link to a Yahoo! Cricket web page for a cricket player.
Usage
[संपादित करें]Using "id" parameter
[संपादित करें]{{Yahoo! Cricket|id=ID}}{{Yahoo! Cricket|id=ID|name=NAME}}
Using "ref" parameter
[संपादित करें]{{Yahoo! Cricket|ref=REF}}{{Yahoo! Cricket|ref=REF|name=NAME}}
TemplateData
[संपादित करें]TemplateData for Yahoo! Cricket
This template displays an external link to a Yahoo! Cricket web page for a cricket player.
| पैरामीटर | विवरण | प्रकार | स्थिति | |
|---|---|---|---|---|
| ID | id | ID number in URL of a player's Yahoo! Cricket web page. Example: 2962 is the ID number in http://cricket.yahoo.com/cricket/profile/player-profile?pid=2962
| संख्या | आवश्यक |
| REF | ref | Portion of URL specific to a player's Yahoo! Cricket web page (currently everything after http://cricket.yahoo.com/). Not required if ID is specified. Examples: player-profile/Sachin-Tendulkar_2962 OR cricket/profile/player-profile?pid=2962
| स्ट्रिंग | वैकल्पिक |
| NAME | name | Name of cricket player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (cricketer).
| स्ट्रिंग | वैकल्पिक |
Examples
[संपादित करें]Using "id" parameter
[संपादित करें]URL:
Usage:
{{Yahoo! Cricket |id= 2962 |name= Sachin Tendulkar }}
Output:
Using "ref" parameter
[संपादित करें]URL:
Usage:
{{Yahoo! Cricket |ref= player-profile/Sachin-Tendulkar_2962 |name= Sachin Tendulkar }}
Output:
See also
[संपादित करें]{{Cricinfo}}, which uses a similar format{{Cricketarchive}}, which uses a similar format
| ऊपर दिए गए निर्देश साँचा:Yahoo! Cricket/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |