Difference between revisions of "Template:Find a Grave/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add actual test cases that compare live template and sandbox template) |
imported>Zyxw (test for leading/trailing spaces in unnamed parameters) |
||
| Line 2: | Line 2: | ||
{{Test case nowiki|collapsible=yes|format=inline|title=As an external link with unnamed parameters | {{Test case nowiki|collapsible=yes|format=inline|title=As an external link with unnamed parameters | ||
| − | |<nowiki>{{__TEMPLATENAME__|1234|Henri Langlois}}</nowiki>}} | + | |<nowiki>{{__TEMPLATENAME__ | 1234 | Henri Langlois }}</nowiki>}} |
{{Test case nowiki|collapsible=yes|format=inline|title=As an external link with named parameters | {{Test case nowiki|collapsible=yes|format=inline|title=As an external link with named parameters | ||
| − | |<nowiki>{{__TEMPLATENAME__|grid=1234|name=Henri Langlois}}</nowiki>}} | + | |<nowiki>{{__TEMPLATENAME__ | grid = 1234 | name = Henri Langlois }}</nowiki>}} |
| + | |||
| + | {{Test case nowiki|collapsible=yes|format=inline|title=As a reference with two unnamed parameters | ||
| + | |<nowiki>{{__TEMPLATENAME__ | 94078737 | 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=As a reference with named parameters | {{Test case nowiki|collapsible=yes|format=inline|title=As a reference with named parameters | ||
Latest revision as of 09:09, 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 two unnamed parameters |
|---|
|
| As a reference with named parameters |
|---|
|
| No parameters |
|---|
|
| Unnamed parameter with no value |
|---|
|
| Named parameter with no value |
|---|
|