Difference between revisions of "Template:Cricinfo/testcases"
Jump to navigation
Jump to search
imported>Zyxw (update) |
imported>Zyxw (update) |
||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | == | + | == Using "id" parameter == |
| − | |||
''Usage:'' | ''Usage:'' | ||
| − | * <code><nowiki>{{</nowiki>Cricinfo | | + | * <code><nowiki>{{</nowiki>Cricinfo | id= 39343 | name= Abdul Aziz }}</code> |
''Output:'' | ''Output:'' | ||
| − | * {{Cricinfo | | + | * {{Cricinfo | id= 39343 | name= Abdul Aziz }} |
''Sandbox:'' | ''Sandbox:'' | ||
| − | * {{Cricinfo/sandbox | | + | * {{Cricinfo/sandbox | id= 39343 | name= Abdul Aziz }} |
| + | |||
| + | |||
| + | == Using "ref" parameter == | ||
| − | === without .html | + | === without .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 19: | Line 21: | ||
* {{Cricinfo/sandbox | ref= pakistan/content/player/39343 | name= Abdul Aziz }} | * {{Cricinfo/sandbox | ref= pakistan/content/player/39343 | name= Abdul Aziz }} | ||
| − | + | === with .html === | |
| − | |||
| − | === with .html | ||
''Usage:'' | ''Usage:'' | ||
| − | * <code><nowiki>{{</nowiki>Cricinfo | pakistan/content/player/39343.html | Abdul Aziz }}</code> | + | * <code><nowiki>{{</nowiki>Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }}</code> |
''Output:'' | ''Output:'' | ||
| − | * {{Cricinfo | pakistan/content/player/39343.html | Abdul Aziz }} | + | * {{Cricinfo | ref= pakistan/content/player/39343.html | name= Abdul Aziz }} |
''Sandbox:'' | ''Sandbox:'' | ||
| − | * {{Cricinfo/sandbox | pakistan/content/player/39343.html | | + | * {{Cricinfo/sandbox | ref= pakistan/content/player/39343.html | name= Abdul Aziz }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 17:30, 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: |
Using "id" parameter
Usage:
{{Cricinfo | id= 39343 | name= Abdul Aziz }}
Output:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
Sandbox:
- Abdul Aziz at ESPNcricinfoScript error: No such module "EditAtWikidata".
Using "ref" parameter
without .html
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
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".