Difference between revisions of "Template:Cricinfo/testcases"
Jump to navigation
Jump to search
imported>Zyxw (Undid revision 845577833 by 103.255.7.11 (talk)) |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
Line 4: | Line 4: | ||
''URL:'' | ''URL:'' | ||
− | : < | + | : <kbd>[http://www.espncricinfo.com/ci/content/player/35320.html http://www.espncricinfo.com/ci/content/player/{{hilite|35320}}.html]</kbd> |
''Usage:'' | ''Usage:'' | ||
Line 19: | Line 19: | ||
''URL:'' | ''URL:'' | ||
− | : < | + | : <kbd>[http://www.espncricinfo.com/pakistan/content/ground/59011.html http://www.espncricinfo.com/{{hilite|pakistan/content/player/39343}}.html]</kbd> |
''Usage:'' | ''Usage:'' |
Revision as of 06:54, 5 August 2018
![]() | 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: |
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".
Usage with accessdate parameter:
{{Cricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 25 February 2017 }}
- Output: "Sachin Tendulkar". ESPNcricinfo. Retrieved 25 February 2017.
- Sandbox: "Sachin Tendulkar". ESPNcricinfo. Retrieved 25 February 2017.
Using "ref" parameter
URL:
Usage:
{{Cricinfo | ref= pakistan/content/ground/59011 | name= Zafar Ali Stadium }}
- Output: Zafar Ali Stadium at ESPNcricinfoScript error: No such module "EditAtWikidata".
- Sandbox: Zafar Ali Stadium at ESPNcricinfoScript error: No such module "EditAtWikidata".
Usage with ".html" in ref parameter:
{{Cricinfo | ref= pakistan/content/ground/59011.html | name= Zafar Ali Stadium }}
- Output: Zafar Ali Stadium at ESPNcricinfoScript error: No such module "EditAtWikidata".
- Sandbox: Zafar Ali Stadium at ESPNcricinfoScript error: No such module "EditAtWikidata".
Usage with accessdate parameter:
{{Cricinfo | ref= pakistan/content/ground/59011 | name= Zafar Ali Stadium | accessdate= 25 February 2017 }}
- Output: "Zafar Ali Stadium". ESPNcricinfo. Retrieved 25 February 2017.
- Sandbox: "Zafar Ali Stadium". ESPNcricinfo. Retrieved 25 February 2017.