Difference between revisions of "Template:Cricinfo/testcases"
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= | + | * <code><nowiki>{{</nowiki>Cricinfo | id= 35320 | name= Sachin Tendulkar }}</code> |
''Output:'' | ''Output:'' | ||
| − | * {{Cricinfo | id= | + | * {{Cricinfo | id= 35320 | name= Sachin Tendulkar }} |
''Sandbox:'' | ''Sandbox:'' | ||
| − | * {{Cricinfo/sandbox | id= | + | * {{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= | + | * <code><nowiki>{{</nowiki>Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013}}</code> |
''Output:'' | ''Output:'' | ||
| − | * {{Cricinfo | id= | + | * {{Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013 }} |
''Sandbox:'' | ''Sandbox:'' | ||
| − | * {{Cricinfo/sandbox | id= | + | * {{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
| 42px | This is the template test cases page for the sandbox of Template:Cricinfo. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Using "id" parameter
URL:
Usage:
{{Cricinfo | id= 35320 | name= Sachin Tendulkar }}
Output:
- Sachin Tendulkar at ESPNcricinfoScript error: No such module "EditAtWikidata".
Sandbox:
- Sachin Tendulkar at ESPNcricinfoScript error: No such module "EditAtWikidata".
Using "ref" parameter
without .html
URL:
Usage:
{{Cricinfo | ref= pakistan/content/player/39343 | name= Abdul Aziz }}
Output:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
Sandbox:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
with .html
URL:
Usage:
{{Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }}
Output:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
Sandbox:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
Using "accessdate" parameter
URL:
Usage:
{{Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 1 May 2013}}
Output:
- "Sachin Tendulkar". ESPNcricinfo. Retrieved 1 May 2013.
Sandbox:
- "Sachin Tendulkar". ESPNcricinfo. Retrieved 1 May 2013.
Comparison to output of {{cite web}}
- "Player profile: Sachin Tendulkar". ESPNcricinfo. Retrieved 1 May 2013.