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