Template:Cricinfo/testcases
< Template:Cricinfo
Jump to navigation
Jump to search
Revision as of 06:54, 5 August 2018 by imported>Zyxw (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)
![]() | 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.