Difference between revisions of "Template:Find a Grave/testcases"
Jump to navigation
Jump to search
imported>Rich Farmbrough (←Created page with '* {{Find a Grave|1122|Fred|accessdate=12 July 1901|date=11 July 1902|work=Register of Commonwealth Graves}}') |
imported>Zyxw (add actual test cases that compare live template and sandbox template) |
||
| Line 1: | Line 1: | ||
| − | + | {{Testcases notice <!--|toc=on-->}} | |
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=As an external link with unnamed parameters | ||
| + | |<nowiki>{{__TEMPLATENAME__|1234|Henri Langlois}}</nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=As an external link with named parameters | ||
| + | |<nowiki>{{__TEMPLATENAME__|grid=1234|name=Henri Langlois}}</nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=As a reference with named parameters | ||
| + | |<nowiki>{{__TEMPLATENAME__ | grid = 94078737 | name = Sally Kristen Ride | date = July 23, 2012 | accessdate = June 17, 2017 | last = Daniluke | first = Marc J. | work = American Astronaut }}</nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=No parameters | ||
| + | |<nowiki>{{__TEMPLATENAME__}}</nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=Unnamed parameter with no value | ||
| + | |<nowiki>{{__TEMPLATENAME__|}}</nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=Named parameter with no value | ||
| + | |<nowiki>{{__TEMPLATENAME__|grid=}}</nowiki>}} | ||
Revision as of 08:16, 17 June 2017
| This is the template test cases page for the sandbox of Template:Find a Grave. 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: |
| As an external link with unnamed parameters |
|---|
|
| As an external link with named parameters |
|---|
|
| As a reference with named parameters |
|---|
|
| No parameters |
|---|
|
| Unnamed parameter with no value |
|---|
|
| Named parameter with no value |
|---|
|