Difference between revisions of "Template:Cricinfo/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update)
imported>Zyxw
(update)
Line 3: Line 3:
 
== Using "id" parameter ==
 
== Using "id" parameter ==
  
 +
''URL:''
 +
* http://www.espncricinfo.com/ci/content/player/35320.html
 
''Usage:''
 
''Usage:''
* <code><nowiki>{{</nowiki>Cricinfo | id= 39343 | name= Abdul Aziz }}</code>
+
* <code><nowiki>{{</nowiki>Cricinfo | id= 35320 | name= Sachin Tendulkar }}</code>
 
''Output:''
 
''Output:''
* {{Cricinfo | id= 39343 | name= Abdul Aziz }}
+
* {{Cricinfo | id= 35320 | name= Sachin Tendulkar }}
 
''Sandbox:''
 
''Sandbox:''
* {{Cricinfo/sandbox | id= 39343 | name= Abdul Aziz }}
+
* {{Cricinfo/sandbox | id= 35320 | name= Sachin Tendulkar }}
  
  
Line 14: Line 16:
  
 
=== without .html ===
 
=== without .html ===
 +
''URL:''
 +
* http://www.espncricinfo.com/pakistan/content/player/39343.html
 
''Usage:''
 
''Usage:''
 
* <code><nowiki>{{</nowiki>Cricinfo | ref= pakistan/content/player/39343 | name= Abdul Aziz }}</code>
 
* <code><nowiki>{{</nowiki>Cricinfo | ref= pakistan/content/player/39343 | name= Abdul Aziz }}</code>
Line 22: Line 26:
  
 
=== with .html ===
 
=== with .html ===
 +
''URL:''
 +
* http://www.espncricinfo.com/pakistan/content/player/39343.html
 
''Usage:''
 
''Usage:''
 
* <code><nowiki>{{</nowiki>Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }}</code>
 
* <code><nowiki>{{</nowiki>Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }}</code>
Line 31: Line 37:
  
 
== Using "accessdate" parameter ==
 
== Using "accessdate" parameter ==
 
+
''URL:''
 +
* http://www.espncricinfo.com/ci/content/player/35320.html
 
''Usage:''
 
''Usage:''
* <code><nowiki>{{</nowiki>Cricinfo | id= 39343 | name= Abdul Aziz | accessdate= 1 May 2013}}</code>
+
* <code><nowiki>{{</nowiki>Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013}}</code>
 
''Output:''
 
''Output:''
* {{Cricinfo | id= 39343 | name= Abdul Aziz | accessdate= 1 May 2013 }}
+
* {{Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013 }}
 
''Sandbox:''
 
''Sandbox:''
* {{Cricinfo/sandbox | id= 39343 | name= Abdul Aziz | accessdate= 1 May 2013 }}
+
* {{Cricinfo/sandbox | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013 }}
 +
''Comparison to output of {{tl|cite web}}''
 +
* {{cite web |url= http://www.espncricinfo.com/ci/content/player/35320.html |title= Player profile: Sachin Tendulkar |work= [[ESPNcricinfo]] |accessdate= 1 May 2013 }}

Revision as of 23:43, 18 January 2014

Using "id" parameter

URL:

Usage:

  • {{Cricinfo | id= 35320 | name= Sachin Tendulkar }}

Output:

Sandbox:


Using "ref" parameter

without .html

URL:

Usage:

  • {{Cricinfo | ref= pakistan/content/player/39343 | name= Abdul Aziz }}

Output:

Sandbox:

with .html

URL:

Usage:

  • {{Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }}

Output:

Sandbox:


Using "accessdate" parameter

URL:

Usage:

  • {{Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013}}

Output:

Sandbox:

Comparison to output of {{cite web}}

  • "Player profile: Sachin Tendulkar". ESPNcricinfo. Retrieved 1 May 2013.